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 SubjectConfirmationImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectConfirmation,
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.SubjectConfirmation.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 "SubjectConfirmation";
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.SubjectConfirmationImpl.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: "SubjectConfirmation");
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.SubjectConfirmation.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: + "r\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.ms"
081: + "v.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsq\u0000~\u0000\u0000pp\u0000sq\u0000"
082: + "~\u0000\u0007ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/"
083: + "relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/m"
084: + "sv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.msv.datatype.xsd.AnyU"
085: + "RIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicT"
086: + "ype\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000"
087: + "\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003"
088: + "L\u0000\fnamespaceUrit\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0019L\u0000\nwhite"
089: + "Spacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 h"
090: + "ttp://www.w3.org/2001/XMLSchemat\u0000\u0006anyURIsr\u00005com.sun.msv.data"
091: + "type.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun."
092: + "msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun"
093: + ".msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sr"
094: + "\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\u001bcom.sun.msv.ut"
095: + "il.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000"
096: + "\u0019xpq\u0000~\u0000\u001dq\u0000~\u0000\u001csr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000"
097: + "~\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000"
098: + "~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000$psq\u0000~\u0000\u0011ppsr\u0000\"com.sun.msv.data"
099: + "type.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0016q\u0000~\u0000\u001ct\u0000\u0005QNameq\u0000~\u0000 q\u0000~\u0000\"sq"
100: + "\u0000~\u0000%q\u0000~\u0000.q\u0000~\u0000\u001csr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
101: + "\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0019L\u0000\fnamespaceURIq\u0000~\u0000\u0019xr\u0000\u001dcom.sun.msv.gra"
102: + "mmar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/"
103: + "XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$Epsilon"
104: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000#\u0001q\u0000~\u00006sq\u0000~\u00000t\u0000\u0012Confirmation"
105: + "Methodt\u0000%urn:oasis:names:tc:SAML:1.0:assertionsq\u0000~\u0000\'ppsq\u0000~\u0000\'"
106: + "q\u0000~\u0000$psq\u0000~\u0000\u0000q\u0000~\u0000$p\u0000sq\u0000~\u0000\'ppsq\u0000~\u0000\fq\u0000~\u0000$psq\u0000~\u0000)q\u0000~\u0000$psr\u00002com.s"
107: + "un.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~"
108: + "\u0000\u0004q\u0000~\u00007q\u0000~\u0000Bsr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
109: + "q\u0000~\u00001q\u0000~\u00006sq\u0000~\u00000t\u0000Ccom.sun.xml.wss.saml.internal.saml11.jaxb"
110: + "10.SubjectConfirmationDatat\u0000+http://java.sun.com/jaxb/xjc/du"
111: + "mmy-elementssq\u0000~\u0000\u0000q\u0000~\u0000$p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\'ppsq\u0000~\u0000\fq\u0000~\u0000"
112: + "$psq\u0000~\u0000)q\u0000~\u0000$pq\u0000~\u0000Bq\u0000~\u0000Dq\u0000~\u00006sq\u0000~\u00000t\u00003com.sun.xml.wss.saml.i"
113: + "nternal.saml11.jaxb10.AnyTypeq\u0000~\u0000Gsq\u0000~\u0000\'ppsq\u0000~\u0000)q\u0000~\u0000$pq\u0000~\u0000+q"
114: + "\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\u0017SubjectConfirmationDataq\u0000~\u0000:q\u0000~\u00006sq\u0000~\u0000\'pps"
115: + "q\u0000~\u0000\'q\u0000~\u0000$psq\u0000~\u0000\u0000q\u0000~\u0000$p\u0000sq\u0000~\u0000\'ppsq\u0000~\u0000\fq\u0000~\u0000$psq\u0000~\u0000)q\u0000~\u0000$pq\u0000~\u0000"
116: + "Bq\u0000~\u0000Dq\u0000~\u00006sq\u0000~\u00000t\u00003com.sun.xml.wss.saml.internal.saml11.jax"
117: + "b10.KeyInfoq\u0000~\u0000Gsq\u0000~\u0000\u0000q\u0000~\u0000$p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\'ppsq\u0000~\u0000\f"
118: + "q\u0000~\u0000$psq\u0000~\u0000)q\u0000~\u0000$pq\u0000~\u0000Bq\u0000~\u0000Dq\u0000~\u00006sq\u0000~\u00000t\u00007com.sun.xml.wss.sa"
119: + "ml.internal.saml11.jaxb10.KeyInfoTypeq\u0000~\u0000Gsq\u0000~\u0000\'ppsq\u0000~\u0000)q\u0000~\u0000"
120: + "$pq\u0000~\u0000+q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\u0007KeyInfot\u0000\"http://www.w3.org/2000/0"
121: + "9/xmldsig#q\u0000~\u00006sq\u0000~\u0000\'ppsq\u0000~\u0000)q\u0000~\u0000$pq\u0000~\u0000+q\u0000~\u00002q\u0000~\u00006sq\u0000~\u00000t\u0000\u0013S"
122: + "ubjectConfirmationq\u0000~\u0000:sr\u0000\"com.sun.msv.grammar.ExpressionPoo"
123: + "l\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPoo"
124: + "l$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Closed"
125: + "Hash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/"
126: + "msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0017\u0001pq\u0000~\u0000Iq\u0000~\u0000]q\u0000~\u0000>q\u0000~\u0000Kq\u0000~\u0000W"
127: + "q\u0000~\u0000_q\u0000~\u0000?q\u0000~\u0000Lq\u0000~\u0000Xq\u0000~\u0000`q\u0000~\u0000\u000eq\u0000~\u0000\u0010q\u0000~\u0000\u000bq\u0000~\u0000\tq\u0000~\u0000\nq\u0000~\u0000(q\u0000~\u0000P"
128: + "q\u0000~\u0000dq\u0000~\u0000iq\u0000~\u0000;q\u0000~\u0000Tq\u0000~\u0000<q\u0000~\u0000Ux"));
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.SubjectConfirmationImpl.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 1:
162: if (("ConfirmationMethod" == ___local)
163: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
164: spawnHandlerFromEnterElement(
165: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectConfirmationImpl.this ).new Unmarshaller(
166: context)), 2, ___uri, ___local,
167: ___qname, __atts);
168: return;
169: }
170: break;
171: case 3:
172: revertToParentFromEnterElement(___uri, ___local,
173: ___qname, __atts);
174: return;
175: case 0:
176: if (("SubjectConfirmation" == ___local)
177: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
178: context.pushAttributes(__atts, false);
179: state = 1;
180: return;
181: }
182: break;
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 3:
196: revertToParentFromLeaveElement(___uri, ___local,
197: ___qname);
198: return;
199: case 2:
200: if (("SubjectConfirmation" == ___local)
201: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
202: context.popAttributes();
203: state = 3;
204: return;
205: }
206: break;
207: }
208: super .leaveElement(___uri, ___local, ___qname);
209: break;
210: }
211: }
212:
213: public void enterAttribute(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 3:
220: revertToParentFromEnterAttribute(___uri, ___local,
221: ___qname);
222: return;
223: }
224: super .enterAttribute(___uri, ___local, ___qname);
225: break;
226: }
227: }
228:
229: public void leaveAttribute(java.lang.String ___uri,
230: java.lang.String ___local, java.lang.String ___qname)
231: throws org.xml.sax.SAXException {
232: int attIdx;
233: outer: while (true) {
234: switch (state) {
235: case 3:
236: revertToParentFromLeaveAttribute(___uri, ___local,
237: ___qname);
238: return;
239: }
240: super .leaveAttribute(___uri, ___local, ___qname);
241: break;
242: }
243: }
244:
245: public void handleText(final java.lang.String value)
246: throws org.xml.sax.SAXException {
247: int attIdx;
248: outer: while (true) {
249: try {
250: switch (state) {
251: case 3:
252: revertToParentFromText(value);
253: return;
254: }
255: } catch (java.lang.RuntimeException e) {
256: handleUnexpectedTextException(value, e);
257: }
258: break;
259: }
260: }
261:
262: }
263:
264: }
|