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 StatementImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.Statement,
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.Statement.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 "Statement";
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.StatementImpl.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: "Statement");
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.Statement.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\u001dcom.sun.msv.gra"
078: + "mmar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp\u0000\u0000"
079: + "\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.gra"
080: + "mmar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~"
081: + "\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\u001bcom.sun.ms"
082: + "v.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Da"
083: + "tatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;"
084: + "xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000"
085: + "*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%co"
086: + "m.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.ms"
087: + "v.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Lj"
088: + "ava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0016L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv"
089: + "/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/200"
090: + "1/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpacePr"
091: + "ocessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.Whit"
092: + "eSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expressi"
093: + "on$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\rpsr\u0000\u001bcom.sun.msv.u"
094: + "til.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~"
095: + "\u0000\u0016xpq\u0000~\u0000\u001aq\u0000~\u0000\u0019sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
096: + "\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0016L\u0000\fnamespaceURIq\u0000~\u0000\u0016xr\u0000\u001dcom.sun.msv.gra"
097: + "mmar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/"
098: + "XMLSchema-instancesr\u00000com.sun.msv.grammar.Expression$Epsilon"
099: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\f\u0001q\u0000~\u0000(sq\u0000~\u0000\"t\u0000\tStatementt\u0000%"
100: + "urn:oasis:names:tc:SAML:1.0:assertionsr\u0000\"com.sun.msv.grammar"
101: + ".ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar"
102: + "/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Express"
103: + "ionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006pare"
104: + "ntt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0001\u0001pq\u0000~\u0000\tx"));
105: }
106: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
107: schemaFragment);
108: }
109:
110: public class Unmarshaller
111: extends
112: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
113:
114: public Unmarshaller(
115: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
116: super (context, "----");
117: }
118:
119: protected Unmarshaller(
120: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
121: int startState) {
122: this (context);
123: state = startState;
124: }
125:
126: public java.lang.Object owner() {
127: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ;
128: }
129:
130: public void enterElement(java.lang.String ___uri,
131: java.lang.String ___local, java.lang.String ___qname,
132: org.xml.sax.Attributes __atts)
133: throws org.xml.sax.SAXException {
134: int attIdx;
135: outer: while (true) {
136: switch (state) {
137: case 0:
138: if (("Statement" == ___local)
139: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
140: context.pushAttributes(__atts, false);
141: state = 1;
142: return;
143: }
144: break;
145: case 1:
146: spawnHandlerFromEnterElement(
147: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ).new Unmarshaller(
148: context)), 2, ___uri, ___local,
149: ___qname, __atts);
150: return;
151: case 3:
152: revertToParentFromEnterElement(___uri, ___local,
153: ___qname, __atts);
154: return;
155: }
156: super .enterElement(___uri, ___local, ___qname, __atts);
157: break;
158: }
159: }
160:
161: public void leaveElement(java.lang.String ___uri,
162: java.lang.String ___local, java.lang.String ___qname)
163: throws org.xml.sax.SAXException {
164: int attIdx;
165: outer: while (true) {
166: switch (state) {
167: case 1:
168: spawnHandlerFromLeaveElement(
169: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ).new Unmarshaller(
170: context)), 2, ___uri, ___local,
171: ___qname);
172: return;
173: case 2:
174: if (("Statement" == ___local)
175: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
176: context.popAttributes();
177: state = 3;
178: return;
179: }
180: break;
181: case 3:
182: revertToParentFromLeaveElement(___uri, ___local,
183: ___qname);
184: return;
185: }
186: super .leaveElement(___uri, ___local, ___qname);
187: break;
188: }
189: }
190:
191: public void enterAttribute(java.lang.String ___uri,
192: java.lang.String ___local, java.lang.String ___qname)
193: throws org.xml.sax.SAXException {
194: int attIdx;
195: outer: while (true) {
196: switch (state) {
197: case 1:
198: spawnHandlerFromEnterAttribute(
199: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ).new Unmarshaller(
200: context)), 2, ___uri, ___local,
201: ___qname);
202: return;
203: case 3:
204: revertToParentFromEnterAttribute(___uri, ___local,
205: ___qname);
206: return;
207: }
208: super .enterAttribute(___uri, ___local, ___qname);
209: break;
210: }
211: }
212:
213: public void leaveAttribute(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 1:
220: spawnHandlerFromLeaveAttribute(
221: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ).new Unmarshaller(
222: context)), 2, ___uri, ___local,
223: ___qname);
224: return;
225: case 3:
226: revertToParentFromLeaveAttribute(___uri, ___local,
227: ___qname);
228: return;
229: }
230: super .leaveAttribute(___uri, ___local, ___qname);
231: break;
232: }
233: }
234:
235: public void handleText(final java.lang.String value)
236: throws org.xml.sax.SAXException {
237: int attIdx;
238: outer: while (true) {
239: try {
240: switch (state) {
241: case 1:
242: spawnHandlerFromText(
243: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.StatementImpl.this ).new Unmarshaller(
244: context)), 2, value);
245: return;
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: }
|