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 KeyValueImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.KeyValue,
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.KeyValue.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 "KeyValue";
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.KeyValueImpl.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: "KeyValue");
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.KeyValue.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\u001ccom.sun.msv.g"
080: + "rammar.MixedExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000"
081: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
082: + "p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\rppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsr\u0000 com.sun.msv"
083: + ".grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u000bsr\u0000\u0011java.lang.Boolean\u00cd"
084: + " r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000"
085: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0015psr\u00002com.sun"
086: + ".msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004"
087: + "sq\u0000~\u0000\u0014\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
088: + "r\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv"
089: + ".grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u001aq"
090: + "\u0000~\u0000\u001fsr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tloc"
091: + "alNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u00007com."
092: + "sun.xml.wss.saml.internal.saml11.jaxb10.DSAKeyValuet\u0000+http:/"
093: + "/java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0012"
094: + "q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u00007com.sun.xml.wss.sa"
095: + "ml.internal.saml11.jaxb10.RSAKeyValueq\u0000~\u0000$sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0016ppq"
096: + "\u0000~\u0000\u0019sr\u0000\'com.sun.msv.grammar.DifferenceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000"
097: + "\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001cq\u0000~\u0000\u001dsr\u0000#com.sun.msv.grammar.Choic"
098: + "eNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001csr\u0000&com.sun"
099: + ".msv.grammar.NamespaceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIq\u0000~"
100: + "\u0000!xq\u0000~\u0000\u001ct\u0000\u0000sq\u0000~\u00001t\u0000\"http://www.w3.org/2000/09/xmldsig#sq\u0000~\u00001"
101: + "q\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000"
102: + "\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003"
103: + "L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.m"
104: + "sv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype"
105: + ".xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xs"
106: + "d.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSData"
107: + "typeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwh"
108: + "iteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt"
109: + "\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.da"
110: + "tatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.su"
111: + "n.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.s"
112: + "un.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004"
113: + "q\u0000~\u0000\u0015psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalName"
114: + "q\u0000~\u0000!L\u0000\fnamespaceURIq\u0000~\u0000!xpq\u0000~\u0000Dq\u0000~\u0000Csq\u0000~\u0000 t\u0000\u0004typet\u0000)http://"
115: + "www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\bKeyValueq\u0000~\u0000"
116: + "5sr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTabl"
117: + "et\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-com"
118: + ".sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005coun"
119: + "tB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Expression"
120: + "Pool;xp\u0000\u0000\u0000\t\u0001pq\u0000~\u0000\tq\u0000~\u0000\u0011q\u0000~\u0000&q\u0000~\u0000\fq\u0000~\u0000\u0013q\u0000~\u0000\'q\u0000~\u0000\u000eq\u0000~\u00007q\u0000~\u0000\u000fx"));
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.KeyValueImpl.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 0:
154: if (("KeyValue" == ___local)
155: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
156: context.pushAttributes(__atts, true);
157: state = 1;
158: return;
159: }
160: break;
161: case 1:
162: if (("DSAKeyValue" == ___local)
163: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
164: spawnHandlerFromEnterElement(
165: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
166: context)), 2, ___uri, ___local,
167: ___qname, __atts);
168: return;
169: }
170: if (("RSAKeyValue" == ___local)
171: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
172: spawnHandlerFromEnterElement(
173: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
174: context)), 2, ___uri, ___local,
175: ___qname, __atts);
176: return;
177: }
178: if (!(("" == ___uri) || ("http://www.w3.org/2000/09/xmldsig#" == ___uri))) {
179: spawnHandlerFromEnterElement(
180: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
181: context)), 2, ___uri, ___local,
182: ___qname, __atts);
183: return;
184: }
185: spawnHandlerFromEnterElement(
186: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
187: context)), 2, ___uri, ___local,
188: ___qname, __atts);
189: return;
190: case 3:
191: revertToParentFromEnterElement(___uri, ___local,
192: ___qname, __atts);
193: return;
194: }
195: super .enterElement(___uri, ___local, ___qname, __atts);
196: break;
197: }
198: }
199:
200: public void leaveElement(java.lang.String ___uri,
201: java.lang.String ___local, java.lang.String ___qname)
202: throws org.xml.sax.SAXException {
203: int attIdx;
204: outer: while (true) {
205: switch (state) {
206: case 2:
207: if (("KeyValue" == ___local)
208: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
209: context.popAttributes();
210: state = 3;
211: return;
212: }
213: break;
214: case 1:
215: spawnHandlerFromLeaveElement(
216: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
217: context)), 2, ___uri, ___local,
218: ___qname);
219: return;
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: spawnHandlerFromEnterAttribute(
238: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
239: context)), 2, ___uri, ___local,
240: ___qname);
241: return;
242: case 3:
243: revertToParentFromEnterAttribute(___uri, ___local,
244: ___qname);
245: return;
246: }
247: super .enterAttribute(___uri, ___local, ___qname);
248: break;
249: }
250: }
251:
252: public void leaveAttribute(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 1:
259: spawnHandlerFromLeaveAttribute(
260: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
261: context)), 2, ___uri, ___local,
262: ___qname);
263: return;
264: case 3:
265: revertToParentFromLeaveAttribute(___uri, ___local,
266: ___qname);
267: return;
268: }
269: super .leaveAttribute(___uri, ___local, ___qname);
270: break;
271: }
272: }
273:
274: public void handleText(final java.lang.String value)
275: throws org.xml.sax.SAXException {
276: int attIdx;
277: outer: while (true) {
278: try {
279: switch (state) {
280: case 1:
281: spawnHandlerFromText(
282: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.KeyValueImpl.this ).new Unmarshaller(
283: context)), 2, value);
284: return;
285: case 3:
286: revertToParentFromText(value);
287: return;
288: }
289: } catch (java.lang.RuntimeException e) {
290: handleUnexpectedTextException(value, e);
291: }
292: break;
293: }
294: }
295:
296: }
297:
298: }
|