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 ManifestImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.Manifest,
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.Manifest.class);
026: }
027:
028: public java.lang.String ____jaxb_ri____getNamespaceURI() {
029: return "http://www.w3.org/2000/09/xmldsig#";
030: }
031:
032: public java.lang.String ____jaxb_ri____getLocalName() {
033: return "Manifest";
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.ManifestImpl.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("http://www.w3.org/2000/09/xmldsig#",
046: "Manifest");
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.Manifest.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 com.s"
080: + "un.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gramma"
081: + "r.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.gram"
082: + "mar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u000bsr\u0000\u0011j"
083: + "ava.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.gramm"
084: + "ar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004"
085: + "q\u0000~\u0000\u0014psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression"
086: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0013\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar.AnyName"
087: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
088: + "xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000"
089: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0019q\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNameClass"
090: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq"
091: + "\u0000~\u0000 xq\u0000~\u0000\u001bt\u00005com.sun.xml.wss.saml.internal.saml11.jaxb10.Ref"
092: + "erencet\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000pp"
093: + "\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u000bq\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001c"
094: + "q\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u00009com.sun.xml.wss.saml.internal.saml11.jaxb10.Re"
095: + "ferenceTypeq\u0000~\u0000#sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psr\u0000\u001bcom.sun.msv.grammar."
096: + "DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006"
097: + "exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr"
098: + "\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.m"
099: + "sv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv."
100: + "datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype"
101: + ".xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\btypeNam"
102: + "eq\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpacePr"
103: + "ocessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com"
104: + ".sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
105: + "\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
106: + "xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000"
107: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0014psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L"
108: + "\u0000\tlocalNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0004typ"
109: + "et\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\tR"
110: + "eferencet\u0000\"http://www.w3.org/2000/09/xmldsig#sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q"
111: + "\u0000~\u0000\u0014psq\u0000~\u0000.ppsr\u0000\u001fcom.sun.msv.datatype.xsd.IDType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
112: + "r\u0000#com.sun.msv.datatype.xsd.NcnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"com.sun"
113: + ".msv.datatype.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.dataty"
114: + "pe.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxq\u0000~\u00003q\u0000~\u00008t\u0000\u0002ID"
115: + "q\u0000~\u0000<\u0000q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000Oq\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0002Idt\u0000\u0000q\u0000~\u0000\u001esq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015"
116: + "q\u0000~\u0000\u0014pq\u0000~\u00001q\u0000~\u0000Aq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\bManifestq\u0000~\u0000Fsr\u0000\"com.sun.msv.g"
117: + "rammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/g"
118: + "rammar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.E"
119: + "xpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL"
120: + "\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\f\u0001pq\u0000~\u0000\t"
121: + "q\u0000~\u0000%q\u0000~\u0000Gq\u0000~\u0000\u0011q\u0000~\u0000\'q\u0000~\u0000\nq\u0000~\u0000\u0012q\u0000~\u0000(q\u0000~\u0000\rq\u0000~\u0000,q\u0000~\u0000Tq\u0000~\u0000\u000fx"));
122: }
123: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
124: schemaFragment);
125: }
126:
127: public class Unmarshaller
128: extends
129: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
130:
131: public Unmarshaller(
132: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
133: super (context, "----");
134: }
135:
136: protected Unmarshaller(
137: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
138: int startState) {
139: this (context);
140: state = startState;
141: }
142:
143: public java.lang.Object owner() {
144: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestImpl.this ;
145: }
146:
147: public void enterElement(java.lang.String ___uri,
148: java.lang.String ___local, java.lang.String ___qname,
149: org.xml.sax.Attributes __atts)
150: throws org.xml.sax.SAXException {
151: int attIdx;
152: outer: while (true) {
153: switch (state) {
154: case 0:
155: if (("Manifest" == ___local)
156: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
157: context.pushAttributes(__atts, false);
158: state = 1;
159: return;
160: }
161: break;
162: case 1:
163: attIdx = context.getAttribute("", "Id");
164: if (attIdx >= 0) {
165: context.consumeAttribute(attIdx);
166: context.getCurrentHandler().enterElement(
167: ___uri, ___local, ___qname, __atts);
168: return;
169: }
170: if (("Reference" == ___local)
171: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
172: spawnHandlerFromEnterElement(
173: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestImpl.this ).new Unmarshaller(
174: context)), 2, ___uri, ___local,
175: ___qname, __atts);
176: return;
177: }
178: if (("Reference" == ___local)
179: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
180: spawnHandlerFromEnterElement(
181: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestImpl.this ).new Unmarshaller(
182: context)), 2, ___uri, ___local,
183: ___qname, __atts);
184: return;
185: }
186: break;
187: case 3:
188: revertToParentFromEnterElement(___uri, ___local,
189: ___qname, __atts);
190: return;
191: }
192: super .enterElement(___uri, ___local, ___qname, __atts);
193: break;
194: }
195: }
196:
197: public void leaveElement(java.lang.String ___uri,
198: java.lang.String ___local, java.lang.String ___qname)
199: throws org.xml.sax.SAXException {
200: int attIdx;
201: outer: while (true) {
202: switch (state) {
203: case 1:
204: attIdx = context.getAttribute("", "Id");
205: if (attIdx >= 0) {
206: context.consumeAttribute(attIdx);
207: context.getCurrentHandler().leaveElement(
208: ___uri, ___local, ___qname);
209: return;
210: }
211: break;
212: case 2:
213: if (("Manifest" == ___local)
214: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
215: context.popAttributes();
216: state = 3;
217: return;
218: }
219: break;
220: case 3:
221: revertToParentFromLeaveElement(___uri, ___local,
222: ___qname);
223: return;
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 1:
237: if (("Id" == ___local) && ("" == ___uri)) {
238: spawnHandlerFromEnterAttribute(
239: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ManifestImpl.this ).new Unmarshaller(
240: context)), 2, ___uri, ___local,
241: ___qname);
242: return;
243: }
244: break;
245: case 3:
246: revertToParentFromEnterAttribute(___uri, ___local,
247: ___qname);
248: return;
249: }
250: super .enterAttribute(___uri, ___local, ___qname);
251: break;
252: }
253: }
254:
255: public void leaveAttribute(java.lang.String ___uri,
256: java.lang.String ___local, java.lang.String ___qname)
257: throws org.xml.sax.SAXException {
258: int attIdx;
259: outer: while (true) {
260: switch (state) {
261: case 1:
262: attIdx = context.getAttribute("", "Id");
263: if (attIdx >= 0) {
264: context.consumeAttribute(attIdx);
265: context.getCurrentHandler().leaveAttribute(
266: ___uri, ___local, ___qname);
267: return;
268: }
269: break;
270: case 3:
271: revertToParentFromLeaveAttribute(___uri, ___local,
272: ___qname);
273: return;
274: }
275: super .leaveAttribute(___uri, ___local, ___qname);
276: break;
277: }
278: }
279:
280: public void handleText(final java.lang.String value)
281: throws org.xml.sax.SAXException {
282: int attIdx;
283: outer: while (true) {
284: try {
285: switch (state) {
286: case 1:
287: attIdx = context.getAttribute("", "Id");
288: if (attIdx >= 0) {
289: context.consumeAttribute(attIdx);
290: context.getCurrentHandler().text(value);
291: return;
292: }
293: break;
294: case 3:
295: revertToParentFromText(value);
296: return;
297: }
298: } catch (java.lang.RuntimeException e) {
299: handleUnexpectedTextException(value, e);
300: }
301: break;
302: }
303: }
304:
305: }
306:
307: }
|