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 SubjectStatementImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectStatement,
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.SubjectStatement.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 "SubjectStatement";
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.SubjectStatementImpl.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: "SubjectStatement");
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.SubjectStatement.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\u001dcom.sun.msv.g"
080: + "rammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsr\u0000 com."
081: + "sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gramm"
082: + "ar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean"
083: + "\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000"
084: + "\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\u0012psr\u00002com.su"
085: + "n.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
086: + "\u0004sq\u0000~\u0000\u0011\u0001q\u0000~\u0000\u0016sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
087: + "xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.ms"
088: + "v.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0017"
089: + "q\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlo"
090: + "calNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001exq\u0000~\u0000\u0019t\u00003com"
091: + ".sun.xml.wss.saml.internal.saml11.jaxb10.Subjectt\u0000+http://ja"
092: + "va.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000"
093: + "sq\u0000~\u0000\nppsq\u0000~\u0000\u000eq\u0000~\u0000\u0012psq\u0000~\u0000\u0013q\u0000~\u0000\u0012pq\u0000~\u0000\u0016q\u0000~\u0000\u001aq\u0000~\u0000\u001csq\u0000~\u0000\u001dt\u00007com."
094: + "sun.xml.wss.saml.internal.saml11.jaxb10.SubjectTypeq\u0000~\u0000!sq\u0000~"
095: + "\u0000\nppsq\u0000~\u0000\u0013q\u0000~\u0000\u0012psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000"
096: + "\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000"
097: + "\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.dataty"
098: + "pe.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.Buil"
099: + "tinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Concret"
100: + "eType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000"
101: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001eL\u0000\btypeNameq\u0000~\u0000\u001eL\u0000\nwhiteSpacet"
102: + "\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://"
103: + "www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xs"
104: + "d.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.dat"
105: + "atype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gr"
106: + "ammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0012psr\u0000"
107: + "\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001eL\u0000\fn"
108: + "amespaceURIq\u0000~\u0000\u001expq\u0000~\u00007q\u0000~\u00006sq\u0000~\u0000\u001dt\u0000\u0004typet\u0000)http://www.w3.or"
109: + "g/2001/XMLSchema-instanceq\u0000~\u0000\u001csq\u0000~\u0000\u001dt\u0000\u0007Subjectt\u0000%urn:oasis:n"
110: + "ames:tc:SAML:1.0:assertionsq\u0000~\u0000\nppsq\u0000~\u0000\u0013q\u0000~\u0000\u0012pq\u0000~\u0000/q\u0000~\u0000?q\u0000~\u0000"
111: + "\u001csq\u0000~\u0000\u001dt\u0000\u0010SubjectStatementq\u0000~\u0000Dsr\u0000\"com.sun.msv.grammar.Expre"
112: + "ssionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Expre"
113: + "ssionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPoo"
114: + "l$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$L"
115: + "com/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\t\u0001pq\u0000~\u0000\tq\u0000~\u0000#q\u0000~\u0000\rq\u0000"
116: + "~\u0000%q\u0000~\u0000\u0010q\u0000~\u0000&q\u0000~\u0000*q\u0000~\u0000Eq\u0000~\u0000\u000bx"));
117: }
118: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
119: schemaFragment);
120: }
121:
122: public class Unmarshaller
123: extends
124: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
125:
126: public Unmarshaller(
127: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
128: super (context, "----");
129: }
130:
131: protected Unmarshaller(
132: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
133: int startState) {
134: this (context);
135: state = startState;
136: }
137:
138: public java.lang.Object owner() {
139: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ;
140: }
141:
142: public void enterElement(java.lang.String ___uri,
143: java.lang.String ___local, java.lang.String ___qname,
144: org.xml.sax.Attributes __atts)
145: throws org.xml.sax.SAXException {
146: int attIdx;
147: outer: while (true) {
148: switch (state) {
149: case 1:
150: if (("Subject" == ___local)
151: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
152: spawnHandlerFromEnterElement(
153: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
154: context)), 2, ___uri, ___local,
155: ___qname, __atts);
156: return;
157: }
158: if (("Subject" == ___local)
159: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
160: spawnHandlerFromEnterElement(
161: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
162: context)), 2, ___uri, ___local,
163: ___qname, __atts);
164: return;
165: }
166: spawnHandlerFromEnterElement(
167: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
168: context)), 2, ___uri, ___local,
169: ___qname, __atts);
170: return;
171: case 0:
172: if (("SubjectStatement" == ___local)
173: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
174: context.pushAttributes(__atts, false);
175: state = 1;
176: return;
177: }
178: break;
179: case 3:
180: revertToParentFromEnterElement(___uri, ___local,
181: ___qname, __atts);
182: return;
183: }
184: super .enterElement(___uri, ___local, ___qname, __atts);
185: break;
186: }
187: }
188:
189: public void leaveElement(java.lang.String ___uri,
190: java.lang.String ___local, java.lang.String ___qname)
191: throws org.xml.sax.SAXException {
192: int attIdx;
193: outer: while (true) {
194: switch (state) {
195: case 1:
196: spawnHandlerFromLeaveElement(
197: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
198: context)), 2, ___uri, ___local,
199: ___qname);
200: return;
201: case 2:
202: if (("SubjectStatement" == ___local)
203: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
204: context.popAttributes();
205: state = 3;
206: return;
207: }
208: break;
209: case 3:
210: revertToParentFromLeaveElement(___uri, ___local,
211: ___qname);
212: return;
213: }
214: super .leaveElement(___uri, ___local, ___qname);
215: break;
216: }
217: }
218:
219: public void enterAttribute(java.lang.String ___uri,
220: java.lang.String ___local, java.lang.String ___qname)
221: throws org.xml.sax.SAXException {
222: int attIdx;
223: outer: while (true) {
224: switch (state) {
225: case 1:
226: spawnHandlerFromEnterAttribute(
227: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
228: context)), 2, ___uri, ___local,
229: ___qname);
230: return;
231: case 3:
232: revertToParentFromEnterAttribute(___uri, ___local,
233: ___qname);
234: return;
235: }
236: super .enterAttribute(___uri, ___local, ___qname);
237: break;
238: }
239: }
240:
241: public void leaveAttribute(java.lang.String ___uri,
242: java.lang.String ___local, java.lang.String ___qname)
243: throws org.xml.sax.SAXException {
244: int attIdx;
245: outer: while (true) {
246: switch (state) {
247: case 1:
248: spawnHandlerFromLeaveAttribute(
249: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
250: context)), 2, ___uri, ___local,
251: ___qname);
252: return;
253: case 3:
254: revertToParentFromLeaveAttribute(___uri, ___local,
255: ___qname);
256: return;
257: }
258: super .leaveAttribute(___uri, ___local, ___qname);
259: break;
260: }
261: }
262:
263: public void handleText(final java.lang.String value)
264: throws org.xml.sax.SAXException {
265: int attIdx;
266: outer: while (true) {
267: try {
268: switch (state) {
269: case 1:
270: spawnHandlerFromText(
271: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementImpl.this ).new Unmarshaller(
272: context)), 2, value);
273: return;
274: case 3:
275: revertToParentFromText(value);
276: return;
277: }
278: } catch (java.lang.RuntimeException e) {
279: handleUnexpectedTextException(value, e);
280: }
281: break;
282: }
283: }
284:
285: }
286:
287: }
|