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 SignatureMethodImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureMethodTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SignatureMethod,
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.SignatureMethod.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 "SignatureMethod";
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.SignatureMethodImpl.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: "SignatureMethod");
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.SignatureMethod.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\u001ccom.s"
080: + "un.msv.grammar.MixedExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.Un"
081: + "aryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsq\u0000~\u0000\u0007ppsr\u0000\u001dcom.sun.msv."
082: + "grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000sr\u0000\u0011java.lang.Bool"
083: + "ean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000p\u0000sq\u0000~\u0000\u000fppsr\u0000 com.sun.msv.grammar.O"
084: + "neOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\fq\u0000~\u0000\u0013psr\u0000 com.sun.msv.grammar.At"
085: + "tributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0013"
086: + "psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000"
087: + "\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0012\u0001q\u0000~\u0000\u001asr\u0000 com.sun.msv.grammar.AnyNameClass"
088: + "\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\u0000xpsr\u0000"
089: + "0com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
090: + "xq\u0000~\u0000\u0004q\u0000~\u0000\u001bq\u0000~\u0000 sr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000"
091: + "\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000~\u0000\"x"
092: + "q\u0000~\u0000\u001dt\u0000Pcom.sun.xml.wss.saml.internal.saml11.jaxb10.Signatur"
093: + "eMethodType.HMACOutputLengtht\u0000+http://java.sun.com/jaxb/xjc/"
094: + "dummy-elementsq\u0000~\u0000 sq\u0000~\u0000\u000fppsq\u0000~\u0000\u0015q\u0000~\u0000\u0013psq\u0000~\u0000\u0000q\u0000~\u0000\u0013p\u0000sq\u0000~\u0000\u0017pp"
095: + "q\u0000~\u0000\u001asr\u0000\'com.sun.msv.grammar.DifferenceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L"
096: + "\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001dq\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.Choi"
097: + "ceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u001dsr\u0000&com.su"
098: + "n.msv.grammar.NamespaceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIq\u0000"
099: + "~\u0000\"xq\u0000~\u0000\u001dt\u0000\u0000sq\u0000~\u0000.t\u0000\"http://www.w3.org/2000/09/xmldsig#sq\u0000~\u0000"
100: + ".q\u0000~\u0000%q\u0000~\u0000 sq\u0000~\u0000\u0017ppsr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
101: + "\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004nam"
102: + "et\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000#com.sun.msv.dat"
103: + "atype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd."
104: + "BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.Con"
105: + "creteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeI"
106: + "mpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\"L\u0000\btypeNameq\u0000~\u0000\"L\u0000\nwhiteSp"
107: + "acet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 htt"
108: + "p://www.w3.org/2001/XMLSchemat\u0000\u0006anyURIsr\u00005com.sun.msv.dataty"
109: + "pe.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.ms"
110: + "v.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.m"
111: + "sv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000"
112: + "\u0013psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000"
113: + "\"L\u0000\fnamespaceURIq\u0000~\u0000\"xpq\u0000~\u0000@q\u0000~\u0000?sq\u0000~\u0000!t\u0000\tAlgorithmq\u0000~\u00000sq\u0000~"
114: + "\u0000\u000fppsq\u0000~\u0000\u0017q\u0000~\u0000\u0013psq\u0000~\u00005ppsr\u0000\"com.sun.msv.datatype.xsd.QnameTy"
115: + "pe\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000:q\u0000~\u0000?t\u0000\u0005QNameq\u0000~\u0000Cq\u0000~\u0000Esq\u0000~\u0000Fq\u0000~\u0000Oq\u0000~\u0000?sq"
116: + "\u0000~\u0000!t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000 "
117: + "sq\u0000~\u0000!t\u0000\u000fSignatureMethodq\u0000~\u00002sr\u0000\"com.sun.msv.grammar.Express"
118: + "ionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/Express"
119: + "ionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$"
120: + "ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lco"
121: + "m/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\n\u0001pq\u0000~\u0000\'q\u0000~\u0000\tq\u0000~\u0000\u0014q\u0000~\u0000"
122: + "\u0016q\u0000~\u0000\u000eq\u0000~\u0000&q\u0000~\u0000\nq\u0000~\u0000Jq\u0000~\u0000\u0010q\u0000~\u0000\rx"));
123: }
124: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
125: schemaFragment);
126: }
127:
128: public class Unmarshaller
129: extends
130: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
131:
132: public Unmarshaller(
133: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
134: super (context, "----");
135: }
136:
137: protected Unmarshaller(
138: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
139: int startState) {
140: this (context);
141: state = startState;
142: }
143:
144: public java.lang.Object owner() {
145: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureMethodImpl.this ;
146: }
147:
148: public void enterElement(java.lang.String ___uri,
149: java.lang.String ___local, java.lang.String ___qname,
150: org.xml.sax.Attributes __atts)
151: throws org.xml.sax.SAXException {
152: int attIdx;
153: outer: while (true) {
154: switch (state) {
155: case 0:
156: if (("SignatureMethod" == ___local)
157: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
158: context.pushAttributes(__atts, true);
159: state = 1;
160: return;
161: }
162: break;
163: case 3:
164: revertToParentFromEnterElement(___uri, ___local,
165: ___qname, __atts);
166: return;
167: case 1:
168: attIdx = context.getAttribute("", "Algorithm");
169: if (attIdx >= 0) {
170: context.consumeAttribute(attIdx);
171: context.getCurrentHandler().enterElement(
172: ___uri, ___local, ___qname, __atts);
173: return;
174: }
175: break;
176: }
177: super .enterElement(___uri, ___local, ___qname, __atts);
178: break;
179: }
180: }
181:
182: public void leaveElement(java.lang.String ___uri,
183: java.lang.String ___local, java.lang.String ___qname)
184: throws org.xml.sax.SAXException {
185: int attIdx;
186: outer: while (true) {
187: switch (state) {
188: case 2:
189: if (("SignatureMethod" == ___local)
190: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
191: context.popAttributes();
192: state = 3;
193: return;
194: }
195: break;
196: case 3:
197: revertToParentFromLeaveElement(___uri, ___local,
198: ___qname);
199: return;
200: case 1:
201: attIdx = context.getAttribute("", "Algorithm");
202: if (attIdx >= 0) {
203: context.consumeAttribute(attIdx);
204: context.getCurrentHandler().leaveElement(
205: ___uri, ___local, ___qname);
206: return;
207: }
208: break;
209: }
210: super .leaveElement(___uri, ___local, ___qname);
211: break;
212: }
213: }
214:
215: public void enterAttribute(java.lang.String ___uri,
216: java.lang.String ___local, java.lang.String ___qname)
217: throws org.xml.sax.SAXException {
218: int attIdx;
219: outer: while (true) {
220: switch (state) {
221: case 3:
222: revertToParentFromEnterAttribute(___uri, ___local,
223: ___qname);
224: return;
225: case 1:
226: if (("Algorithm" == ___local) && ("" == ___uri)) {
227: spawnHandlerFromEnterAttribute(
228: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureMethodTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignatureMethodImpl.this ).new Unmarshaller(
229: context)), 2, ___uri, ___local,
230: ___qname);
231: return;
232: }
233: break;
234: }
235: super .enterAttribute(___uri, ___local, ___qname);
236: break;
237: }
238: }
239:
240: public void leaveAttribute(java.lang.String ___uri,
241: java.lang.String ___local, java.lang.String ___qname)
242: throws org.xml.sax.SAXException {
243: int attIdx;
244: outer: while (true) {
245: switch (state) {
246: case 3:
247: revertToParentFromLeaveAttribute(___uri, ___local,
248: ___qname);
249: return;
250: case 1:
251: attIdx = context.getAttribute("", "Algorithm");
252: if (attIdx >= 0) {
253: context.consumeAttribute(attIdx);
254: context.getCurrentHandler().leaveAttribute(
255: ___uri, ___local, ___qname);
256: return;
257: }
258: break;
259: }
260: super .leaveAttribute(___uri, ___local, ___qname);
261: break;
262: }
263: }
264:
265: public void handleText(final java.lang.String value)
266: throws org.xml.sax.SAXException {
267: int attIdx;
268: outer: while (true) {
269: try {
270: switch (state) {
271: case 3:
272: revertToParentFromText(value);
273: return;
274: case 1:
275: attIdx = context.getAttribute("", "Algorithm");
276: if (attIdx >= 0) {
277: context.consumeAttribute(attIdx);
278: context.getCurrentHandler().text(value);
279: return;
280: }
281: break;
282: }
283: } catch (java.lang.RuntimeException e) {
284: handleUnexpectedTextException(value, e);
285: }
286: break;
287: }
288: }
289:
290: }
291:
292: }
|