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 AttributeStatementImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.AttributeStatement,
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.AttributeStatement.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 "AttributeStatement";
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.AttributeStatementImpl.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: "AttributeStatement");
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.AttributeStatement.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\u0007ppsr\u0000\u001dcom.s"
080: + "un.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000bpp"
081: + "sr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.m"
082: + "sv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004sr\u0000\u0011java.lang"
083: + ".Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.Attri"
084: + "buteExp\u0000\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\u0013psr"
085: + "\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
086: + "\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0012\u0001q\u0000~\u0000\u0017sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000"
087: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000co"
088: + "m.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000"
089: + "~\u0000\u0004q\u0000~\u0000\u0018q\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
090: + "\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\u001fxq\u0000~"
091: + "\u0000\u001at\u00003com.sun.xml.wss.saml.internal.saml11.jaxb10.Subjectt\u0000+h"
092: + "ttp://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007pps"
093: + "q\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000"
094: + "\u001et\u00007com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectTypeq"
095: + "\u0000~\u0000\"sq\u0000~\u0000\u000bppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000"
096: + "\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L"
097: + "\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.ms"
098: + "v.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype."
099: + "xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd"
100: + ".ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatat"
101: + "ypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001fL\u0000\btypeNameq\u0000~\u0000\u001fL\u0000\nwhi"
102: + "teSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000"
103: + " http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.dat"
104: + "atype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun"
105: + ".msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.su"
106: + "n.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q"
107: + "\u0000~\u0000\u0013psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq"
108: + "\u0000~\u0000\u001fL\u0000\fnamespaceURIq\u0000~\u0000\u001fxpq\u0000~\u00008q\u0000~\u00007sq\u0000~\u0000\u001et\u0000\u0004typet\u0000)http://w"
109: + "ww.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\u0007Subjectt\u0000%urn"
110: + ":oasis:names:tc:SAML:1.0:assertionsq\u0000~\u0000\u000fppsq\u0000~\u0000\u000bppsq\u0000~\u0000\u0000pp\u0000s"
111: + "q\u0000~\u0000\u000bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u0000\u0017q\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u00005com.s"
112: + "un.xml.wss.saml.internal.saml11.jaxb10.Attributeq\u0000~\u0000\"sq\u0000~\u0000\u0000p"
113: + "p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000bppsq\u0000~\u0000\u000fq\u0000~\u0000\u0013psq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u0000\u0017q\u0000~\u0000"
114: + "\u001bq\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u00009com.sun.xml.wss.saml.internal.saml11.jaxb10.A"
115: + "ttributeTypeq\u0000~\u0000\"sq\u0000~\u0000\u000bppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000"
116: + "\tAttributeq\u0000~\u0000Esq\u0000~\u0000\u000bppsq\u0000~\u0000\u0014q\u0000~\u0000\u0013pq\u0000~\u00000q\u0000~\u0000@q\u0000~\u0000\u001dsq\u0000~\u0000\u001et\u0000\u0012A"
117: + "ttributeStatementq\u0000~\u0000Esr\u0000\"com.sun.msv.grammar.ExpressionPool"
118: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool"
119: + "$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedH"
120: + "ash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/m"
121: + "sv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0012\u0001pq\u0000~\u0000$q\u0000~\u0000Oq\u0000~\u0000\u000eq\u0000~\u0000&q\u0000~\u0000Iq"
122: + "\u0000~\u0000Qq\u0000~\u0000\u0011q\u0000~\u0000\'q\u0000~\u0000Jq\u0000~\u0000Rq\u0000~\u0000\tq\u0000~\u0000Fq\u0000~\u0000+q\u0000~\u0000Vq\u0000~\u0000Zq\u0000~\u0000\fq\u0000~\u0000Gq"
123: + "\u0000~\u0000\nx"));
124: }
125: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
126: schemaFragment);
127: }
128:
129: public class Unmarshaller
130: extends
131: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
132:
133: public Unmarshaller(
134: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
135: super (context, "----");
136: }
137:
138: protected Unmarshaller(
139: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
140: int startState) {
141: this (context);
142: state = startState;
143: }
144:
145: public java.lang.Object owner() {
146: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ;
147: }
148:
149: public void enterElement(java.lang.String ___uri,
150: java.lang.String ___local, java.lang.String ___qname,
151: org.xml.sax.Attributes __atts)
152: throws org.xml.sax.SAXException {
153: int attIdx;
154: outer: while (true) {
155: switch (state) {
156: case 1:
157: if (("Subject" == ___local)
158: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
159: spawnHandlerFromEnterElement(
160: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
161: context)), 2, ___uri, ___local,
162: ___qname, __atts);
163: return;
164: }
165: if (("Subject" == ___local)
166: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
167: spawnHandlerFromEnterElement(
168: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
169: context)), 2, ___uri, ___local,
170: ___qname, __atts);
171: return;
172: }
173: spawnHandlerFromEnterElement(
174: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
175: context)), 2, ___uri, ___local,
176: ___qname, __atts);
177: return;
178: case 3:
179: revertToParentFromEnterElement(___uri, ___local,
180: ___qname, __atts);
181: return;
182: case 0:
183: if (("AttributeStatement" == ___local)
184: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
185: context.pushAttributes(__atts, false);
186: state = 1;
187: return;
188: }
189: break;
190: }
191: super .enterElement(___uri, ___local, ___qname, __atts);
192: break;
193: }
194: }
195:
196: public void leaveElement(java.lang.String ___uri,
197: java.lang.String ___local, java.lang.String ___qname)
198: throws org.xml.sax.SAXException {
199: int attIdx;
200: outer: while (true) {
201: switch (state) {
202: case 2:
203: if (("AttributeStatement" == ___local)
204: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
205: context.popAttributes();
206: state = 3;
207: return;
208: }
209: break;
210: case 1:
211: spawnHandlerFromLeaveElement(
212: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
213: context)), 2, ___uri, ___local,
214: ___qname);
215: return;
216: case 3:
217: revertToParentFromLeaveElement(___uri, ___local,
218: ___qname);
219: return;
220: }
221: super .leaveElement(___uri, ___local, ___qname);
222: break;
223: }
224: }
225:
226: public void enterAttribute(java.lang.String ___uri,
227: java.lang.String ___local, java.lang.String ___qname)
228: throws org.xml.sax.SAXException {
229: int attIdx;
230: outer: while (true) {
231: switch (state) {
232: case 1:
233: spawnHandlerFromEnterAttribute(
234: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
235: context)), 2, ___uri, ___local,
236: ___qname);
237: return;
238: case 3:
239: revertToParentFromEnterAttribute(___uri, ___local,
240: ___qname);
241: return;
242: }
243: super .enterAttribute(___uri, ___local, ___qname);
244: break;
245: }
246: }
247:
248: public void leaveAttribute(java.lang.String ___uri,
249: java.lang.String ___local, java.lang.String ___qname)
250: throws org.xml.sax.SAXException {
251: int attIdx;
252: outer: while (true) {
253: switch (state) {
254: case 1:
255: spawnHandlerFromLeaveAttribute(
256: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
257: context)), 2, ___uri, ___local,
258: ___qname);
259: return;
260: case 3:
261: revertToParentFromLeaveAttribute(___uri, ___local,
262: ___qname);
263: return;
264: }
265: super .leaveAttribute(___uri, ___local, ___qname);
266: break;
267: }
268: }
269:
270: public void handleText(final java.lang.String value)
271: throws org.xml.sax.SAXException {
272: int attIdx;
273: outer: while (true) {
274: try {
275: switch (state) {
276: case 1:
277: spawnHandlerFromText(
278: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeStatementImpl.this ).new Unmarshaller(
279: context)), 2, value);
280: return;
281: case 3:
282: revertToParentFromText(value);
283: return;
284: }
285: } catch (java.lang.RuntimeException e) {
286: handleUnexpectedTextException(value, e);
287: }
288: break;
289: }
290: }
291:
292: }
293:
294: }
|