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 SubjectImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.Subject,
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.Subject.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 "Subject";
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.SubjectImpl.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: "Subject");
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.Subject.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\nppsq\u0000~\u0000\u0007ppsq\u0000~\u0000\npps"
081: + "q\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
082: + "\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000"
083: + "~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.m"
084: + "sv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~"
085: + "\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0015psr\u00002com.sun.msv.grammar.Expression$AnyStringEx"
086: + "pression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0014\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv.grammar"
087: + ".AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000"
088: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpressi"
089: + "on\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar.SimpleN"
090: + "ameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnames"
091: + "paceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u0000:com.sun.xml.wss.saml.internal.saml11.ja"
092: + "xb10.NameIdentifiert\u0000+http://java.sun.com/jaxb/xjc/dummy-ele"
093: + "mentssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~"
094: + "\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000>com.sun.xml.wss.saml.internal.sam"
095: + "l11.jaxb10.NameIdentifierTypeq\u0000~\u0000$sq\u0000~\u0000\nppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015psr\u0000\u001bco"
096: + "m.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dat"
097: + "atype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/Str"
098: + "ingPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000"
099: + "\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
100: + "\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'co"
101: + "m.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespace"
102: + "Uriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatyp"
103: + "e/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSch"
104: + "emat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$"
105: + "Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpacePr"
106: + "ocessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullS"
107: + "etExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0015psr\u0000\u001bcom.sun.msv.util.Stri"
108: + "ngPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xpq\u0000~\u0000"
109: + ":q\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-insta"
110: + "nceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u000eNameIdentifiert\u0000%urn:oasis:names:tc:SAML:1."
111: + "0:assertionsq\u0000~\u0000\nppsq\u0000~\u0000\nq\u0000~\u0000\u0015psq\u0000~\u0000\u0000q\u0000~\u0000\u0015p\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0011q\u0000"
112: + "~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000?com.sun.xml.wss.saml"
113: + ".internal.saml11.jaxb10.SubjectConfirmationq\u0000~\u0000$sq\u0000~\u0000\u0000q\u0000~\u0000\u0015p"
114: + "\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001d"
115: + "q\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000Ccom.sun.xml.wss.saml.internal.saml11.jaxb10.Su"
116: + "bjectConfirmationTypeq\u0000~\u0000$sq\u0000~\u0000\nppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000"
117: + "\u001fsq\u0000~\u0000 t\u0000\u0013SubjectConfirmationq\u0000~\u0000Gq\u0000~\u0000\u001fsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsq\u0000~"
118: + "\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 q\u0000~\u0000Oq\u0000~\u0000$sq\u0000~\u0000\u0000pp\u0000"
119: + "sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq"
120: + "\u0000~\u0000\u001fsq\u0000~\u0000 q\u0000~\u0000Wq\u0000~\u0000$sq\u0000~\u0000\nppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000"
121: + " q\u0000~\u0000[q\u0000~\u0000Gsq\u0000~\u0000\nppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u0007Subje"
122: + "ctq\u0000~\u0000Gsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\be"
123: + "xpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xps"
124: + "r\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I"
125: + "\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expr"
126: + "essionPool;xp\u0000\u0000\u0000\u001a\u0001pq\u0000~\u0000\fq\u0000~\u0000\u000bq\u0000~\u0000&q\u0000~\u0000Qq\u0000~\u0000bq\u0000~\u0000\rq\u0000~\u0000\u0010q\u0000~\u0000(q"
127: + "\u0000~\u0000Kq\u0000~\u0000Sq\u0000~\u0000]q\u0000~\u0000dq\u0000~\u0000\tq\u0000~\u0000\u0013q\u0000~\u0000)q\u0000~\u0000Lq\u0000~\u0000Tq\u0000~\u0000^q\u0000~\u0000eq\u0000~\u0000-q"
128: + "\u0000~\u0000Xq\u0000~\u0000hq\u0000~\u0000kq\u0000~\u0000Hq\u0000~\u0000\u000eq\u0000~\u0000Ix"));
129: }
130: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
131: schemaFragment);
132: }
133:
134: public class Unmarshaller
135: extends
136: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
137:
138: public Unmarshaller(
139: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
140: super (context, "----");
141: }
142:
143: protected Unmarshaller(
144: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
145: int startState) {
146: this (context);
147: state = startState;
148: }
149:
150: public java.lang.Object owner() {
151: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.this ;
152: }
153:
154: public void enterElement(java.lang.String ___uri,
155: java.lang.String ___local, java.lang.String ___qname,
156: org.xml.sax.Attributes __atts)
157: throws org.xml.sax.SAXException {
158: int attIdx;
159: outer: while (true) {
160: switch (state) {
161: case 3:
162: revertToParentFromEnterElement(___uri, ___local,
163: ___qname, __atts);
164: return;
165: case 1:
166: if (("NameIdentifier" == ___local)
167: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
168: spawnHandlerFromEnterElement(
169: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.this ).new Unmarshaller(
170: context)), 2, ___uri, ___local,
171: ___qname, __atts);
172: return;
173: }
174: if (("NameIdentifier" == ___local)
175: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
176: spawnHandlerFromEnterElement(
177: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.this ).new Unmarshaller(
178: context)), 2, ___uri, ___local,
179: ___qname, __atts);
180: return;
181: }
182: if (("SubjectConfirmation" == ___local)
183: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
184: spawnHandlerFromEnterElement(
185: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.this ).new Unmarshaller(
186: context)), 2, ___uri, ___local,
187: ___qname, __atts);
188: return;
189: }
190: if (("SubjectConfirmation" == ___local)
191: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
192: spawnHandlerFromEnterElement(
193: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectImpl.this ).new Unmarshaller(
194: context)), 2, ___uri, ___local,
195: ___qname, __atts);
196: return;
197: }
198: break;
199: case 0:
200: if (("Subject" == ___local)
201: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
202: context.pushAttributes(__atts, false);
203: state = 1;
204: return;
205: }
206: break;
207: }
208: super .enterElement(___uri, ___local, ___qname, __atts);
209: break;
210: }
211: }
212:
213: public void leaveElement(java.lang.String ___uri,
214: java.lang.String ___local, java.lang.String ___qname)
215: throws org.xml.sax.SAXException {
216: int attIdx;
217: outer: while (true) {
218: switch (state) {
219: case 2:
220: if (("Subject" == ___local)
221: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
222: context.popAttributes();
223: state = 3;
224: return;
225: }
226: break;
227: case 3:
228: revertToParentFromLeaveElement(___uri, ___local,
229: ___qname);
230: return;
231: }
232: super .leaveElement(___uri, ___local, ___qname);
233: break;
234: }
235: }
236:
237: public void enterAttribute(java.lang.String ___uri,
238: java.lang.String ___local, java.lang.String ___qname)
239: throws org.xml.sax.SAXException {
240: int attIdx;
241: outer: while (true) {
242: switch (state) {
243: case 3:
244: revertToParentFromEnterAttribute(___uri, ___local,
245: ___qname);
246: return;
247: }
248: super .enterAttribute(___uri, ___local, ___qname);
249: break;
250: }
251: }
252:
253: public void leaveAttribute(java.lang.String ___uri,
254: java.lang.String ___local, java.lang.String ___qname)
255: throws org.xml.sax.SAXException {
256: int attIdx;
257: outer: while (true) {
258: switch (state) {
259: case 3:
260: revertToParentFromLeaveAttribute(___uri, ___local,
261: ___qname);
262: return;
263: }
264: super .leaveAttribute(___uri, ___local, ___qname);
265: break;
266: }
267: }
268:
269: public void handleText(final java.lang.String value)
270: throws org.xml.sax.SAXException {
271: int attIdx;
272: outer: while (true) {
273: try {
274: switch (state) {
275: case 3:
276: revertToParentFromText(value);
277: return;
278: }
279: } catch (java.lang.RuntimeException e) {
280: handleUnexpectedTextException(value, e);
281: }
282: break;
283: }
284: }
285:
286: }
287:
288: }
|