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 SignedInfoImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SignedInfo,
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.SignedInfo.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 "SignedInfo";
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.SignedInfoImpl.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: "SignedInfo");
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.SignedInfo.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: + "q\u0000~\u0000\u0007ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bpps"
081: + "q\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
082: + "\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000"
083: + "~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.m"
084: + "sv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~"
085: + "\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0015psr\u00002com.sun.msv.grammar.Expression$AnyStringEx"
086: + "pression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0014\u0001q\u0000~\u0000\u0019sr\u0000 com.sun.msv.grammar"
087: + ".AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000"
088: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpressi"
089: + "on\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.SimpleN"
090: + "ameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnames"
091: + "paceURIq\u0000~\u0000!xq\u0000~\u0000\u001ct\u0000Bcom.sun.xml.wss.saml.internal.saml11.ja"
092: + "xb10.CanonicalizationMethodt\u0000+http://java.sun.com/jaxb/xjc/d"
093: + "ummy-elementssq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015ps"
094: + "q\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000Fcom.sun.xml.wss.saml.inte"
095: + "rnal.saml11.jaxb10.CanonicalizationMethodTypeq\u0000~\u0000$sq\u0000~\u0000\rppsq"
096: + "\u0000~\u0000\u0016q\u0000~\u0000\u0015psr\u0000\u001bcom.sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001f"
097: + "Lorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/"
098: + "sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd"
099: + ".QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAto"
100: + "micType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000"
101: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
102: + "\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000!L\u0000\btypeNameq\u0000~\u0000!L\u0000\nwhiteSpacet\u0000.Lcom"
103: + "/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3"
104: + ".org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.Whit"
105: + "eSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype."
106: + "xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar."
107: + "Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0015psr\u0000\u001bcom.s"
108: + "un.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000!L\u0000\fnamespa"
109: + "ceURIq\u0000~\u0000!xpq\u0000~\u0000:q\u0000~\u00009sq\u0000~\u0000 t\u0000\u0004typet\u0000)http://www.w3.org/2001"
110: + "/XMLSchema-instanceq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\u0016CanonicalizationMethodt\u0000\"ht"
111: + "tp://www.w3.org/2000/09/xmldsig#sq\u0000~\u0000\rppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000"
112: + "~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000;com.sun.xml.wss"
113: + ".saml.internal.saml11.jaxb10.SignatureMethodq\u0000~\u0000$sq\u0000~\u0000\u0000pp\u0000sq"
114: + "\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~"
115: + "\u0000\u001fsq\u0000~\u0000 t\u0000?com.sun.xml.wss.saml.internal.saml11.jaxb10.Signa"
116: + "tureMethodTypeq\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000 "
117: + "t\u0000\u000fSignatureMethodq\u0000~\u0000Gsq\u0000~\u0000\u0011ppsq\u0000~\u0000\rppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~"
118: + "\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000 t\u00005com.sun.xml.wss."
119: + "saml.internal.saml11.jaxb10.Referenceq\u0000~\u0000$sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007pps"
120: + "q\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\rppsq\u0000~\u0000\u0011q\u0000~\u0000\u0015psq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u0000\u0019q\u0000~\u0000\u001dq\u0000~\u0000\u001fsq\u0000~\u0000"
121: + " t\u00009com.sun.xml.wss.saml.internal.saml11.jaxb10.ReferenceTyp"
122: + "eq\u0000~\u0000$sq\u0000~\u0000\rppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\tReferenceq"
123: + "\u0000~\u0000Gsq\u0000~\u0000\rppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015psq\u0000~\u0000/ppsr\u0000\u001fcom.sun.msv.datatype.xsd"
124: + ".IDType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.NcnameType\u0000\u0000\u0000"
125: + "\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"
126: + "#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVa"
127: + "lidxq\u0000~\u00004q\u0000~\u00009t\u0000\u0002IDq\u0000~\u0000=\u0000q\u0000~\u0000?sq\u0000~\u0000@q\u0000~\u0000wq\u0000~\u00009sq\u0000~\u0000 t\u0000\u0002Idt\u0000\u0000"
128: + "q\u0000~\u0000\u001fsq\u0000~\u0000\rppsq\u0000~\u0000\u0016q\u0000~\u0000\u0015pq\u0000~\u00002q\u0000~\u0000Bq\u0000~\u0000\u001fsq\u0000~\u0000 t\u0000\nSignedInfoq"
129: + "\u0000~\u0000Gsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpT"
130: + "ablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHash;xpsr\u0000-"
131: + "com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005c"
132: + "ountB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/grammar/Express"
133: + "ionPool;xp\u0000\u0000\u0000\u001c\u0001pq\u0000~\u0000\fq\u0000~\u0000&q\u0000~\u0000Pq\u0000~\u0000dq\u0000~\u0000\u0010q\u0000~\u0000(q\u0000~\u0000Jq\u0000~\u0000Rq\u0000~\u0000"
134: + "^q\u0000~\u0000fq\u0000~\u0000\nq\u0000~\u0000\u0013q\u0000~\u0000)q\u0000~\u0000Kq\u0000~\u0000Sq\u0000~\u0000_q\u0000~\u0000gq\u0000~\u0000\tq\u0000~\u0000oq\u0000~\u0000[q\u0000~\u0000"
135: + "-q\u0000~\u0000Wq\u0000~\u0000kq\u0000~\u0000|q\u0000~\u0000\u000bq\u0000~\u0000\u000eq\u0000~\u0000Hq\u0000~\u0000\\x"));
136: }
137: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
138: schemaFragment);
139: }
140:
141: public class Unmarshaller
142: extends
143: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
144:
145: public Unmarshaller(
146: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
147: super (context, "----");
148: }
149:
150: protected Unmarshaller(
151: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
152: int startState) {
153: this (context);
154: state = startState;
155: }
156:
157: public java.lang.Object owner() {
158: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoImpl.this ;
159: }
160:
161: public void enterElement(java.lang.String ___uri,
162: java.lang.String ___local, java.lang.String ___qname,
163: org.xml.sax.Attributes __atts)
164: throws org.xml.sax.SAXException {
165: int attIdx;
166: outer: while (true) {
167: switch (state) {
168: case 1:
169: attIdx = context.getAttribute("", "Id");
170: if (attIdx >= 0) {
171: context.consumeAttribute(attIdx);
172: context.getCurrentHandler().enterElement(
173: ___uri, ___local, ___qname, __atts);
174: return;
175: }
176: if (("CanonicalizationMethod" == ___local)
177: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
178: spawnHandlerFromEnterElement(
179: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoImpl.this ).new Unmarshaller(
180: context)), 2, ___uri, ___local,
181: ___qname, __atts);
182: return;
183: }
184: if (("CanonicalizationMethod" == ___local)
185: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
186: spawnHandlerFromEnterElement(
187: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoImpl.this ).new Unmarshaller(
188: context)), 2, ___uri, ___local,
189: ___qname, __atts);
190: return;
191: }
192: break;
193: case 3:
194: revertToParentFromEnterElement(___uri, ___local,
195: ___qname, __atts);
196: return;
197: case 0:
198: if (("SignedInfo" == ___local)
199: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
200: context.pushAttributes(__atts, false);
201: state = 1;
202: return;
203: }
204: break;
205: }
206: super .enterElement(___uri, ___local, ___qname, __atts);
207: break;
208: }
209: }
210:
211: public void leaveElement(java.lang.String ___uri,
212: java.lang.String ___local, java.lang.String ___qname)
213: throws org.xml.sax.SAXException {
214: int attIdx;
215: outer: while (true) {
216: switch (state) {
217: case 1:
218: attIdx = context.getAttribute("", "Id");
219: if (attIdx >= 0) {
220: context.consumeAttribute(attIdx);
221: context.getCurrentHandler().leaveElement(
222: ___uri, ___local, ___qname);
223: return;
224: }
225: break;
226: case 2:
227: if (("SignedInfo" == ___local)
228: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
229: context.popAttributes();
230: state = 3;
231: return;
232: }
233: break;
234: case 3:
235: revertToParentFromLeaveElement(___uri, ___local,
236: ___qname);
237: return;
238: }
239: super .leaveElement(___uri, ___local, ___qname);
240: break;
241: }
242: }
243:
244: public void enterAttribute(java.lang.String ___uri,
245: java.lang.String ___local, java.lang.String ___qname)
246: throws org.xml.sax.SAXException {
247: int attIdx;
248: outer: while (true) {
249: switch (state) {
250: case 1:
251: if (("Id" == ___local) && ("" == ___uri)) {
252: spawnHandlerFromEnterAttribute(
253: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignedInfoImpl.this ).new Unmarshaller(
254: context)), 2, ___uri, ___local,
255: ___qname);
256: return;
257: }
258: break;
259: case 3:
260: revertToParentFromEnterAttribute(___uri, ___local,
261: ___qname);
262: return;
263: }
264: super .enterAttribute(___uri, ___local, ___qname);
265: break;
266: }
267: }
268:
269: public void leaveAttribute(java.lang.String ___uri,
270: java.lang.String ___local, java.lang.String ___qname)
271: throws org.xml.sax.SAXException {
272: int attIdx;
273: outer: while (true) {
274: switch (state) {
275: case 1:
276: attIdx = context.getAttribute("", "Id");
277: if (attIdx >= 0) {
278: context.consumeAttribute(attIdx);
279: context.getCurrentHandler().leaveAttribute(
280: ___uri, ___local, ___qname);
281: return;
282: }
283: break;
284: case 3:
285: revertToParentFromLeaveAttribute(___uri, ___local,
286: ___qname);
287: return;
288: }
289: super .leaveAttribute(___uri, ___local, ___qname);
290: break;
291: }
292: }
293:
294: public void handleText(final java.lang.String value)
295: throws org.xml.sax.SAXException {
296: int attIdx;
297: outer: while (true) {
298: try {
299: switch (state) {
300: case 1:
301: attIdx = context.getAttribute("", "Id");
302: if (attIdx >= 0) {
303: context.consumeAttribute(attIdx);
304: context.getCurrentHandler().text(value);
305: return;
306: }
307: break;
308: case 3:
309: revertToParentFromText(value);
310: return;
311: }
312: } catch (java.lang.RuntimeException e) {
313: handleUnexpectedTextException(value, e);
314: }
315: break;
316: }
317: }
318:
319: }
320:
321: }
|