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 AudienceRestrictionConditionImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.AudienceRestrictionCondition,
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.AudienceRestrictionCondition.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 "AudienceRestrictionCondition";
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.AudienceRestrictionConditionImpl.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: "AudienceRestrictionCondition");
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.AudienceRestrictionCondition.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 com.sun.msv.g"
080: + "rammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryE"
081: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsr\u0000\u001bcom.sun"
082: + ".msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype"
083: + "/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPa"
084: + "ir;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.msv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
085: + "\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
086: + "\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.su"
087: + "n.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit"
088: + "\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0017L\u0000\nwhiteSpacet\u0000.Lcom/sun"
089: + "/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org"
090: + "/2001/XMLSchemat\u0000\u0006anyURIsr\u00005com.sun.msv.datatype.xsd.WhiteSp"
091: + "aceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd"
092: + ".WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Exp"
093: + "ression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Bool"
094: + "ean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001e"
095: + "jB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xpq\u0000~\u0000\u001bq\u0000~\u0000\u001asr\u0000"
096: + "\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun"
097: + ".msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq"
098: + "\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\"psq\u0000~\u0000\u000fppsr\u0000\"com.sun.msv.datatype.xsd.QnameTy"
099: + "pe\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0014q\u0000~\u0000\u001at\u0000\u0005QNameq\u0000~\u0000\u001eq\u0000~\u0000 sq\u0000~\u0000#q\u0000~\u0000,q\u0000~\u0000\u001asr"
100: + "\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalName"
101: + "q\u0000~\u0000\u0017L\u0000\fnamespaceURIq\u0000~\u0000\u0017xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000"
102: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instan"
103: + "cesr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000"
104: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000!\u0001q\u0000~\u00004sq\u0000~\u0000.t\u0000\bAudiencet\u0000%urn:oasis:names:t"
105: + "c:SAML:1.0:assertionsq\u0000~\u0000%ppsq\u0000~\u0000\'q\u0000~\u0000\"pq\u0000~\u0000)q\u0000~\u00000q\u0000~\u00004sq\u0000~\u0000"
106: + ".t\u0000\u001cAudienceRestrictionConditionq\u0000~\u00008sr\u0000\"com.sun.msv.grammar"
107: + ".ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar"
108: + "/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Express"
109: + "ionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006pare"
110: + "ntt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0005\u0001pq\u0000~\u0000\fq\u0000~\u0000\u000eq"
111: + "\u0000~\u0000\tq\u0000~\u0000&q\u0000~\u00009x"));
112: }
113: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
114: schemaFragment);
115: }
116:
117: public class Unmarshaller
118: extends
119: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
120:
121: public Unmarshaller(
122: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
123: super (context, "----");
124: }
125:
126: protected Unmarshaller(
127: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
128: int startState) {
129: this (context);
130: state = startState;
131: }
132:
133: public java.lang.Object owner() {
134: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ;
135: }
136:
137: public void enterElement(java.lang.String ___uri,
138: java.lang.String ___local, java.lang.String ___qname,
139: org.xml.sax.Attributes __atts)
140: throws org.xml.sax.SAXException {
141: int attIdx;
142: outer: while (true) {
143: switch (state) {
144: case 3:
145: revertToParentFromEnterElement(___uri, ___local,
146: ___qname, __atts);
147: return;
148: case 1:
149: if (("Audience" == ___local)
150: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
151: spawnHandlerFromEnterElement(
152: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
153: context)), 2, ___uri, ___local,
154: ___qname, __atts);
155: return;
156: }
157: spawnHandlerFromEnterElement(
158: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
159: context)), 2, ___uri, ___local,
160: ___qname, __atts);
161: return;
162: case 0:
163: if (("AudienceRestrictionCondition" == ___local)
164: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
165: context.pushAttributes(__atts, false);
166: state = 1;
167: return;
168: }
169: break;
170: }
171: super .enterElement(___uri, ___local, ___qname, __atts);
172: break;
173: }
174: }
175:
176: public void leaveElement(java.lang.String ___uri,
177: java.lang.String ___local, java.lang.String ___qname)
178: throws org.xml.sax.SAXException {
179: int attIdx;
180: outer: while (true) {
181: switch (state) {
182: case 3:
183: revertToParentFromLeaveElement(___uri, ___local,
184: ___qname);
185: return;
186: case 2:
187: if (("AudienceRestrictionCondition" == ___local)
188: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
189: context.popAttributes();
190: state = 3;
191: return;
192: }
193: break;
194: case 1:
195: spawnHandlerFromLeaveElement(
196: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
197: context)), 2, ___uri, ___local,
198: ___qname);
199: return;
200: }
201: super .leaveElement(___uri, ___local, ___qname);
202: break;
203: }
204: }
205:
206: public void enterAttribute(java.lang.String ___uri,
207: java.lang.String ___local, java.lang.String ___qname)
208: throws org.xml.sax.SAXException {
209: int attIdx;
210: outer: while (true) {
211: switch (state) {
212: case 3:
213: revertToParentFromEnterAttribute(___uri, ___local,
214: ___qname);
215: return;
216: case 1:
217: spawnHandlerFromEnterAttribute(
218: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
219: context)), 2, ___uri, ___local,
220: ___qname);
221: return;
222: }
223: super .enterAttribute(___uri, ___local, ___qname);
224: break;
225: }
226: }
227:
228: public void leaveAttribute(java.lang.String ___uri,
229: java.lang.String ___local, java.lang.String ___qname)
230: throws org.xml.sax.SAXException {
231: int attIdx;
232: outer: while (true) {
233: switch (state) {
234: case 3:
235: revertToParentFromLeaveAttribute(___uri, ___local,
236: ___qname);
237: return;
238: case 1:
239: spawnHandlerFromLeaveAttribute(
240: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
241: context)), 2, ___uri, ___local,
242: ___qname);
243: return;
244: }
245: super .leaveAttribute(___uri, ___local, ___qname);
246: break;
247: }
248: }
249:
250: public void handleText(final java.lang.String value)
251: throws org.xml.sax.SAXException {
252: int attIdx;
253: outer: while (true) {
254: try {
255: switch (state) {
256: case 3:
257: revertToParentFromText(value);
258: return;
259: case 1:
260: spawnHandlerFromText(
261: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AudienceRestrictionConditionImpl.this ).new Unmarshaller(
262: context)), 2, value);
263: return;
264: }
265: } catch (java.lang.RuntimeException e) {
266: handleUnexpectedTextException(value, e);
267: }
268: break;
269: }
270: }
271:
272: }
273:
274: }
|