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 DoNotCacheConditionImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.DoNotCacheCondition,
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.DoNotCacheCondition.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 "DoNotCacheCondition";
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.DoNotCacheConditionImpl.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: "DoNotCacheCondition");
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.DoNotCacheCondition.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\u0013DoNotCacheCo"
100: + "nditiont\u0000%urn:oasis:names:tc:SAML:1.0:assertionsr\u0000\"com.sun.m"
101: + "sv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/m"
102: + "sv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.gramm"
103: + "ar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVers"
104: + "ionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0001\u0001pq"
105: + "\u0000~\u0000\tx"));
106: }
107: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
108: schemaFragment);
109: }
110:
111: public class Unmarshaller
112: extends
113: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
114:
115: public Unmarshaller(
116: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
117: super (context, "----");
118: }
119:
120: protected Unmarshaller(
121: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
122: int startState) {
123: this (context);
124: state = startState;
125: }
126:
127: public java.lang.Object owner() {
128: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ;
129: }
130:
131: public void enterElement(java.lang.String ___uri,
132: java.lang.String ___local, java.lang.String ___qname,
133: org.xml.sax.Attributes __atts)
134: throws org.xml.sax.SAXException {
135: int attIdx;
136: outer: while (true) {
137: switch (state) {
138: case 3:
139: revertToParentFromEnterElement(___uri, ___local,
140: ___qname, __atts);
141: return;
142: case 1:
143: spawnHandlerFromEnterElement(
144: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ).new Unmarshaller(
145: context)), 2, ___uri, ___local,
146: ___qname, __atts);
147: return;
148: case 0:
149: if (("DoNotCacheCondition" == ___local)
150: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
151: context.pushAttributes(__atts, false);
152: state = 1;
153: return;
154: }
155: break;
156: }
157: super .enterElement(___uri, ___local, ___qname, __atts);
158: break;
159: }
160: }
161:
162: public void leaveElement(java.lang.String ___uri,
163: java.lang.String ___local, java.lang.String ___qname)
164: throws org.xml.sax.SAXException {
165: int attIdx;
166: outer: while (true) {
167: switch (state) {
168: case 3:
169: revertToParentFromLeaveElement(___uri, ___local,
170: ___qname);
171: return;
172: case 2:
173: if (("DoNotCacheCondition" == ___local)
174: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
175: context.popAttributes();
176: state = 3;
177: return;
178: }
179: break;
180: case 1:
181: spawnHandlerFromLeaveElement(
182: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ).new Unmarshaller(
183: context)), 2, ___uri, ___local,
184: ___qname);
185: return;
186: }
187: super .leaveElement(___uri, ___local, ___qname);
188: break;
189: }
190: }
191:
192: public void enterAttribute(java.lang.String ___uri,
193: java.lang.String ___local, java.lang.String ___qname)
194: throws org.xml.sax.SAXException {
195: int attIdx;
196: outer: while (true) {
197: switch (state) {
198: case 3:
199: revertToParentFromEnterAttribute(___uri, ___local,
200: ___qname);
201: return;
202: case 1:
203: spawnHandlerFromEnterAttribute(
204: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ).new Unmarshaller(
205: context)), 2, ___uri, ___local,
206: ___qname);
207: return;
208: }
209: super .enterAttribute(___uri, ___local, ___qname);
210: break;
211: }
212: }
213:
214: public void leaveAttribute(java.lang.String ___uri,
215: java.lang.String ___local, java.lang.String ___qname)
216: throws org.xml.sax.SAXException {
217: int attIdx;
218: outer: while (true) {
219: switch (state) {
220: case 3:
221: revertToParentFromLeaveAttribute(___uri, ___local,
222: ___qname);
223: return;
224: case 1:
225: spawnHandlerFromLeaveAttribute(
226: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ).new Unmarshaller(
227: context)), 2, ___uri, ___local,
228: ___qname);
229: return;
230: }
231: super .leaveAttribute(___uri, ___local, ___qname);
232: break;
233: }
234: }
235:
236: public void handleText(final java.lang.String value)
237: throws org.xml.sax.SAXException {
238: int attIdx;
239: outer: while (true) {
240: try {
241: switch (state) {
242: case 3:
243: revertToParentFromText(value);
244: return;
245: case 1:
246: spawnHandlerFromText(
247: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.DoNotCacheConditionImpl.this ).new Unmarshaller(
248: context)), 2, value);
249: return;
250: }
251: } catch (java.lang.RuntimeException e) {
252: handleUnexpectedTextException(value, e);
253: }
254: break;
255: }
256: }
257:
258: }
259:
260: }
|