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 AdviceImpl extends
011: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl
012: implements
013: com.sun.xml.wss.saml.internal.saml11.jaxb10.Advice,
014: com.sun.xml.bind.RIElement,
015: com.sun.xml.bind.JAXBObject,
016: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject,
017: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable,
018: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject {
019:
020: public final static java.lang.Class version = (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.JAXBVersion.class);
021: private static com.sun.msv.grammar.Grammar schemaFragment;
022:
023: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
024: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.Advice.class);
025: }
026:
027: public java.lang.String ____jaxb_ri____getNamespaceURI() {
028: return "urn:oasis:names:tc:SAML:1.0:assertion";
029: }
030:
031: public java.lang.String ____jaxb_ri____getLocalName() {
032: return "Advice";
033: }
034:
035: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
036: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
037: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.Unmarshaller(
038: context);
039: }
040:
041: public void serializeBody(
042: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
043: throws org.xml.sax.SAXException {
044: context.startElement("urn:oasis:names:tc:SAML:1.0:assertion",
045: "Advice");
046: super .serializeURIs(context);
047: context.endNamespaceDecls();
048: super .serializeAttributes(context);
049: context.endAttributes();
050: super .serializeBody(context);
051: context.endElement();
052: }
053:
054: public void serializeAttributes(
055: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
056: throws org.xml.sax.SAXException {
057: }
058:
059: public void serializeURIs(
060: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
061: throws org.xml.sax.SAXException {
062: }
063:
064: public java.lang.Class getPrimaryInterface() {
065: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.Advice.class);
066: }
067:
068: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
069: if (schemaFragment == null) {
070: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
071: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
072: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
073: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
074: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
075: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
076: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
077: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
078: + "\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"
079: + "rammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.O"
080: + "neOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000"
081: + "\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005val"
082: + "uexp\u0000psq\u0000~\u0000\nq\u0000~\u0000\u0010psq\u0000~\u0000\nq\u0000~\u0000\u0010psq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\fq\u0000~"
083: + "\u0000\u0010psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000"
084: + "\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u00002com.sun.msv.grammar.Expres"
085: + "sion$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u000f\u0001q\u0000~\u0000\u0019sr\u0000 com"
086: + ".sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.gram"
087: + "mar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression"
088: + "$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv"
089: + ".grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang"
090: + "/String;L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u0000@com.sun.xml.wss.saml.in"
091: + "ternal.saml11.jaxb10.AssertionIDReferencet\u0000+http://java.sun."
092: + "com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\nppsq\u0000~\u0000\fq\u0000~\u0000\u0010p"
093: + "sq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u00005com.sun.xml.wss.saml.int"
094: + "ernal.saml11.jaxb10.Assertionq\u0000~\u0000$sq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0016ppq\u0000~\u0000\u0019"
095: + "sr\u0000\'com.sun.msv.grammar.DifferenceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc1"
096: + "q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001cq\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.ChoiceNam"
097: + "eClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001csr\u0000&com.sun.msv"
098: + ".grammar.NamespaceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIq\u0000~\u0000!xq"
099: + "\u0000~\u0000\u001ct\u0000\u0000sq\u0000~\u00001t\u0000%urn:oasis:names:tc:SAML:1.0:assertionsq\u0000~\u00001q"
100: + "\u0000~\u0000$q\u0000~\u0000\u001fsq\u0000~\u0000\nppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psr\u0000\u001bcom.sun.msv.grammar.DataExp"
101: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq"
102: + "\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.s"
103: + "un.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.data"
104: + "type.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatyp"
105: + "e.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XS"
106: + "DatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L"
107: + "\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor"
108: + ";xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.ms"
109: + "v.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,co"
110: + "m.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000c"
111: + "om.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq"
112: + "\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocal"
113: + "Nameq\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xpq\u0000~\u0000Dq\u0000~\u0000Csq\u0000~\u0000 t\u0000\u0004typet\u0000)htt"
114: + "p://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u0006Adviceq\u0000"
115: + "~\u00005sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTa"
116: + "blet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-c"
117: + "om.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005co"
118: + "untB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expressi"
119: + "onPool;xp\u0000\u0000\u0000\n\u0001pq\u0000~\u0000\u0011q\u0000~\u0000\u000bq\u0000~\u0000\u0014q\u0000~\u0000&q\u0000~\u0000\u0015q\u0000~\u0000\'q\u0000~\u0000\tq\u0000~\u0000\u000eq\u0000~\u00007"
120: + "q\u0000~\u0000\u0012x"));
121: }
122: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
123: schemaFragment);
124: }
125:
126: public class Unmarshaller
127: extends
128: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
129:
130: public Unmarshaller(
131: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
132: super (context, "----");
133: }
134:
135: protected Unmarshaller(
136: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
137: int startState) {
138: this (context);
139: state = startState;
140: }
141:
142: public java.lang.Object owner() {
143: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ;
144: }
145:
146: public void enterElement(java.lang.String ___uri,
147: java.lang.String ___local, java.lang.String ___qname,
148: org.xml.sax.Attributes __atts)
149: throws org.xml.sax.SAXException {
150: int attIdx;
151: outer: while (true) {
152: switch (state) {
153: case 3:
154: revertToParentFromEnterElement(___uri, ___local,
155: ___qname, __atts);
156: return;
157: case 1:
158: if (("AssertionIDReference" == ___local)
159: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
160: spawnHandlerFromEnterElement(
161: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
162: context)), 2, ___uri, ___local,
163: ___qname, __atts);
164: return;
165: }
166: if (("Assertion" == ___local)
167: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
168: spawnHandlerFromEnterElement(
169: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
170: context)), 2, ___uri, ___local,
171: ___qname, __atts);
172: return;
173: }
174: if (!(("" == ___uri) || ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri))) {
175: spawnHandlerFromEnterElement(
176: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
177: context)), 2, ___uri, ___local,
178: ___qname, __atts);
179: return;
180: }
181: spawnHandlerFromEnterElement(
182: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
183: context)), 2, ___uri, ___local,
184: ___qname, __atts);
185: return;
186: case 0:
187: if (("Advice" == ___local)
188: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
189: context.pushAttributes(__atts, false);
190: state = 1;
191: return;
192: }
193: break;
194: }
195: super .enterElement(___uri, ___local, ___qname, __atts);
196: break;
197: }
198: }
199:
200: public void leaveElement(java.lang.String ___uri,
201: java.lang.String ___local, java.lang.String ___qname)
202: throws org.xml.sax.SAXException {
203: int attIdx;
204: outer: while (true) {
205: switch (state) {
206: case 3:
207: revertToParentFromLeaveElement(___uri, ___local,
208: ___qname);
209: return;
210: case 1:
211: spawnHandlerFromLeaveElement(
212: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
213: context)), 2, ___uri, ___local,
214: ___qname);
215: return;
216: case 2:
217: if (("Advice" == ___local)
218: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
219: context.popAttributes();
220: state = 3;
221: return;
222: }
223: break;
224: }
225: super .leaveElement(___uri, ___local, ___qname);
226: break;
227: }
228: }
229:
230: public void enterAttribute(java.lang.String ___uri,
231: java.lang.String ___local, java.lang.String ___qname)
232: throws org.xml.sax.SAXException {
233: int attIdx;
234: outer: while (true) {
235: switch (state) {
236: case 3:
237: revertToParentFromEnterAttribute(___uri, ___local,
238: ___qname);
239: return;
240: case 1:
241: spawnHandlerFromEnterAttribute(
242: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
243: context)), 2, ___uri, ___local,
244: ___qname);
245: return;
246: }
247: super .enterAttribute(___uri, ___local, ___qname);
248: break;
249: }
250: }
251:
252: public void leaveAttribute(java.lang.String ___uri,
253: java.lang.String ___local, java.lang.String ___qname)
254: throws org.xml.sax.SAXException {
255: int attIdx;
256: outer: while (true) {
257: switch (state) {
258: case 3:
259: revertToParentFromLeaveAttribute(___uri, ___local,
260: ___qname);
261: return;
262: case 1:
263: spawnHandlerFromLeaveAttribute(
264: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
265: context)), 2, ___uri, ___local,
266: ___qname);
267: return;
268: }
269: super .leaveAttribute(___uri, ___local, ___qname);
270: break;
271: }
272: }
273:
274: public void handleText(final java.lang.String value)
275: throws org.xml.sax.SAXException {
276: int attIdx;
277: outer: while (true) {
278: try {
279: switch (state) {
280: case 3:
281: revertToParentFromText(value);
282: return;
283: case 1:
284: spawnHandlerFromText(
285: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AdviceImpl.this ).new Unmarshaller(
286: context)), 2, value);
287: return;
288: }
289: } catch (java.lang.RuntimeException e) {
290: handleUnexpectedTextException(value, e);
291: }
292: break;
293: }
294: }
295:
296: }
297:
298: }
|