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 X509DataImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.X509Data,
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.X509Data.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 "X509Data";
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.X509DataImpl.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: "X509Data");
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.X509Data.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\u0004ppsr\u0000\u001dcom.sun.msv.grammar.Choi"
082: + "ceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\rppsq\u0000~\u0000\rppsq\u0000~\u0000\rppsq\u0000~\u0000\rppsq\u0000~"
083: + "\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuex"
084: + "p\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000"
085: + "\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0017psr\u00002com.sun.msv.grammar.Expres"
086: + "sion$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0016\u0001q\u0000~\u0000\u001bsr\u0000 com"
087: + ".sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.gram"
088: + "mar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression"
089: + "$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001cq\u0000~\u0000!sr\u0000#com.sun.msv"
090: + ".grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang"
091: + "/String;L\u0000\fnamespaceURIq\u0000~\u0000#xq\u0000~\u0000\u001et\u0000Icom.sun.xml.wss.saml.in"
092: + "ternal.saml11.jaxb10.X509DataType.X509IssuerSerialt\u0000+http://"
093: + "java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nq"
094: + "\u0000~\u0000\u0017psq\u0000~\u0000\u0018q\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"t\u0000@com.sun.xml.wss.sam"
095: + "l.internal.saml11.jaxb10.X509DataType.X509SKIq\u0000~\u0000&sq\u0000~\u0000\u0000pp\u0000s"
096: + "q\u0000~\u0000\rppsq\u0000~\u0000\nq\u0000~\u0000\u0017psq\u0000~\u0000\u0018q\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"t\u0000Hcom.s"
097: + "un.xml.wss.saml.internal.saml11.jaxb10.X509DataType.X509Subj"
098: + "ectNameq\u0000~\u0000&sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nq\u0000~\u0000\u0017psq\u0000~\u0000\u0018q\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000"
099: + "~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"t\u0000Hcom.sun.xml.wss.saml.internal.saml11.jaxb10"
100: + ".X509DataType.X509Certificateq\u0000~\u0000&sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\nq\u0000~"
101: + "\u0000\u0017psq\u0000~\u0000\u0018q\u0000~\u0000\u0017pq\u0000~\u0000\u001bq\u0000~\u0000\u001fq\u0000~\u0000!sq\u0000~\u0000\"t\u0000@com.sun.xml.wss.saml."
102: + "internal.saml11.jaxb10.X509DataType.X509CRLq\u0000~\u0000&sq\u0000~\u0000\u0000pp\u0000sq\u0000"
103: + "~\u0000\u0018ppq\u0000~\u0000\u001bsr\u0000\'com.sun.msv.grammar.DifferenceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
104: + "\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001eq\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar"
105: + ".ChoiceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001esr\u0000&c"
106: + "om.sun.msv.grammar.NamespaceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespace"
107: + "URIq\u0000~\u0000#xq\u0000~\u0000\u001et\u0000\u0000sq\u0000~\u0000Et\u0000\"http://www.w3.org/2000/09/xmldsig#"
108: + "sq\u0000~\u0000Eq\u0000~\u0000&sq\u0000~\u0000\rppsq\u0000~\u0000\u0018q\u0000~\u0000\u0017psr\u0000\u001bcom.sun.msv.grammar.DataE"
109: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006excep"
110: + "tq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com"
111: + ".sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.da"
112: + "tatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datat"
113: + "ype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd."
114: + "XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000#L\u0000\btypeNameq\u0000~\u0000"
115: + "#L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcess"
116: + "or;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun."
117: + "msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,"
118: + "com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000"
119: + "0com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
120: + "xq\u0000~\u0000\u0004q\u0000~\u0000\u0017psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tloc"
121: + "alNameq\u0000~\u0000#L\u0000\fnamespaceURIq\u0000~\u0000#xpq\u0000~\u0000Xq\u0000~\u0000Wsq\u0000~\u0000\"t\u0000\u0004typet\u0000)h"
122: + "ttp://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000!sq\u0000~\u0000\"t\u0000\bX509Da"
123: + "taq\u0000~\u0000Isr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\be"
124: + "xpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xps"
125: + "r\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I"
126: + "\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expr"
127: + "essionPool;xp\u0000\u0000\u0000\u0012\u0001pq\u0000~\u0000\u0014q\u0000~\u0000(q\u0000~\u0000.q\u0000~\u0000\u0011q\u0000~\u00004q\u0000~\u0000:q\u0000~\u0000\tq\u0000~\u0000\u0015q"
128: + "\u0000~\u0000)q\u0000~\u0000/q\u0000~\u00005q\u0000~\u0000;q\u0000~\u0000\u000eq\u0000~\u0000\fq\u0000~\u0000\u000fq\u0000~\u0000Kq\u0000~\u0000\u0012q\u0000~\u0000\u0010x"));
129: }
130: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
131: schemaFragment);
132: }
133:
134: public class Unmarshaller
135: extends
136: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
137:
138: public Unmarshaller(
139: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
140: super (context, "----");
141: }
142:
143: protected Unmarshaller(
144: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
145: int startState) {
146: this (context);
147: state = startState;
148: }
149:
150: public java.lang.Object owner() {
151: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ;
152: }
153:
154: public void enterElement(java.lang.String ___uri,
155: java.lang.String ___local, java.lang.String ___qname,
156: org.xml.sax.Attributes __atts)
157: throws org.xml.sax.SAXException {
158: int attIdx;
159: outer: while (true) {
160: switch (state) {
161: case 1:
162: if (("X509IssuerSerial" == ___local)
163: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
164: spawnHandlerFromEnterElement(
165: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
166: context)), 2, ___uri, ___local,
167: ___qname, __atts);
168: return;
169: }
170: if (("X509SKI" == ___local)
171: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
172: spawnHandlerFromEnterElement(
173: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
174: context)), 2, ___uri, ___local,
175: ___qname, __atts);
176: return;
177: }
178: if (("X509SubjectName" == ___local)
179: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
180: spawnHandlerFromEnterElement(
181: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
182: context)), 2, ___uri, ___local,
183: ___qname, __atts);
184: return;
185: }
186: if (("X509Certificate" == ___local)
187: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
188: spawnHandlerFromEnterElement(
189: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
190: context)), 2, ___uri, ___local,
191: ___qname, __atts);
192: return;
193: }
194: if (("X509CRL" == ___local)
195: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
196: spawnHandlerFromEnterElement(
197: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
198: context)), 2, ___uri, ___local,
199: ___qname, __atts);
200: return;
201: }
202: if (!(("" == ___uri) || ("http://www.w3.org/2000/09/xmldsig#" == ___uri))) {
203: spawnHandlerFromEnterElement(
204: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.X509DataImpl.this ).new Unmarshaller(
205: context)), 2, ___uri, ___local,
206: ___qname, __atts);
207: return;
208: }
209: break;
210: case 3:
211: revertToParentFromEnterElement(___uri, ___local,
212: ___qname, __atts);
213: return;
214: case 0:
215: if (("X509Data" == ___local)
216: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
217: context.pushAttributes(__atts, false);
218: state = 1;
219: return;
220: }
221: break;
222: }
223: super .enterElement(___uri, ___local, ___qname, __atts);
224: break;
225: }
226: }
227:
228: public void leaveElement(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 2:
235: if (("X509Data" == ___local)
236: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
237: context.popAttributes();
238: state = 3;
239: return;
240: }
241: break;
242: case 3:
243: revertToParentFromLeaveElement(___uri, ___local,
244: ___qname);
245: return;
246: }
247: super .leaveElement(___uri, ___local, ___qname);
248: break;
249: }
250: }
251:
252: public void enterAttribute(java.lang.String ___uri,
253: java.lang.String ___local, java.lang.String ___qname)
254: throws org.xml.sax.SAXException {
255: int attIdx;
256: outer: while (true) {
257: switch (state) {
258: case 3:
259: revertToParentFromEnterAttribute(___uri, ___local,
260: ___qname);
261: return;
262: }
263: super .enterAttribute(___uri, ___local, ___qname);
264: break;
265: }
266: }
267:
268: public void leaveAttribute(java.lang.String ___uri,
269: java.lang.String ___local, java.lang.String ___qname)
270: throws org.xml.sax.SAXException {
271: int attIdx;
272: outer: while (true) {
273: switch (state) {
274: case 3:
275: revertToParentFromLeaveAttribute(___uri, ___local,
276: ___qname);
277: return;
278: }
279: super .leaveAttribute(___uri, ___local, ___qname);
280: break;
281: }
282: }
283:
284: public void handleText(final java.lang.String value)
285: throws org.xml.sax.SAXException {
286: int attIdx;
287: outer: while (true) {
288: try {
289: switch (state) {
290: case 3:
291: revertToParentFromText(value);
292: return;
293: }
294: } catch (java.lang.RuntimeException e) {
295: handleUnexpectedTextException(value, e);
296: }
297: break;
298: }
299: }
300:
301: }
302:
303: }
|