001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.5-b16-fcs
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2005.09.05 at 03:09:41 PM IST
006: //
007:
008: package com.sun.xml.wss.saml.internal.saml11.jaxb10.impl;
009:
010: public class EvidenceImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.Evidence,
015: com.sun.xml.bind.RIElement,
016: com.sun.xml.bind.JAXBObject,
017: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject,
018: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable,
019: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject {
020:
021: public final static java.lang.Class version = (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.JAXBVersion.class);
022: private static com.sun.msv.grammar.Grammar schemaFragment;
023:
024: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
025: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.Evidence.class);
026: }
027:
028: public java.lang.String ____jaxb_ri____getNamespaceURI() {
029: return "urn:oasis:names:tc:SAML:1.0:assertion";
030: }
031:
032: public java.lang.String ____jaxb_ri____getLocalName() {
033: return "Evidence";
034: }
035:
036: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
037: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
038: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceImpl.Unmarshaller(
039: context);
040: }
041:
042: public void serializeBody(
043: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
044: throws org.xml.sax.SAXException {
045: context.startElement("urn:oasis:names:tc:SAML:1.0:assertion",
046: "Evidence");
047: super .serializeURIs(context);
048: context.endNamespaceDecls();
049: super .serializeAttributes(context);
050: context.endAttributes();
051: super .serializeBody(context);
052: context.endElement();
053: }
054:
055: public void serializeAttributes(
056: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
057: throws org.xml.sax.SAXException {
058: }
059:
060: public void serializeURIs(
061: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
062: throws org.xml.sax.SAXException {
063: }
064:
065: public java.lang.Class getPrimaryInterface() {
066: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.Evidence.class);
067: }
068:
069: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
070: if (schemaFragment == null) {
071: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
072: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
073: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
074: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
075: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
076: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
077: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
078: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
079: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000 com.sun.msv.g"
080: + "rammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryE"
081: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.grammar.Choi"
082: + "ceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nsr\u0000\u0011java.lang"
083: + ".Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.Attri"
084: + "buteExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0013psr"
085: + "\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
086: + "\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0012\u0001q\u0000~\u0000\u0017sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000"
087: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000co"
088: + "m.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000"
089: + "~\u0000\u0004q\u0000~\u0000\u0018q\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
090: + "\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001fxq\u0000~"
091: + "\u0000\u001at\u0000@com.sun.xml.wss.saml.internal.saml11.jaxb10.AssertionID"
092: + "Referencet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000"
093: + "\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u00005"
094: + "com.sun.xml.wss.saml.internal.saml11.jaxb10.Assertionq\u0000~\u0000\"sq"
095: + "\u0000~\u0000\rppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003"
096: + "L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004name"
097: + "t\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.data"
098: + "type.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Bu"
099: + "iltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concr"
100: + "eteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImp"
101: + "l\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\btypeNameq\u0000~\u0000\u001fL\u0000\nwhiteSpac"
102: + "et\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http:"
103: + "//www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype."
104: + "xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.d"
105: + "atatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv."
106: + "grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0013ps"
107: + "r\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001fL\u0000"
108: + "\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00006q\u0000~\u00005sq\u0000~\u0000\u001et\u0000\u0004typet\u0000)http://www.w3."
109: + "org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\bEvidencet\u0000%urn:oasi"
110: + "s:names:tc:SAML:1.0:assertionsr\u0000\"com.sun.msv.grammar.Express"
111: + "ionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Express"
112: + "ionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$"
113: + "ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lco"
114: + "m/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\b\u0001pq\u0000~\u0000\tq\u0000~\u0000\u0010q\u0000~\u0000$q\u0000~\u0000"
115: + "\u0011q\u0000~\u0000%q\u0000~\u0000)q\u0000~\u0000\fq\u0000~\u0000\u000ex"));
116: }
117: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
118: schemaFragment);
119: }
120:
121: public class Unmarshaller
122: extends
123: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
124:
125: public Unmarshaller(
126: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
127: super (context, "----");
128: }
129:
130: protected Unmarshaller(
131: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
132: int startState) {
133: this (context);
134: state = startState;
135: }
136:
137: public java.lang.Object owner() {
138: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceImpl.this ;
139: }
140:
141: public void enterElement(java.lang.String ___uri,
142: java.lang.String ___local, java.lang.String ___qname,
143: org.xml.sax.Attributes __atts)
144: throws org.xml.sax.SAXException {
145: int attIdx;
146: outer: while (true) {
147: switch (state) {
148: case 3:
149: revertToParentFromEnterElement(___uri, ___local,
150: ___qname, __atts);
151: return;
152: case 1:
153: if (("AssertionIDReference" == ___local)
154: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
155: spawnHandlerFromEnterElement(
156: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceImpl.this ).new Unmarshaller(
157: context)), 2, ___uri, ___local,
158: ___qname, __atts);
159: return;
160: }
161: if (("Assertion" == ___local)
162: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
163: spawnHandlerFromEnterElement(
164: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.EvidenceImpl.this ).new Unmarshaller(
165: context)), 2, ___uri, ___local,
166: ___qname, __atts);
167: return;
168: }
169: break;
170: case 0:
171: if (("Evidence" == ___local)
172: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
173: context.pushAttributes(__atts, false);
174: state = 1;
175: return;
176: }
177: break;
178: }
179: super .enterElement(___uri, ___local, ___qname, __atts);
180: break;
181: }
182: }
183:
184: public void leaveElement(java.lang.String ___uri,
185: java.lang.String ___local, java.lang.String ___qname)
186: throws org.xml.sax.SAXException {
187: int attIdx;
188: outer: while (true) {
189: switch (state) {
190: case 3:
191: revertToParentFromLeaveElement(___uri, ___local,
192: ___qname);
193: return;
194: case 2:
195: if (("Evidence" == ___local)
196: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
197: context.popAttributes();
198: state = 3;
199: return;
200: }
201: break;
202: }
203: super .leaveElement(___uri, ___local, ___qname);
204: break;
205: }
206: }
207:
208: public void enterAttribute(java.lang.String ___uri,
209: java.lang.String ___local, java.lang.String ___qname)
210: throws org.xml.sax.SAXException {
211: int attIdx;
212: outer: while (true) {
213: switch (state) {
214: case 3:
215: revertToParentFromEnterAttribute(___uri, ___local,
216: ___qname);
217: return;
218: }
219: super .enterAttribute(___uri, ___local, ___qname);
220: break;
221: }
222: }
223:
224: public void leaveAttribute(java.lang.String ___uri,
225: java.lang.String ___local, java.lang.String ___qname)
226: throws org.xml.sax.SAXException {
227: int attIdx;
228: outer: while (true) {
229: switch (state) {
230: case 3:
231: revertToParentFromLeaveAttribute(___uri, ___local,
232: ___qname);
233: return;
234: }
235: super .leaveAttribute(___uri, ___local, ___qname);
236: break;
237: }
238: }
239:
240: public void handleText(final java.lang.String value)
241: throws org.xml.sax.SAXException {
242: int attIdx;
243: outer: while (true) {
244: try {
245: switch (state) {
246: case 3:
247: revertToParentFromText(value);
248: return;
249: }
250: } catch (java.lang.RuntimeException e) {
251: handleUnexpectedTextException(value, e);
252: }
253: break;
254: }
255: }
256:
257: }
258:
259: }
|