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 AttributeValueImpl extends
011: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl
012: implements
013: com.sun.xml.wss.saml.internal.saml11.jaxb10.AttributeValue,
014: com.sun.xml.bind.RIElement,
015: com.sun.xml.bind.JAXBObject,
016: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallableObject,
017: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializable,
018: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.ValidatableObject {
019:
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: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
024: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AttributeValue.class);
025: }
026:
027: public java.lang.String ____jaxb_ri____getNamespaceURI() {
028: return "urn:oasis:names:tc:SAML:1.0:assertion";
029: }
030:
031: public java.lang.String ____jaxb_ri____getLocalName() {
032: return "AttributeValue";
033: }
034:
035: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
036: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
037: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.Unmarshaller(
038: context);
039: }
040:
041: public void serializeBody(
042: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
043: throws org.xml.sax.SAXException {
044: context.startElement("urn:oasis:names:tc:SAML:1.0:assertion",
045: "AttributeValue");
046: super .serializeURIs(context);
047: context.endNamespaceDecls();
048: super .serializeAttributes(context);
049: context.endAttributes();
050: super .serializeBody(context);
051: context.endElement();
052: }
053:
054: public void serializeAttributes(
055: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
056: throws org.xml.sax.SAXException {
057: }
058:
059: public void serializeURIs(
060: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
061: throws org.xml.sax.SAXException {
062: }
063:
064: public java.lang.Class getPrimaryInterface() {
065: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AttributeValue.class);
066: }
067:
068: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
069: if (schemaFragment == null) {
070: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
071: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\'com.sun.msv.grammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000"
072: + "\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv."
073: + "grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000"
074: + "\fcontentModelt\u0000 Lcom/sun/msv/grammar/Expression;xr\u0000\u001ecom.sun."
075: + "msv.grammar.Expression\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Lj"
076: + "ava/lang/Boolean;L\u0000\u000bexpandedExpq\u0000~\u0000\u0003xppp\u0000sr\u0000\u001fcom.sun.msv.gra"
077: + "mmar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.grammar.BinaryExp"
078: + "\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\u001ccom.sun.msv.g"
079: + "rammar.MixedExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000"
080: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0003xq\u0000~\u0000\u0004ppsr\u0000\u001dcom.sun.msv.grammar.ChoiceEx"
081: + "p\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000"
082: + "\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u000bsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psq\u0000"
083: + "~\u0000\u0000q\u0000~\u0000\u0012p\u0000sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003"
084: + "expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004ppsr\u00002com.sun.msv.grammar.Exp"
085: + "ression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u0011\u0001q\u0000~\u0000\u0017sr\u0000 "
086: + "com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.g"
087: + "rammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000&com.sun.msv.grammar.Namespa"
088: + "ceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIt\u0000\u0012Ljava/lang/String;xq"
089: + "\u0000~\u0000\u001at\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssr\u00000com.su"
090: + "n.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q"
091: + "\u0000~\u0000\u0018q\u0000~\u0000!sq\u0000~\u0000\rppsq\u0000~\u0000\u0014q\u0000~\u0000\u0012psr\u0000\u001bcom.sun.msv.grammar.DataExp"
092: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq"
093: + "\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0004ppsr\u0000\"com.s"
094: + "un.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.data"
095: + "type.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datatyp"
096: + "e.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd.XS"
097: + "DatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001dL\u0000\btypeNameq\u0000~\u0000\u001dL"
098: + "\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcessor"
099: + ";xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun.ms"
100: + "v.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,co"
101: + "m.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000c"
102: + "om.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq"
103: + "\u0000~\u0000\u0004q\u0000~\u0000\u0012psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocal"
104: + "Nameq\u0000~\u0000\u001dL\u0000\fnamespaceURIq\u0000~\u0000\u001dxpq\u0000~\u0000/q\u0000~\u0000.sr\u0000#com.sun.msv.gra"
105: + "mmar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001dL\u0000\fnamespace"
106: + "URIq\u0000~\u0000\u001dxq\u0000~\u0000\u001at\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-ins"
107: + "tanceq\u0000~\u0000!sq\u0000~\u00007t\u0000\u000eAttributeValuet\u0000%urn:oasis:names:tc:SAML:"
108: + "1.0:assertionsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002"
109: + "\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$ClosedHa"
110: + "sh;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8"
111: + "\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/gramma"
112: + "r/ExpressionPool;xp\u0000\u0000\u0000\u0005\u0001pq\u0000~\u0000\tq\u0000~\u0000\u0010q\u0000~\u0000\u000eq\u0000~\u0000\"q\u0000~\u0000\fx"));
113: }
114: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
115: schemaFragment);
116: }
117:
118: public class Unmarshaller
119: extends
120: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
121:
122: public Unmarshaller(
123: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
124: super (context, "----");
125: }
126:
127: protected Unmarshaller(
128: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
129: int startState) {
130: this (context);
131: state = startState;
132: }
133:
134: public java.lang.Object owner() {
135: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ;
136: }
137:
138: public void enterElement(java.lang.String ___uri,
139: java.lang.String ___local, java.lang.String ___qname,
140: org.xml.sax.Attributes __atts)
141: throws org.xml.sax.SAXException {
142: int attIdx;
143: outer: while (true) {
144: switch (state) {
145: case 0:
146: if (("AttributeValue" == ___local)
147: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
148: context.pushAttributes(__atts, true);
149: state = 1;
150: return;
151: }
152: break;
153: case 3:
154: revertToParentFromEnterElement(___uri, ___local,
155: ___qname, __atts);
156: return;
157: case 1:
158: if (true) {
159: spawnHandlerFromEnterElement(
160: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
161: context)), 2, ___uri, ___local,
162: ___qname, __atts);
163: return;
164: }
165: spawnHandlerFromEnterElement(
166: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
167: context)), 2, ___uri, ___local,
168: ___qname, __atts);
169: return;
170: }
171: super .enterElement(___uri, ___local, ___qname, __atts);
172: break;
173: }
174: }
175:
176: public void leaveElement(java.lang.String ___uri,
177: java.lang.String ___local, java.lang.String ___qname)
178: throws org.xml.sax.SAXException {
179: int attIdx;
180: outer: while (true) {
181: switch (state) {
182: case 2:
183: if (("AttributeValue" == ___local)
184: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
185: context.popAttributes();
186: state = 3;
187: return;
188: }
189: break;
190: case 3:
191: revertToParentFromLeaveElement(___uri, ___local,
192: ___qname);
193: return;
194: case 1:
195: spawnHandlerFromLeaveElement(
196: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
197: context)), 2, ___uri, ___local,
198: ___qname);
199: return;
200: }
201: super .leaveElement(___uri, ___local, ___qname);
202: break;
203: }
204: }
205:
206: public void enterAttribute(java.lang.String ___uri,
207: java.lang.String ___local, java.lang.String ___qname)
208: throws org.xml.sax.SAXException {
209: int attIdx;
210: outer: while (true) {
211: switch (state) {
212: case 3:
213: revertToParentFromEnterAttribute(___uri, ___local,
214: ___qname);
215: return;
216: case 1:
217: spawnHandlerFromEnterAttribute(
218: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
219: context)), 2, ___uri, ___local,
220: ___qname);
221: return;
222: }
223: super .enterAttribute(___uri, ___local, ___qname);
224: break;
225: }
226: }
227:
228: public void leaveAttribute(java.lang.String ___uri,
229: java.lang.String ___local, java.lang.String ___qname)
230: throws org.xml.sax.SAXException {
231: int attIdx;
232: outer: while (true) {
233: switch (state) {
234: case 3:
235: revertToParentFromLeaveAttribute(___uri, ___local,
236: ___qname);
237: return;
238: case 1:
239: spawnHandlerFromLeaveAttribute(
240: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
241: context)), 2, ___uri, ___local,
242: ___qname);
243: return;
244: }
245: super .leaveAttribute(___uri, ___local, ___qname);
246: break;
247: }
248: }
249:
250: public void handleText(final java.lang.String value)
251: throws org.xml.sax.SAXException {
252: int attIdx;
253: outer: while (true) {
254: try {
255: switch (state) {
256: case 3:
257: revertToParentFromText(value);
258: return;
259: case 1:
260: spawnHandlerFromText(
261: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AnyTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AttributeValueImpl.this ).new Unmarshaller(
262: context)), 2, value);
263: return;
264: }
265: } catch (java.lang.RuntimeException e) {
266: handleUnexpectedTextException(value, e);
267: }
268: break;
269: }
270: }
271:
272: }
273:
274: }
|