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 SignatureValueImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SignatureValue,
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.SignatureValue.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 "SignatureValue";
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.SignatureValueImpl.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: "SignatureValue");
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.SignatureValue.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\u001bcom.s"
080: + "un.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dataty"
081: + "pe/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/String"
082: + "Pair;xq\u0000~\u0000\u0004ppsr\u0000)com.sun.msv.datatype.xsd.Base64BinaryType\u0000\u0000"
083: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.BinaryBaseType\u00a7\u00ce\u000e\u0097^\u00afW\u0011"
084: + "\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
085: + "xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com."
086: + "sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUr"
087: + "it\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/s"
088: + "un/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.o"
089: + "rg/2001/XMLSchemat\u0000\fbase64Binarysr\u00005com.sun.msv.datatype.xsd"
090: + ".WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.data"
091: + "type.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.gra"
092: + "mmar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sr\u0000\u0011java.l"
093: + "ang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\u001bcom.sun.msv.util.Strin"
094: + "gPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018"
095: + "q\u0000~\u0000\u0017sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000"
096: + " com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tna"
097: + "meClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u001fpsq\u0000~\u0000\u000bppsr\u0000\u001fcom.sun.msv.datatype.xsd"
098: + ".IDType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.NcnameType\u0000\u0000\u0000"
099: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"com.sun.msv.datatype.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000"
100: + "#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVa"
101: + "lidxq\u0000~\u0000\u0011q\u0000~\u0000\u0017t\u0000\u0002IDq\u0000~\u0000\u001b\u0000q\u0000~\u0000\u001dsq\u0000~\u0000 q\u0000~\u0000,q\u0000~\u0000\u0017sr\u0000#com.sun.ms"
102: + "v.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fname"
103: + "spaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt"
104: + "\u0000\u0002Idt\u0000\u0000sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000"
105: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u001e\u0001q\u0000~\u00004sq\u0000~\u0000\"ppsq\u0000~\u0000$q\u0000~\u0000\u001fpsq\u0000~\u0000\u000bppsr\u0000\""
106: + "com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~\u0000\u0017t\u0000\u0005Q"
107: + "Nameq\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000 q\u0000~\u0000;q\u0000~\u0000\u0017sq\u0000~\u0000.t\u0000\u0004typet\u0000)http://www.w3."
108: + "org/2001/XMLSchema-instanceq\u0000~\u00004sq\u0000~\u0000.t\u0000\u000eSignatureValuet\u0000\"ht"
109: + "tp://www.w3.org/2000/09/xmldsig#sr\u0000\"com.sun.msv.grammar.Expr"
110: + "essionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Expr"
111: + "essionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPo"
112: + "ol$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$"
113: + "Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000#q\u0000~\u0000\nq\u0000~\u00006q"
114: + "\u0000~\u0000\tx"));
115: }
116: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
117: schemaFragment);
118: }
119:
120: public class Unmarshaller
121: extends
122: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
123:
124: public Unmarshaller(
125: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
126: super (context, "----");
127: }
128:
129: protected Unmarshaller(
130: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
131: int startState) {
132: this (context);
133: state = startState;
134: }
135:
136: public java.lang.Object owner() {
137: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueImpl.this ;
138: }
139:
140: public void enterElement(java.lang.String ___uri,
141: java.lang.String ___local, java.lang.String ___qname,
142: org.xml.sax.Attributes __atts)
143: throws org.xml.sax.SAXException {
144: int attIdx;
145: outer: while (true) {
146: switch (state) {
147: case 0:
148: if (("SignatureValue" == ___local)
149: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
150: context.pushAttributes(__atts, true);
151: state = 1;
152: return;
153: }
154: break;
155: case 3:
156: revertToParentFromEnterElement(___uri, ___local,
157: ___qname, __atts);
158: return;
159: case 1:
160: attIdx = context.getAttribute("", "Id");
161: if (attIdx >= 0) {
162: context.consumeAttribute(attIdx);
163: context.getCurrentHandler().enterElement(
164: ___uri, ___local, ___qname, __atts);
165: return;
166: }
167: break;
168: }
169: super .enterElement(___uri, ___local, ___qname, __atts);
170: break;
171: }
172: }
173:
174: public void leaveElement(java.lang.String ___uri,
175: java.lang.String ___local, java.lang.String ___qname)
176: throws org.xml.sax.SAXException {
177: int attIdx;
178: outer: while (true) {
179: switch (state) {
180: case 2:
181: if (("SignatureValue" == ___local)
182: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
183: context.popAttributes();
184: state = 3;
185: return;
186: }
187: break;
188: case 3:
189: revertToParentFromLeaveElement(___uri, ___local,
190: ___qname);
191: return;
192: case 1:
193: attIdx = context.getAttribute("", "Id");
194: if (attIdx >= 0) {
195: context.consumeAttribute(attIdx);
196: context.getCurrentHandler().leaveElement(
197: ___uri, ___local, ___qname);
198: return;
199: }
200: break;
201: }
202: super .leaveElement(___uri, ___local, ___qname);
203: break;
204: }
205: }
206:
207: public void enterAttribute(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 3:
214: revertToParentFromEnterAttribute(___uri, ___local,
215: ___qname);
216: return;
217: case 1:
218: if (("Id" == ___local) && ("" == ___uri)) {
219: spawnHandlerFromEnterAttribute(
220: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueImpl.this ).new Unmarshaller(
221: context)), 2, ___uri, ___local,
222: ___qname);
223: return;
224: }
225: break;
226: }
227: super .enterAttribute(___uri, ___local, ___qname);
228: break;
229: }
230: }
231:
232: public void leaveAttribute(java.lang.String ___uri,
233: java.lang.String ___local, java.lang.String ___qname)
234: throws org.xml.sax.SAXException {
235: int attIdx;
236: outer: while (true) {
237: switch (state) {
238: case 3:
239: revertToParentFromLeaveAttribute(___uri, ___local,
240: ___qname);
241: return;
242: case 1:
243: attIdx = context.getAttribute("", "Id");
244: if (attIdx >= 0) {
245: context.consumeAttribute(attIdx);
246: context.getCurrentHandler().leaveAttribute(
247: ___uri, ___local, ___qname);
248: return;
249: }
250: break;
251: }
252: super .leaveAttribute(___uri, ___local, ___qname);
253: break;
254: }
255: }
256:
257: public void handleText(final java.lang.String value)
258: throws org.xml.sax.SAXException {
259: int attIdx;
260: outer: while (true) {
261: try {
262: switch (state) {
263: case 3:
264: revertToParentFromText(value);
265: return;
266: case 1:
267: attIdx = context.getAttribute("", "Id");
268: if (attIdx >= 0) {
269: context.consumeAttribute(attIdx);
270: context.getCurrentHandler().text(value);
271: return;
272: }
273: spawnHandlerFromText(
274: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureValueImpl.this ).new Unmarshaller(
275: context)), 2, value);
276: return;
277: }
278: } catch (java.lang.RuntimeException e) {
279: handleUnexpectedTextException(value, e);
280: }
281: break;
282: }
283: }
284:
285: }
286:
287: }
|