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 ActionImpl extends
011: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionTypeImpl
012: implements
013: com.sun.xml.wss.saml.internal.saml11.jaxb10.Action,
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.Action.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 "Action";
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.ActionImpl.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: "Action");
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.Action.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\u0004ppsq\u0000~\u0000\u0007ppsr\u0000\u001bcom.s"
079: + "un.msv.grammar.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/dataty"
080: + "pe/Datatype;L\u0000\u0006exceptq\u0000~\u0000\u0003L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/String"
081: + "Pair;xq\u0000~\u0000\u0004sr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000#c"
082: + "om.sun.msv.datatype.xsd.StringType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001Z\u0000\risAlwaysVali"
083: + "dxr\u0000*com.sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr"
084: + "\u0000%com.sun.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.su"
085: + "n.msv.datatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUrit"
086: + "\u0000\u0012Ljava/lang/String;L\u0000\btypeNameq\u0000~\u0000\u0015L\u0000\nwhiteSpacet\u0000.Lcom/sun"
087: + "/msv/datatype/xsd/WhiteSpaceProcessor;xpt\u0000 http://www.w3.org"
088: + "/2001/XMLSchemat\u0000\u0006stringsr\u00005com.sun.msv.datatype.xsd.WhiteSp"
089: + "aceProcessor$Preserve\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd"
090: + ".WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xp\u0001sr\u00000com.sun.msv.grammar.Ex"
091: + "pression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psr\u0000\u001bcom.sun"
092: + ".msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0015L\u0000\fnamespace"
093: + "URIq\u0000~\u0000\u0015xpq\u0000~\u0000\u0019q\u0000~\u0000\u0018sr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
094: + "\u0001\u0002\u0000\u0000xq\u0000~\u0000\bppsr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L"
095: + "\u0000\u0003expq\u0000~\u0000\u0003L\u0000\tnameClassq\u0000~\u0000\u0001xq\u0000~\u0000\u0004q\u0000~\u0000\u0010psq\u0000~\u0000\u000bppsr\u0000#com.sun.m"
096: + "sv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0012q\u0000~\u0000\u0018t\u0000\u0006anyURIsr\u0000"
097: + "5com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000"
098: + "\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u001bq\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u0000(q\u0000~\u0000\u0018sr\u0000#com.sun.msv.grammar.Simp"
099: + "leNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u0015L\u0000\fnamespaceURIq\u0000~\u0000\u0015x"
100: + "r\u0000\u001dcom.sun.msv.grammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpt\u0000\tNamespacet\u0000\u0000"
101: + "sr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001"
102: + "\u0002\u0000\u0000xq\u0000~\u0000\u0004sq\u0000~\u0000\u000f\u0001q\u0000~\u00002sq\u0000~\u0000!ppsq\u0000~\u0000#q\u0000~\u0000\u0010psq\u0000~\u0000\u000bppsr\u0000\"com.sun"
103: + ".msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0012q\u0000~\u0000\u0018t\u0000\u0005QNameq\u0000~"
104: + "\u0000*q\u0000~\u0000\u001esq\u0000~\u0000\u001fq\u0000~\u00009q\u0000~\u0000\u0018sq\u0000~\u0000,t\u0000\u0004typet\u0000)http://www.w3.org/200"
105: + "1/XMLSchema-instanceq\u0000~\u00002sq\u0000~\u0000,t\u0000\u0006Actiont\u0000%urn:oasis:names:t"
106: + "c:SAML:1.0:assertionsr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000"
107: + "\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$C"
108: + "losedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHas"
109: + "h\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv"
110: + "/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000\"q\u0000~\u00004q\u0000~\u0000\tq\u0000~\u0000\nx"));
111: }
112: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
113: schemaFragment);
114: }
115:
116: public class Unmarshaller
117: extends
118: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
119:
120: public Unmarshaller(
121: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
122: super (context, "----");
123: }
124:
125: protected Unmarshaller(
126: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
127: int startState) {
128: this (context);
129: state = startState;
130: }
131:
132: public java.lang.Object owner() {
133: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionImpl.this ;
134: }
135:
136: public void enterElement(java.lang.String ___uri,
137: java.lang.String ___local, java.lang.String ___qname,
138: org.xml.sax.Attributes __atts)
139: throws org.xml.sax.SAXException {
140: int attIdx;
141: outer: while (true) {
142: switch (state) {
143: case 1:
144: attIdx = context.getAttribute("", "Namespace");
145: if (attIdx >= 0) {
146: context.consumeAttribute(attIdx);
147: context.getCurrentHandler().enterElement(
148: ___uri, ___local, ___qname, __atts);
149: return;
150: }
151: break;
152: case 0:
153: if (("Action" == ___local)
154: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
155: context.pushAttributes(__atts, true);
156: state = 1;
157: return;
158: }
159: break;
160: case 3:
161: revertToParentFromEnterElement(___uri, ___local,
162: ___qname, __atts);
163: return;
164: }
165: super .enterElement(___uri, ___local, ___qname, __atts);
166: break;
167: }
168: }
169:
170: public void leaveElement(java.lang.String ___uri,
171: java.lang.String ___local, java.lang.String ___qname)
172: throws org.xml.sax.SAXException {
173: int attIdx;
174: outer: while (true) {
175: switch (state) {
176: case 2:
177: if (("Action" == ___local)
178: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
179: context.popAttributes();
180: state = 3;
181: return;
182: }
183: break;
184: case 1:
185: attIdx = context.getAttribute("", "Namespace");
186: if (attIdx >= 0) {
187: context.consumeAttribute(attIdx);
188: context.getCurrentHandler().leaveElement(
189: ___uri, ___local, ___qname);
190: return;
191: }
192: break;
193: case 3:
194: revertToParentFromLeaveElement(___uri, ___local,
195: ___qname);
196: return;
197: }
198: super .leaveElement(___uri, ___local, ___qname);
199: break;
200: }
201: }
202:
203: public void enterAttribute(java.lang.String ___uri,
204: java.lang.String ___local, java.lang.String ___qname)
205: throws org.xml.sax.SAXException {
206: int attIdx;
207: outer: while (true) {
208: switch (state) {
209: case 1:
210: if (("Namespace" == ___local) && ("" == ___uri)) {
211: spawnHandlerFromEnterAttribute(
212: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionImpl.this ).new Unmarshaller(
213: context)), 2, ___uri, ___local,
214: ___qname);
215: return;
216: }
217: break;
218: case 3:
219: revertToParentFromEnterAttribute(___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 1:
235: attIdx = context.getAttribute("", "Namespace");
236: if (attIdx >= 0) {
237: context.consumeAttribute(attIdx);
238: context.getCurrentHandler().leaveAttribute(
239: ___uri, ___local, ___qname);
240: return;
241: }
242: break;
243: case 3:
244: revertToParentFromLeaveAttribute(___uri, ___local,
245: ___qname);
246: return;
247: }
248: super .leaveAttribute(___uri, ___local, ___qname);
249: break;
250: }
251: }
252:
253: public void handleText(final java.lang.String value)
254: throws org.xml.sax.SAXException {
255: int attIdx;
256: outer: while (true) {
257: try {
258: switch (state) {
259: case 1:
260: attIdx = context.getAttribute("", "Namespace");
261: if (attIdx >= 0) {
262: context.consumeAttribute(attIdx);
263: context.getCurrentHandler().text(value);
264: return;
265: }
266: spawnHandlerFromText(
267: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.ActionImpl.this ).new Unmarshaller(
268: context)), 2, value);
269: return;
270: case 3:
271: revertToParentFromText(value);
272: return;
273: }
274: } catch (java.lang.RuntimeException e) {
275: handleUnexpectedTextException(value, e);
276: }
277: break;
278: }
279: }
280:
281: }
282:
283: }
|