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 SignaturePropertiesImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SignatureProperties,
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.SignatureProperties.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 "SignatureProperties";
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.SignaturePropertiesImpl.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: "SignatureProperties");
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.SignatureProperties.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 com.s"
080: + "un.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gramma"
081: + "r.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.gram"
082: + "mar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u000bsr\u0000\u0011j"
083: + "ava.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.gramm"
084: + "ar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004"
085: + "q\u0000~\u0000\u0014psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression"
086: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0013\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar.AnyName"
087: + "Class\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\u0000"
088: + "xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000"
089: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0019q\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNameClass"
090: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq"
091: + "\u0000~\u0000 xq\u0000~\u0000\u001bt\u0000=com.sun.xml.wss.saml.internal.saml11.jaxb10.Sig"
092: + "naturePropertyt\u0000+http://java.sun.com/jaxb/xjc/dummy-elements"
093: + "sq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u0007ppsq\u0000~\u0000\u0000pp\u0000sq\u0000~\u0000\u000eppsq\u0000~\u0000\u000bq\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000"
094: + "~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000Acom.sun.xml.wss.saml.internal.saml11.j"
095: + "axb10.SignaturePropertyTypeq\u0000~\u0000#sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psr\u0000\u001bcom."
096: + "sun.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datat"
097: + "ype/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/Strin"
098: + "gPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
099: + "\u0002\u0000\u0000xr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
100: + "xr\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com."
101: + "sun.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUr"
102: + "iq\u0000~\u0000 L\u0000\btypeNameq\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/"
103: + "xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchem"
104: + "at\u0000\u0005QNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Co"
105: + "llapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProc"
106: + "essor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSet"
107: + "Expression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0014psr\u0000\u001bcom.sun.msv.util.String"
108: + "Pair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q"
109: + "\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanc"
110: + "eq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0011SignaturePropertyt\u0000\"http://www.w3.org/2000/09"
111: + "/xmldsig#sq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psq\u0000~\u0000.ppsr\u0000\u001fcom.sun.msv.datatyp"
112: + "e.xsd.IDType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.NcnameTy"
113: + "pe\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"com.sun.msv.datatype.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
114: + "\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlw"
115: + "aysValidxq\u0000~\u00003q\u0000~\u00008t\u0000\u0002IDq\u0000~\u0000<\u0000q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000Oq\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0002"
116: + "Idt\u0000\u0000q\u0000~\u0000\u001esq\u0000~\u0000\u000eppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u00001q\u0000~\u0000Aq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0013Signat"
117: + "urePropertiesq\u0000~\u0000Fsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000"
118: + "\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Clo"
119: + "sedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7"
120: + "j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/g"
121: + "rammar/ExpressionPool;xp\u0000\u0000\u0000\f\u0001pq\u0000~\u0000Gq\u0000~\u0000%q\u0000~\u0000\u0011q\u0000~\u0000\'q\u0000~\u0000\u0012q\u0000~\u0000("
122: + "q\u0000~\u0000\rq\u0000~\u0000,q\u0000~\u0000\nq\u0000~\u0000Tq\u0000~\u0000\tq\u0000~\u0000\u000fx"));
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.SignaturePropertiesImpl.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 1:
156: attIdx = context.getAttribute("", "Id");
157: if (attIdx >= 0) {
158: context.consumeAttribute(attIdx);
159: context.getCurrentHandler().enterElement(
160: ___uri, ___local, ___qname, __atts);
161: return;
162: }
163: if (("SignatureProperty" == ___local)
164: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
165: spawnHandlerFromEnterElement(
166: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesImpl.this ).new Unmarshaller(
167: context)), 2, ___uri, ___local,
168: ___qname, __atts);
169: return;
170: }
171: if (("SignatureProperty" == ___local)
172: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
173: spawnHandlerFromEnterElement(
174: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesImpl.this ).new Unmarshaller(
175: context)), 2, ___uri, ___local,
176: ___qname, __atts);
177: return;
178: }
179: break;
180: case 3:
181: revertToParentFromEnterElement(___uri, ___local,
182: ___qname, __atts);
183: return;
184: case 0:
185: if (("SignatureProperties" == ___local)
186: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
187: context.pushAttributes(__atts, false);
188: state = 1;
189: return;
190: }
191: break;
192: }
193: super .enterElement(___uri, ___local, ___qname, __atts);
194: break;
195: }
196: }
197:
198: public void leaveElement(java.lang.String ___uri,
199: java.lang.String ___local, java.lang.String ___qname)
200: throws org.xml.sax.SAXException {
201: int attIdx;
202: outer: while (true) {
203: switch (state) {
204: case 1:
205: attIdx = context.getAttribute("", "Id");
206: if (attIdx >= 0) {
207: context.consumeAttribute(attIdx);
208: context.getCurrentHandler().leaveElement(
209: ___uri, ___local, ___qname);
210: return;
211: }
212: break;
213: case 3:
214: revertToParentFromLeaveElement(___uri, ___local,
215: ___qname);
216: return;
217: case 2:
218: if (("SignatureProperties" == ___local)
219: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
220: context.popAttributes();
221: state = 3;
222: return;
223: }
224: break;
225: }
226: super .leaveElement(___uri, ___local, ___qname);
227: break;
228: }
229: }
230:
231: public void enterAttribute(java.lang.String ___uri,
232: java.lang.String ___local, java.lang.String ___qname)
233: throws org.xml.sax.SAXException {
234: int attIdx;
235: outer: while (true) {
236: switch (state) {
237: case 1:
238: if (("Id" == ___local) && ("" == ___uri)) {
239: spawnHandlerFromEnterAttribute(
240: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertiesImpl.this ).new Unmarshaller(
241: context)), 2, ___uri, ___local,
242: ___qname);
243: return;
244: }
245: break;
246: case 3:
247: revertToParentFromEnterAttribute(___uri, ___local,
248: ___qname);
249: return;
250: }
251: super .enterAttribute(___uri, ___local, ___qname);
252: break;
253: }
254: }
255:
256: public void leaveAttribute(java.lang.String ___uri,
257: java.lang.String ___local, java.lang.String ___qname)
258: throws org.xml.sax.SAXException {
259: int attIdx;
260: outer: while (true) {
261: switch (state) {
262: case 1:
263: attIdx = context.getAttribute("", "Id");
264: if (attIdx >= 0) {
265: context.consumeAttribute(attIdx);
266: context.getCurrentHandler().leaveAttribute(
267: ___uri, ___local, ___qname);
268: return;
269: }
270: break;
271: case 3:
272: revertToParentFromLeaveAttribute(___uri, ___local,
273: ___qname);
274: return;
275: }
276: super .leaveAttribute(___uri, ___local, ___qname);
277: break;
278: }
279: }
280:
281: public void handleText(final java.lang.String value)
282: throws org.xml.sax.SAXException {
283: int attIdx;
284: outer: while (true) {
285: try {
286: switch (state) {
287: case 1:
288: attIdx = context.getAttribute("", "Id");
289: if (attIdx >= 0) {
290: context.consumeAttribute(attIdx);
291: context.getCurrentHandler().text(value);
292: return;
293: }
294: break;
295: case 3:
296: revertToParentFromText(value);
297: return;
298: }
299: } catch (java.lang.RuntimeException e) {
300: handleUnexpectedTextException(value, e);
301: }
302: break;
303: }
304: }
305:
306: }
307:
308: }
|