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 RetrievalMethodImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.RetrievalMethod,
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.RetrievalMethod.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 "RetrievalMethod";
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.RetrievalMethodImpl.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: "RetrievalMethod");
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.RetrievalMethod.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\u0007ppsq\u0000~\u0000\u0007pps"
080: + "r\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\fsr\u0000"
081: + "\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\f"
082: + "ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun"
083: + ".msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u0000 c"
084: + "om.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tname"
085: + "Classq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u00002com.sun.msv.grammar.Expression$Any"
086: + "StringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u000f\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv"
087: + ".grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.Name"
088: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$Epsilon"
089: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001aq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar"
090: + ".SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;"
091: + "L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u00006com.sun.xml.wss.saml.internal.s"
092: + "aml11.jaxb10.Transformst\u0000+http://java.sun.com/jaxb/xjc/dummy"
093: + "-elementssq\u0000~\u0000\u0000q\u0000~\u0000\u0010p\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\fppsq\u0000~\u0000\u0013q\u0000~\u0000\u0010ps"
094: + "q\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000:com.sun.xml.wss.saml.inte"
095: + "rnal.saml11.jaxb10.TransformsTypeq\u0000~\u0000$sq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psr"
096: + "\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng"
097: + "/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util"
098: + "/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000"
099: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000"
100: + "\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
101: + "\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnames"
102: + "paceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/dat"
103: + "atype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XM"
104: + "LSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProces"
105: + "sor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpa"
106: + "ceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$N"
107: + "ullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u0000\u001bcom.sun.msv.util."
108: + "StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xp"
109: + "q\u0000~\u0000:q\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-i"
110: + "nstanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\nTransformst\u0000\"http://www.w3.org/2000/09/"
111: + "xmldsig#q\u0000~\u0000\u001fsq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010psq\u0000~\u0000/ppsr\u0000#com.sun.msv.dat"
112: + "atype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00004q\u0000~\u00009t\u0000\u0006anyURIq\u0000~\u0000=q\u0000~\u0000"
113: + "?sq\u0000~\u0000@q\u0000~\u0000Mq\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004Typet\u0000\u0000q\u0000~\u0000\u001fsq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000"
114: + "~\u0000Jsq\u0000~\u0000 t\u0000\u0003URIq\u0000~\u0000Qq\u0000~\u0000\u001fsq\u0000~\u0000\fppsq\u0000~\u0000\u0016q\u0000~\u0000\u0010pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001f"
115: + "sq\u0000~\u0000 t\u0000\u000fRetrievalMethodq\u0000~\u0000Gsr\u0000\"com.sun.msv.grammar.Express"
116: + "ionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Express"
117: + "ionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$"
118: + "ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lco"
119: + "m/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u000e\u0001pq\u0000~\u0000\nq\u0000~\u0000&q\u0000~\u0000\u0012q\u0000~\u0000"
120: + "(q\u0000~\u0000\u0015q\u0000~\u0000)q\u0000~\u0000Rq\u0000~\u0000\u000bq\u0000~\u0000\tq\u0000~\u0000-q\u0000~\u0000Vq\u0000~\u0000Hq\u0000~\u0000\rq\u0000~\u0000\u000ex"));
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.RetrievalMethodImpl.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 1:
154: attIdx = context.getAttribute("", "Type");
155: if (attIdx >= 0) {
156: context.consumeAttribute(attIdx);
157: context.getCurrentHandler().enterElement(
158: ___uri, ___local, ___qname, __atts);
159: return;
160: }
161: attIdx = context.getAttribute("", "URI");
162: if (attIdx >= 0) {
163: context.consumeAttribute(attIdx);
164: context.getCurrentHandler().enterElement(
165: ___uri, ___local, ___qname, __atts);
166: return;
167: }
168: if (("Transforms" == ___local)
169: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
170: spawnHandlerFromEnterElement(
171: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
172: context)), 2, ___uri, ___local,
173: ___qname, __atts);
174: return;
175: }
176: if (("Transforms" == ___local)
177: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
178: spawnHandlerFromEnterElement(
179: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
180: context)), 2, ___uri, ___local,
181: ___qname, __atts);
182: return;
183: }
184: spawnHandlerFromEnterElement(
185: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
186: context)), 2, ___uri, ___local,
187: ___qname, __atts);
188: return;
189: case 0:
190: if (("RetrievalMethod" == ___local)
191: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
192: context.pushAttributes(__atts, false);
193: state = 1;
194: return;
195: }
196: break;
197: case 3:
198: revertToParentFromEnterElement(___uri, ___local,
199: ___qname, __atts);
200: return;
201: }
202: super .enterElement(___uri, ___local, ___qname, __atts);
203: break;
204: }
205: }
206:
207: public void leaveElement(java.lang.String ___uri,
208: java.lang.String ___local, java.lang.String ___qname)
209: throws org.xml.sax.SAXException {
210: int attIdx;
211: outer: while (true) {
212: switch (state) {
213: case 1:
214: attIdx = context.getAttribute("", "Type");
215: if (attIdx >= 0) {
216: context.consumeAttribute(attIdx);
217: context.getCurrentHandler().leaveElement(
218: ___uri, ___local, ___qname);
219: return;
220: }
221: attIdx = context.getAttribute("", "URI");
222: if (attIdx >= 0) {
223: context.consumeAttribute(attIdx);
224: context.getCurrentHandler().leaveElement(
225: ___uri, ___local, ___qname);
226: return;
227: }
228: spawnHandlerFromLeaveElement(
229: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
230: context)), 2, ___uri, ___local,
231: ___qname);
232: return;
233: case 2:
234: if (("RetrievalMethod" == ___local)
235: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
236: context.popAttributes();
237: state = 3;
238: return;
239: }
240: break;
241: case 3:
242: revertToParentFromLeaveElement(___uri, ___local,
243: ___qname);
244: return;
245: }
246: super .leaveElement(___uri, ___local, ___qname);
247: break;
248: }
249: }
250:
251: public void enterAttribute(java.lang.String ___uri,
252: java.lang.String ___local, java.lang.String ___qname)
253: throws org.xml.sax.SAXException {
254: int attIdx;
255: outer: while (true) {
256: switch (state) {
257: case 1:
258: if (("Type" == ___local) && ("" == ___uri)) {
259: spawnHandlerFromEnterAttribute(
260: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
261: context)), 2, ___uri, ___local,
262: ___qname);
263: return;
264: }
265: if (("URI" == ___local) && ("" == ___uri)) {
266: spawnHandlerFromEnterAttribute(
267: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
268: context)), 2, ___uri, ___local,
269: ___qname);
270: return;
271: }
272: spawnHandlerFromEnterAttribute(
273: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
274: context)), 2, ___uri, ___local,
275: ___qname);
276: return;
277: case 3:
278: revertToParentFromEnterAttribute(___uri, ___local,
279: ___qname);
280: return;
281: }
282: super .enterAttribute(___uri, ___local, ___qname);
283: break;
284: }
285: }
286:
287: public void leaveAttribute(java.lang.String ___uri,
288: java.lang.String ___local, java.lang.String ___qname)
289: throws org.xml.sax.SAXException {
290: int attIdx;
291: outer: while (true) {
292: switch (state) {
293: case 1:
294: attIdx = context.getAttribute("", "Type");
295: if (attIdx >= 0) {
296: context.consumeAttribute(attIdx);
297: context.getCurrentHandler().leaveAttribute(
298: ___uri, ___local, ___qname);
299: return;
300: }
301: attIdx = context.getAttribute("", "URI");
302: if (attIdx >= 0) {
303: context.consumeAttribute(attIdx);
304: context.getCurrentHandler().leaveAttribute(
305: ___uri, ___local, ___qname);
306: return;
307: }
308: spawnHandlerFromLeaveAttribute(
309: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
310: context)), 2, ___uri, ___local,
311: ___qname);
312: return;
313: case 3:
314: revertToParentFromLeaveAttribute(___uri, ___local,
315: ___qname);
316: return;
317: }
318: super .leaveAttribute(___uri, ___local, ___qname);
319: break;
320: }
321: }
322:
323: public void handleText(final java.lang.String value)
324: throws org.xml.sax.SAXException {
325: int attIdx;
326: outer: while (true) {
327: try {
328: switch (state) {
329: case 1:
330: attIdx = context.getAttribute("", "Type");
331: if (attIdx >= 0) {
332: context.consumeAttribute(attIdx);
333: context.getCurrentHandler().text(value);
334: return;
335: }
336: attIdx = context.getAttribute("", "URI");
337: if (attIdx >= 0) {
338: context.consumeAttribute(attIdx);
339: context.getCurrentHandler().text(value);
340: return;
341: }
342: spawnHandlerFromText(
343: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.RetrievalMethodImpl.this ).new Unmarshaller(
344: context)), 2, value);
345: return;
346: case 3:
347: revertToParentFromText(value);
348: return;
349: }
350: } catch (java.lang.RuntimeException e) {
351: handleUnexpectedTextException(value, e);
352: }
353: break;
354: }
355: }
356:
357: }
358:
359: }
|