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 AssertionIDReferenceImpl
011: implements
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.AssertionIDReference,
013: com.sun.xml.bind.RIElement,
014: com.sun.xml.bind.JAXBObject,
015: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject,
016: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable,
017: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject {
018:
019: protected java.lang.String _Value;
020: public final static java.lang.Class version = (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.JAXBVersion.class);
021: private static com.sun.msv.grammar.Grammar schemaFragment;
022:
023: public AssertionIDReferenceImpl() {
024: }
025:
026: public AssertionIDReferenceImpl(java.lang.String value) {
027: _Value = value;
028: }
029:
030: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
031: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AssertionIDReference.class);
032: }
033:
034: public java.lang.String ____jaxb_ri____getNamespaceURI() {
035: return "urn:oasis:names:tc:SAML:1.0:assertion";
036: }
037:
038: public java.lang.String ____jaxb_ri____getLocalName() {
039: return "AssertionIDReference";
040: }
041:
042: public java.lang.String getValue() {
043: return _Value;
044: }
045:
046: public void setValue(java.lang.String value) {
047: _Value = value;
048: }
049:
050: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
051: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
052: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AssertionIDReferenceImpl.Unmarshaller(
053: context);
054: }
055:
056: public void serializeBody(
057: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
058: throws org.xml.sax.SAXException {
059: context.startElement("urn:oasis:names:tc:SAML:1.0:assertion",
060: "AssertionIDReference");
061: context.endNamespaceDecls();
062: context.endAttributes();
063: try {
064: context.text(((java.lang.String) _Value), "Value");
065: } catch (java.lang.Exception e) {
066: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.Util
067: .handlePrintConversionException(this , e, context);
068: }
069: context.endElement();
070: }
071:
072: public void serializeAttributes(
073: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
074: throws org.xml.sax.SAXException {
075: }
076:
077: public void serializeURIs(
078: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
079: throws org.xml.sax.SAXException {
080: }
081:
082: public java.lang.Class getPrimaryInterface() {
083: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AssertionIDReference.class);
084: }
085:
086: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
087: if (schemaFragment == null) {
088: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
089: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
090: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
091: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
092: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
093: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
094: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
095: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
096: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1q\u0000~\u0000\u0003L\u0000\u0004exp2q\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001bcom.sun.msv.g"
097: + "rammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datat"
098: + "ype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000"
099: + "~\u0000\u0004ppsr\u0000#com.sun.msv.datatype.xsd.NcnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\"c"
100: + "om.sun.msv.datatype.xsd.TokenType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000#com.sun.msv."
101: + "datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysValidxr\u0000*com.su"
102: + "n.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.m"
103: + "sv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datat"
104: + "ype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit\u0000\u0012Ljava/lan"
105: + "g/String;L\u0000\btypeNameq\u0000~\u0000\u0014L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/dataty"
106: + "pe/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSc"
107: + "hemat\u0000\u0006NCNamesr\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcesso"
108: + "r$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpace"
109: + "Processor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0000sr\u00000com.sun.msv.grammar.Expression$Nu"
110: + "llSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa"
111: + "\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000"
112: + "\tlocalNameq\u0000~\u0000\u0014L\u0000\fnamespaceURIq\u0000~\u0000\u0014xpq\u0000~\u0000\u0018q\u0000~\u0000\u0017sr\u0000\u001dcom.sun.m"
113: + "sv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.gramm"
114: + "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"
115: + "q\u0000~\u0000\u001fpsq\u0000~\u0000\nppsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
116: + "\u0002\u0000\u0000xq\u0000~\u0000\u0011q\u0000~\u0000\u0017t\u0000\u0005QNameq\u0000~\u0000\u001bq\u0000~\u0000\u001dsq\u0000~\u0000 q\u0000~\u0000)q\u0000~\u0000\u0017sr\u0000#com.sun."
117: + "msv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0014L\u0000\fna"
118: + "mespaceURIq\u0000~\u0000\u0014xr\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
119: + "pt\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instancesr\u00000com."
120: + "sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000"
121: + "\u0004sq\u0000~\u0000\u001e\u0001q\u0000~\u00001sq\u0000~\u0000+t\u0000\u0014AssertionIDReferencet\u0000%urn:oasis:names"
122: + ":tc:SAML:1.0:assertionsr\u0000\"com.sun.msv.grammar.ExpressionPool"
123: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool"
124: + "$ClosedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedH"
125: + "ash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/m"
126: + "sv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0002\u0001pq\u0000~\u0000\tq\u0000~\u0000#x"));
127: }
128: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
129: schemaFragment);
130: }
131:
132: public class Unmarshaller
133: extends
134: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
135:
136: public Unmarshaller(
137: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
138: super (context, "----");
139: }
140:
141: protected Unmarshaller(
142: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
143: int startState) {
144: this (context);
145: state = startState;
146: }
147:
148: public java.lang.Object owner() {
149: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AssertionIDReferenceImpl.this ;
150: }
151:
152: public void enterElement(java.lang.String ___uri,
153: java.lang.String ___local, java.lang.String ___qname,
154: org.xml.sax.Attributes __atts)
155: throws org.xml.sax.SAXException {
156: int attIdx;
157: outer: while (true) {
158: switch (state) {
159: case 0:
160: if (("AssertionIDReference" == ___local)
161: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
162: context.pushAttributes(__atts, true);
163: state = 1;
164: return;
165: }
166: break;
167: case 3:
168: revertToParentFromEnterElement(___uri, ___local,
169: ___qname, __atts);
170: return;
171: }
172: super .enterElement(___uri, ___local, ___qname, __atts);
173: break;
174: }
175: }
176:
177: public void leaveElement(java.lang.String ___uri,
178: java.lang.String ___local, java.lang.String ___qname)
179: throws org.xml.sax.SAXException {
180: int attIdx;
181: outer: while (true) {
182: switch (state) {
183: case 2:
184: if (("AssertionIDReference" == ___local)
185: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
186: context.popAttributes();
187: state = 3;
188: return;
189: }
190: break;
191: case 3:
192: revertToParentFromLeaveElement(___uri, ___local,
193: ___qname);
194: return;
195: }
196: super .leaveElement(___uri, ___local, ___qname);
197: break;
198: }
199: }
200:
201: public void enterAttribute(java.lang.String ___uri,
202: java.lang.String ___local, java.lang.String ___qname)
203: throws org.xml.sax.SAXException {
204: int attIdx;
205: outer: while (true) {
206: switch (state) {
207: case 3:
208: revertToParentFromEnterAttribute(___uri, ___local,
209: ___qname);
210: return;
211: }
212: super .enterAttribute(___uri, ___local, ___qname);
213: break;
214: }
215: }
216:
217: public void leaveAttribute(java.lang.String ___uri,
218: java.lang.String ___local, java.lang.String ___qname)
219: throws org.xml.sax.SAXException {
220: int attIdx;
221: outer: while (true) {
222: switch (state) {
223: case 3:
224: revertToParentFromLeaveAttribute(___uri, ___local,
225: ___qname);
226: return;
227: }
228: super .leaveAttribute(___uri, ___local, ___qname);
229: break;
230: }
231: }
232:
233: public void handleText(final java.lang.String value)
234: throws org.xml.sax.SAXException {
235: int attIdx;
236: outer: while (true) {
237: try {
238: switch (state) {
239: case 1:
240: state = 2;
241: eatText1(value);
242: return;
243: case 3:
244: revertToParentFromText(value);
245: return;
246: }
247: } catch (java.lang.RuntimeException e) {
248: handleUnexpectedTextException(value, e);
249: }
250: break;
251: }
252: }
253:
254: private void eatText1(final java.lang.String value)
255: throws org.xml.sax.SAXException {
256: try {
257: _Value = com.sun.xml.bind.WhiteSpaceProcessor
258: .collapse(value);
259: } catch (java.lang.Exception e) {
260: handleParseConversionException(e);
261: }
262: }
263:
264: }
265:
266: }
|