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 SignaturePropertyImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.SignatureProperty,
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.SignatureProperty.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 "SignatureProperty";
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.SignaturePropertyImpl.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: "SignatureProperty");
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.SignatureProperty.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: + "r\u0000\u001ccom.sun.msv.grammar.MixedExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gr"
081: + "ammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000 com.sun.msv."
082: + "grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\rppsq\u0000~\u0000\u0000pp\u0000sr\u0000 com.sun."
083: + "msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000"
084: + "~\u0000\u0001xq\u0000~\u0000\u0004ppsr\u00002com.sun.msv.grammar.Expression$AnyStringExpre"
085: + "ssion\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005val"
086: + "uexp\u0001q\u0000~\u0000\u0015sr\u0000\'com.sun.msv.grammar.DifferenceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
087: + "\u0001\u0002\u0000\u0002L\u0000\u0003nc1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000"
088: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000 com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
089: + "q\u0000~\u0000\u0019sr\u0000#com.sun.msv.grammar.ChoiceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003nc"
090: + "1q\u0000~\u0000\u0001L\u0000\u0003nc2q\u0000~\u0000\u0001xq\u0000~\u0000\u0019sr\u0000&com.sun.msv.grammar.NamespaceName"
091: + "Class\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIt\u0000\u0012Ljava/lang/String;xq\u0000~\u0000\u0019t\u0000"
092: + "\u0000sq\u0000~\u0000\u001ft\u0000\"http://www.w3.org/2000/09/xmldsig#sq\u0000~\u0000\u001ft\u0000+http://"
093: + "java.sun.com/jaxb/xjc/dummy-elementssr\u0000\u001dcom.sun.msv.grammar."
094: + "ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsq\u0000~\u0000\u0012sq\u0000~\u0000\u0016\u0000psr\u0000\u001bcom.sun.msv.gr"
095: + "ammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Dataty"
096: + "pe;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~"
097: + "\u0000\u0004ppsr\u0000\u001fcom.sun.msv.datatype.xsd.IDType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.su"
098: + "n.msv.datatype.xsd.NcnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"com.sun.msv.data"
099: + "type.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv.datatype.xsd.St"
100: + "ringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.sun.msv.datatype."
101: + "xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatype.xsd"
102: + ".ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XSDatat"
103: + "ypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\btypeNameq\u0000~\u0000 L\u0000\nwhi"
104: + "teSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000"
105: + " http://www.w3.org/2001/XMLSchemat\u0000\u0002IDsr\u00005com.sun.msv.dataty"
106: + "pe.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.ms"
107: + "v.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0000sr\u00000com.sun."
108: + "msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~"
109: + "\u0000*psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~"
110: + "\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q\u0000~\u00008sr\u0000#com.sun.msv.grammar.Si"
111: + "mpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000"
112: + " xq\u0000~\u0000\u0019t\u0000\u0002Idq\u0000~\u0000\"sr\u00000com.sun.msv.grammar.Expression$EpsilonE"
113: + "xpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0017q\u0000~\u0000Esq\u0000~\u0000\u0012ppsq\u0000~\u0000+ppsr\u0000#com."
114: + "sun.msv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00003q\u0000~\u00008t\u0000\u0006anyU"
115: + "RIq\u0000~\u0000<q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000Jq\u0000~\u00008sq\u0000~\u0000At\u0000\u0006Targetq\u0000~\u0000\"sq\u0000~\u0000\'ppsq\u0000~"
116: + "\u0000\u0012q\u0000~\u0000*psq\u0000~\u0000+ppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000"
117: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u00003q\u0000~\u00008t\u0000\u0005QNameq\u0000~\u0000<q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000Sq\u0000~\u00008sq\u0000~\u0000At\u0000\u0004t"
118: + "ypet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000Esq\u0000~\u0000At\u0000"
119: + "\u0011SignaturePropertyq\u0000~\u0000$sr\u0000\"com.sun.msv.grammar.ExpressionPoo"
120: + "l\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPoo"
121: + "l$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$Closed"
122: + "Hash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/"
123: + "msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0007\u0001pq\u0000~\u0000\u0010q\u0000~\u0000\u000bq\u0000~\u0000Nq\u0000~\u0000\u000eq\u0000~\u0000\t"
124: + "q\u0000~\u0000\nq\u0000~\u0000(x"));
125: }
126: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
127: schemaFragment);
128: }
129:
130: public class Unmarshaller
131: extends
132: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
133:
134: public Unmarshaller(
135: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
136: super (context, "----");
137: }
138:
139: protected Unmarshaller(
140: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
141: int startState) {
142: this (context);
143: state = startState;
144: }
145:
146: public java.lang.Object owner() {
147: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyImpl.this ;
148: }
149:
150: public void enterElement(java.lang.String ___uri,
151: java.lang.String ___local, java.lang.String ___qname,
152: org.xml.sax.Attributes __atts)
153: throws org.xml.sax.SAXException {
154: int attIdx;
155: outer: while (true) {
156: switch (state) {
157: case 3:
158: revertToParentFromEnterElement(___uri, ___local,
159: ___qname, __atts);
160: return;
161: case 0:
162: if (("SignatureProperty" == ___local)
163: && ("http://www.w3.org/2000/09/xmldsig#" == ___uri)) {
164: context.pushAttributes(__atts, true);
165: state = 1;
166: return;
167: }
168: break;
169: case 1:
170: attIdx = context.getAttribute("", "Id");
171: if (attIdx >= 0) {
172: context.consumeAttribute(attIdx);
173: context.getCurrentHandler().enterElement(
174: ___uri, ___local, ___qname, __atts);
175: return;
176: }
177: attIdx = context.getAttribute("", "Target");
178: if (attIdx >= 0) {
179: context.consumeAttribute(attIdx);
180: context.getCurrentHandler().enterElement(
181: ___uri, ___local, ___qname, __atts);
182: return;
183: }
184: break;
185: }
186: super .enterElement(___uri, ___local, ___qname, __atts);
187: break;
188: }
189: }
190:
191: public void leaveElement(java.lang.String ___uri,
192: java.lang.String ___local, java.lang.String ___qname)
193: throws org.xml.sax.SAXException {
194: int attIdx;
195: outer: while (true) {
196: switch (state) {
197: case 3:
198: revertToParentFromLeaveElement(___uri, ___local,
199: ___qname);
200: return;
201: case 1:
202: attIdx = context.getAttribute("", "Id");
203: if (attIdx >= 0) {
204: context.consumeAttribute(attIdx);
205: context.getCurrentHandler().leaveElement(
206: ___uri, ___local, ___qname);
207: return;
208: }
209: attIdx = context.getAttribute("", "Target");
210: if (attIdx >= 0) {
211: context.consumeAttribute(attIdx);
212: context.getCurrentHandler().leaveElement(
213: ___uri, ___local, ___qname);
214: return;
215: }
216: break;
217: case 2:
218: if (("SignatureProperty" == ___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 3:
238: revertToParentFromEnterAttribute(___uri, ___local,
239: ___qname);
240: return;
241: case 1:
242: if (("Id" == ___local) && ("" == ___uri)) {
243: spawnHandlerFromEnterAttribute(
244: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyImpl.this ).new Unmarshaller(
245: context)), 2, ___uri, ___local,
246: ___qname);
247: return;
248: }
249: if (("Target" == ___local) && ("" == ___uri)) {
250: spawnHandlerFromEnterAttribute(
251: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SignaturePropertyImpl.this ).new Unmarshaller(
252: context)), 2, ___uri, ___local,
253: ___qname);
254: return;
255: }
256: break;
257: }
258: super .enterAttribute(___uri, ___local, ___qname);
259: break;
260: }
261: }
262:
263: public void leaveAttribute(java.lang.String ___uri,
264: java.lang.String ___local, java.lang.String ___qname)
265: throws org.xml.sax.SAXException {
266: int attIdx;
267: outer: while (true) {
268: switch (state) {
269: case 3:
270: revertToParentFromLeaveAttribute(___uri, ___local,
271: ___qname);
272: return;
273: case 1:
274: attIdx = context.getAttribute("", "Id");
275: if (attIdx >= 0) {
276: context.consumeAttribute(attIdx);
277: context.getCurrentHandler().leaveAttribute(
278: ___uri, ___local, ___qname);
279: return;
280: }
281: attIdx = context.getAttribute("", "Target");
282: if (attIdx >= 0) {
283: context.consumeAttribute(attIdx);
284: context.getCurrentHandler().leaveAttribute(
285: ___uri, ___local, ___qname);
286: return;
287: }
288: break;
289: }
290: super .leaveAttribute(___uri, ___local, ___qname);
291: break;
292: }
293: }
294:
295: public void handleText(final java.lang.String value)
296: throws org.xml.sax.SAXException {
297: int attIdx;
298: outer: while (true) {
299: try {
300: switch (state) {
301: case 3:
302: revertToParentFromText(value);
303: return;
304: case 1:
305: attIdx = context.getAttribute("", "Id");
306: if (attIdx >= 0) {
307: context.consumeAttribute(attIdx);
308: context.getCurrentHandler().text(value);
309: return;
310: }
311: attIdx = context.getAttribute("", "Target");
312: if (attIdx >= 0) {
313: context.consumeAttribute(attIdx);
314: context.getCurrentHandler().text(value);
315: return;
316: }
317: break;
318: }
319: } catch (java.lang.RuntimeException e) {
320: handleUnexpectedTextException(value, e);
321: }
322: break;
323: }
324: }
325:
326: }
327:
328: }
|