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 AuthenticationStatementImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatement,
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.AuthenticationStatement.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 "AuthenticationStatement";
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.AuthenticationStatementImpl.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: "AuthenticationStatement");
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.AuthenticationStatement.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\u0004ppsq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0007pps"
080: + "q\u0000~\u0000\u0007ppsq\u0000~\u0000\u0007ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
081: + "q\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsr\u0000 com.sun.msv.grammar.OneOrMoreExp"
082: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003exp"
083: + "q\u0000~\u0000\u0003xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 c"
084: + "om.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tname"
085: + "Classq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0016psr\u00002com.sun.msv.grammar.Expression$Any"
086: + "StringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0015\u0001q\u0000~\u0000\u001asr\u0000 com.sun.msv"
087: + ".grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Name"
088: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsilon"
089: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001bq\u0000~\u0000 sr\u0000#com.sun.msv.grammar"
090: + ".SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;"
091: + "L\u0000\fnamespaceURIq\u0000~\u0000\"xq\u0000~\u0000\u001dt\u00003com.sun.xml.wss.saml.internal.s"
092: + "aml11.jaxb10.Subjectt\u0000+http://java.sun.com/jaxb/xjc/dummy-el"
093: + "ementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u0017q\u0000"
094: + "~\u0000\u0016pq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u00007com.sun.xml.wss.saml.internal.sa"
095: + "ml11.jaxb10.SubjectTypeq\u0000~\u0000%sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0017q\u0000~\u0000\u0016psr\u0000\u001bcom.sun."
096: + "msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/"
097: + "Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPai"
098: + "r;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
099: + "r\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%"
100: + "com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun."
101: + "msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~"
102: + "\u0000\"L\u0000\btypeNameq\u0000~\u0000\"L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/"
103: + "WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005"
104: + "QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collap"
105: + "se\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcesso"
106: + "r\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpr"
107: + "ession\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0016psr\u0000\u001bcom.sun.msv.util.StringPair"
108: + "\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\"L\u0000\fnamespaceURIq\u0000~\u0000\"xpq\u0000~\u0000;q\u0000~\u0000:"
109: + "sq\u0000~\u0000!t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~"
110: + "\u0000 sq\u0000~\u0000!t\u0000\u0007Subjectt\u0000%urn:oasis:names:tc:SAML:1.0:assertionsq"
111: + "\u0000~\u0000\u000eppsq\u0000~\u0000\u000eq\u0000~\u0000\u0016psq\u0000~\u0000\u0000q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u0017q\u0000~"
112: + "\u0000\u0016pq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000;com.sun.xml.wss.saml.internal.sam"
113: + "l11.jaxb10.SubjectLocalityq\u0000~\u0000%sq\u0000~\u0000\u0000q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp"
114: + "\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u0017q\u0000~\u0000\u0016pq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000?com"
115: + ".sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType"
116: + "q\u0000~\u0000%sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0017q\u0000~\u0000\u0016pq\u0000~\u00003q\u0000~\u0000Cq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u000fSubjectLoca"
117: + "lityq\u0000~\u0000Hq\u0000~\u0000 sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u000eq\u0000~\u0000\u0016psq\u0000~\u0000\u0000q\u0000~\u0000\u0016p\u0000s"
118: + "q\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u0017q\u0000~\u0000\u0016pq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000<com.s"
119: + "un.xml.wss.saml.internal.saml11.jaxb10.AuthorityBindingq\u0000~\u0000%"
120: + "sq\u0000~\u0000\u0000q\u0000~\u0000\u0016p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0012q\u0000~\u0000\u0016psq\u0000~\u0000\u0017q\u0000~\u0000"
121: + "\u0016pq\u0000~\u0000\u001aq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000!t\u0000@com.sun.xml.wss.saml.internal.saml"
122: + "11.jaxb10.AuthorityBindingTypeq\u0000~\u0000%sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0017q\u0000~\u0000\u0016pq\u0000~\u00003"
123: + "q\u0000~\u0000Cq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u0010AuthorityBindingq\u0000~\u0000Hq\u0000~\u0000 sq\u0000~\u0000\u0017ppsq\u0000~\u00000p"
124: + "psr\u0000%com.sun.msv.datatype.xsd.DateTimeType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000)com"
125: + ".sun.msv.datatype.xsd.DateTimeBaseType\u0014W\u001a@3\u00a5\u00b4\u00e5\u0002\u0000\u0000xq\u0000~\u00005q\u0000~\u0000:"
126: + "t\u0000\bdateTimeq\u0000~\u0000>q\u0000~\u0000@sq\u0000~\u0000Aq\u0000~\u0000wq\u0000~\u0000:sq\u0000~\u0000!t\u0000\u0015Authentication"
127: + "Instantt\u0000\u0000sq\u0000~\u0000\u0017ppsq\u0000~\u00000ppsr\u0000#com.sun.msv.datatype.xsd.AnyUR"
128: + "IType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00005q\u0000~\u0000:t\u0000\u0006anyURIq\u0000~\u0000>q\u0000~\u0000@sq\u0000~\u0000Aq\u0000~\u0000\u0080q\u0000~"
129: + "\u0000:sq\u0000~\u0000!t\u0000\u0014AuthenticationMethodq\u0000~\u0000{sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0017q\u0000~\u0000\u0016pq\u0000~\u0000"
130: + "3q\u0000~\u0000Cq\u0000~\u0000 sq\u0000~\u0000!t\u0000\u0017AuthenticationStatementq\u0000~\u0000Hsr\u0000\"com.sun."
131: + "msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/"
132: + "msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gram"
133: + "mar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVer"
134: + "sionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u001e\u0001p"
135: + "q\u0000~\u0000\fq\u0000~\u0000]q\u0000~\u0000\nq\u0000~\u0000\'q\u0000~\u0000Rq\u0000~\u0000gq\u0000~\u0000\rq\u0000~\u0000\u0011q\u0000~\u0000)q\u0000~\u0000Lq\u0000~\u0000Tq\u0000~\u0000a"
136: + "q\u0000~\u0000iq\u0000~\u0000\u0014q\u0000~\u0000*q\u0000~\u0000Mq\u0000~\u0000Uq\u0000~\u0000bq\u0000~\u0000jq\u0000~\u0000^q\u0000~\u0000\u000bq\u0000~\u0000.q\u0000~\u0000Yq\u0000~\u0000n"
137: + "q\u0000~\u0000\u0084q\u0000~\u0000Iq\u0000~\u0000\tq\u0000~\u0000\u000fq\u0000~\u0000Jq\u0000~\u0000_x"));
138: }
139: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
140: schemaFragment);
141: }
142:
143: public class Unmarshaller
144: extends
145: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
146:
147: public Unmarshaller(
148: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
149: super (context, "----");
150: }
151:
152: protected Unmarshaller(
153: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
154: int startState) {
155: this (context);
156: state = startState;
157: }
158:
159: public java.lang.Object owner() {
160: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl.this ;
161: }
162:
163: public void enterElement(java.lang.String ___uri,
164: java.lang.String ___local, java.lang.String ___qname,
165: org.xml.sax.Attributes __atts)
166: throws org.xml.sax.SAXException {
167: int attIdx;
168: outer: while (true) {
169: switch (state) {
170: case 3:
171: revertToParentFromEnterElement(___uri, ___local,
172: ___qname, __atts);
173: return;
174: case 0:
175: if (("AuthenticationStatement" == ___local)
176: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
177: context.pushAttributes(__atts, false);
178: state = 1;
179: return;
180: }
181: break;
182: case 1:
183: attIdx = context.getAttribute("",
184: "AuthenticationInstant");
185: if (attIdx >= 0) {
186: context.consumeAttribute(attIdx);
187: context.getCurrentHandler().enterElement(
188: ___uri, ___local, ___qname, __atts);
189: return;
190: }
191: break;
192: }
193: super .enterElement(___uri, ___local, ___qname, __atts);
194: break;
195: }
196: }
197:
198: public void leaveElement(java.lang.String ___uri,
199: java.lang.String ___local, java.lang.String ___qname)
200: throws org.xml.sax.SAXException {
201: int attIdx;
202: outer: while (true) {
203: switch (state) {
204: case 2:
205: if (("AuthenticationStatement" == ___local)
206: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
207: context.popAttributes();
208: state = 3;
209: return;
210: }
211: break;
212: case 3:
213: revertToParentFromLeaveElement(___uri, ___local,
214: ___qname);
215: return;
216: case 1:
217: attIdx = context.getAttribute("",
218: "AuthenticationInstant");
219: if (attIdx >= 0) {
220: context.consumeAttribute(attIdx);
221: context.getCurrentHandler().leaveElement(
222: ___uri, ___local, ___qname);
223: return;
224: }
225: break;
226: }
227: super .leaveElement(___uri, ___local, ___qname);
228: break;
229: }
230: }
231:
232: public void enterAttribute(java.lang.String ___uri,
233: java.lang.String ___local, java.lang.String ___qname)
234: throws org.xml.sax.SAXException {
235: int attIdx;
236: outer: while (true) {
237: switch (state) {
238: case 3:
239: revertToParentFromEnterAttribute(___uri, ___local,
240: ___qname);
241: return;
242: case 1:
243: if (("AuthenticationInstant" == ___local)
244: && ("" == ___uri)) {
245: spawnHandlerFromEnterAttribute(
246: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementImpl.this ).new Unmarshaller(
247: context)), 2, ___uri, ___local,
248: ___qname);
249: return;
250: }
251: break;
252: }
253: super .enterAttribute(___uri, ___local, ___qname);
254: break;
255: }
256: }
257:
258: public void leaveAttribute(java.lang.String ___uri,
259: java.lang.String ___local, java.lang.String ___qname)
260: throws org.xml.sax.SAXException {
261: int attIdx;
262: outer: while (true) {
263: switch (state) {
264: case 3:
265: revertToParentFromLeaveAttribute(___uri, ___local,
266: ___qname);
267: return;
268: case 1:
269: attIdx = context.getAttribute("",
270: "AuthenticationInstant");
271: if (attIdx >= 0) {
272: context.consumeAttribute(attIdx);
273: context.getCurrentHandler().leaveAttribute(
274: ___uri, ___local, ___qname);
275: return;
276: }
277: break;
278: }
279: super .leaveAttribute(___uri, ___local, ___qname);
280: break;
281: }
282: }
283:
284: public void handleText(final java.lang.String value)
285: throws org.xml.sax.SAXException {
286: int attIdx;
287: outer: while (true) {
288: try {
289: switch (state) {
290: case 3:
291: revertToParentFromText(value);
292: return;
293: case 1:
294: attIdx = context.getAttribute("",
295: "AuthenticationInstant");
296: if (attIdx >= 0) {
297: context.consumeAttribute(attIdx);
298: context.getCurrentHandler().text(value);
299: return;
300: }
301: break;
302: }
303: } catch (java.lang.RuntimeException e) {
304: handleUnexpectedTextException(value, e);
305: }
306: break;
307: }
308: }
309:
310: }
311:
312: }
|