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 AuthenticationStatementTypeImpl
011: extends
012: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl
013: implements
014: com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType,
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: protected com.sun.xml.bind.util.ListImpl _AuthorityBinding;
021: protected java.util.Calendar _AuthenticationInstant;
022: protected com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType _SubjectLocality;
023: protected java.lang.String _AuthenticationMethod;
024: public final static java.lang.Class version = (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.JAXBVersion.class);
025: private static com.sun.msv.grammar.Grammar schemaFragment;
026:
027: private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
028: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType.class);
029: }
030:
031: protected com.sun.xml.bind.util.ListImpl _getAuthorityBinding() {
032: if (_AuthorityBinding == null) {
033: _AuthorityBinding = new com.sun.xml.bind.util.ListImpl(
034: new java.util.ArrayList());
035: }
036: return _AuthorityBinding;
037: }
038:
039: public java.util.List getAuthorityBinding() {
040: return _getAuthorityBinding();
041: }
042:
043: public java.util.Calendar getAuthenticationInstant() {
044: return _AuthenticationInstant;
045: }
046:
047: public void setAuthenticationInstant(java.util.Calendar value) {
048: _AuthenticationInstant = value;
049: }
050:
051: public com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType getSubjectLocality() {
052: return _SubjectLocality;
053: }
054:
055: public void setSubjectLocality(
056: com.sun.xml.wss.saml.internal.saml11.jaxb10.SubjectLocalityType value) {
057: _SubjectLocality = value;
058: }
059:
060: public java.lang.String getAuthenticationMethod() {
061: return _AuthenticationMethod;
062: }
063:
064: public void setAuthenticationMethod(java.lang.String value) {
065: _AuthenticationMethod = value;
066: }
067:
068: public com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingEventHandler createUnmarshaller(
069: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
070: return new com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.Unmarshaller(
071: context);
072: }
073:
074: public void serializeBody(
075: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
076: throws org.xml.sax.SAXException {
077: int idx1 = 0;
078: final int len1 = ((_AuthorityBinding == null) ? 0
079: : _AuthorityBinding.size());
080: super .serializeBody(context);
081: if (_SubjectLocality != null) {
082: if (_SubjectLocality instanceof javax.xml.bind.Element) {
083: context
084: .childAsBody(
085: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
086: "SubjectLocality");
087: } else {
088: context.startElement(
089: "urn:oasis:names:tc:SAML:1.0:assertion",
090: "SubjectLocality");
091: context
092: .childAsURIs(
093: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
094: "SubjectLocality");
095: context.endNamespaceDecls();
096: context
097: .childAsAttributes(
098: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
099: "SubjectLocality");
100: context.endAttributes();
101: context
102: .childAsBody(
103: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
104: "SubjectLocality");
105: context.endElement();
106: }
107: }
108: while (idx1 != len1) {
109: if (_AuthorityBinding.get(idx1) instanceof javax.xml.bind.Element) {
110: context
111: .childAsBody(
112: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
113: .get(idx1++)),
114: "AuthorityBinding");
115: } else {
116: context.startElement(
117: "urn:oasis:names:tc:SAML:1.0:assertion",
118: "AuthorityBinding");
119: int idx_2 = idx1;
120: context
121: .childAsURIs(
122: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
123: .get(idx_2++)),
124: "AuthorityBinding");
125: context.endNamespaceDecls();
126: int idx_3 = idx1;
127: context
128: .childAsAttributes(
129: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
130: .get(idx_3++)),
131: "AuthorityBinding");
132: context.endAttributes();
133: context
134: .childAsBody(
135: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
136: .get(idx1++)),
137: "AuthorityBinding");
138: context.endElement();
139: }
140: }
141: }
142:
143: public void serializeAttributes(
144: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
145: throws org.xml.sax.SAXException {
146: int idx1 = 0;
147: final int len1 = ((_AuthorityBinding == null) ? 0
148: : _AuthorityBinding.size());
149: context.startAttribute("", "AuthenticationInstant");
150: try {
151: context
152: .text(
153: com.sun.msv.datatype.xsd.DateTimeType.theInstance
154: .serializeJavaObject(
155: ((java.util.Calendar) _AuthenticationInstant),
156: null),
157: "AuthenticationInstant");
158: } catch (java.lang.Exception e) {
159: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.Util
160: .handlePrintConversionException(this , e, context);
161: }
162: context.endAttribute();
163: context.startAttribute("", "AuthenticationMethod");
164: try {
165: context.text(((java.lang.String) _AuthenticationMethod),
166: "AuthenticationMethod");
167: } catch (java.lang.Exception e) {
168: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.Util
169: .handlePrintConversionException(this , e, context);
170: }
171: context.endAttribute();
172: super .serializeAttributes(context);
173: if (_SubjectLocality != null) {
174: if (_SubjectLocality instanceof javax.xml.bind.Element) {
175: context
176: .childAsAttributes(
177: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
178: "SubjectLocality");
179: }
180: }
181: while (idx1 != len1) {
182: if (_AuthorityBinding.get(idx1) instanceof javax.xml.bind.Element) {
183: context
184: .childAsAttributes(
185: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
186: .get(idx1++)),
187: "AuthorityBinding");
188: } else {
189: idx1 += 1;
190: }
191: }
192: }
193:
194: public void serializeURIs(
195: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.XMLSerializer context)
196: throws org.xml.sax.SAXException {
197: int idx1 = 0;
198: final int len1 = ((_AuthorityBinding == null) ? 0
199: : _AuthorityBinding.size());
200: super .serializeURIs(context);
201: if (_SubjectLocality != null) {
202: if (_SubjectLocality instanceof javax.xml.bind.Element) {
203: context
204: .childAsURIs(
205: ((com.sun.xml.bind.JAXBObject) _SubjectLocality),
206: "SubjectLocality");
207: }
208: }
209: while (idx1 != len1) {
210: if (_AuthorityBinding.get(idx1) instanceof javax.xml.bind.Element) {
211: context
212: .childAsURIs(
213: ((com.sun.xml.bind.JAXBObject) _AuthorityBinding
214: .get(idx1++)),
215: "AuthorityBinding");
216: } else {
217: idx1 += 1;
218: }
219: }
220: }
221:
222: public java.lang.Class getPrimaryInterface() {
223: return (com.sun.xml.wss.saml.internal.saml11.jaxb10.AuthenticationStatementType.class);
224: }
225:
226: public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
227: if (schemaFragment == null) {
228: schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer
229: .deserialize(("\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
230: + "n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
231: + "mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
232: + "on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
233: + "expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv."
234: + "grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000\'com.sun.msv.grammar."
235: + "trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/gr"
236: + "ammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000"
237: + "\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003pp\u0000s"
238: + "q\u0000~\u0000\tppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001cco"
239: + "m.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003sr\u0000\u0011ja"
240: + "va.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000 com.sun.msv.gramma"
241: + "r.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\fxq\u0000~\u0000\u0003q"
242: + "\u0000~\u0000\u0014psr\u00002com.sun.msv.grammar.Expression$AnyStringExpression\u0000"
243: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u0013\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar.AnyNameC"
244: + "lass\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\u0000x"
245: + "psr\u00000com.sun.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
246: + "\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0019q\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNameClass\u0000"
247: + "\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamespaceURIq\u0000"
248: + "~\u0000 xq\u0000~\u0000\u001bt\u00003com.sun.xml.wss.saml.internal.saml11.jaxb10.Subj"
249: + "ectt\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssq\u0000~\u0000\u000bpp\u0000sq"
250: + "\u0000~\u0000\u0000ppsq\u0000~\u0000\u000bpp\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~"
251: + "\u0000\u001esq\u0000~\u0000\u001ft\u00007com.sun.xml.wss.saml.internal.saml11.jaxb10.Subje"
252: + "ctTypeq\u0000~\u0000#sq\u0000~\u0000\tppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014psr\u0000\u001bcom.sun.msv.grammar.DataE"
253: + "xp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006excep"
254: + "tq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003ppsr\u0000\"com"
255: + ".sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv.da"
256: + "tatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.datat"
257: + "ype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.xsd."
258: + "XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\btypeNameq\u0000~\u0000"
259: + " L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProcess"
260: + "or;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNamesr\u00005com.sun."
261: + "msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,"
262: + "com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000"
263: + "0com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
264: + "xq\u0000~\u0000\u0003q\u0000~\u0000\u0014psr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000\tloc"
265: + "alNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0004typet\u0000)h"
266: + "ttp://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u0007Subjec"
267: + "tt\u0000%urn:oasis:names:tc:SAML:1.0:assertionsq\u0000~\u0000\tppsq\u0000~\u0000\tq\u0000~\u0000\u0014"
268: + "psq\u0000~\u0000\u000bq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000"
269: + "\u001esq\u0000~\u0000\u001ft\u0000;com.sun.xml.wss.saml.internal.saml11.jaxb10.Subjec"
270: + "tLocalityq\u0000~\u0000#sq\u0000~\u0000\u000bq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\u000bpp\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0010q\u0000"
271: + "~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000?com.sun.xml.wss.saml"
272: + ".internal.saml11.jaxb10.SubjectLocalityTypeq\u0000~\u0000#sq\u0000~\u0000\tppsq\u0000~"
273: + "\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u00001q\u0000~\u0000Aq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000\u000fSubjectLocalityq\u0000~\u0000Fq\u0000~\u0000\u001esq\u0000"
274: + "~\u0000\tppsq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\tq\u0000~\u0000\u0014psq\u0000~\u0000\u000bq\u0000~\u0000\u0014p\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0010q\u0000~\u0000"
275: + "\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000<com.sun.xml.wss.saml.i"
276: + "nternal.saml11.jaxb10.AuthorityBindingq\u0000~\u0000#sq\u0000~\u0000\u000bq\u0000~\u0000\u0014p\u0000sq\u0000~"
277: + "\u0000\u0000ppsq\u0000~\u0000\u000bpp\u0000sq\u0000~\u0000\tppsq\u0000~\u0000\u0010q\u0000~\u0000\u0014psq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001e"
278: + "sq\u0000~\u0000\u001ft\u0000@com.sun.xml.wss.saml.internal.saml11.jaxb10.Authori"
279: + "tyBindingTypeq\u0000~\u0000#sq\u0000~\u0000\tppsq\u0000~\u0000\u0015q\u0000~\u0000\u0014pq\u0000~\u00001q\u0000~\u0000Aq\u0000~\u0000\u001esq\u0000~\u0000\u001ft"
280: + "\u0000\u0010AuthorityBindingq\u0000~\u0000Fq\u0000~\u0000\u001esq\u0000~\u0000\u0015ppsq\u0000~\u0000.ppsr\u0000%com.sun.msv."
281: + "datatype.xsd.DateTimeType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000)com.sun.msv.datatype"
282: + ".xsd.DateTimeBaseType\u0014W\u001a@3\u00a5\u00b4\u00e5\u0002\u0000\u0000xq\u0000~\u00003q\u0000~\u00008t\u0000\bdateTimeq\u0000~\u0000<q"
283: + "\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000uq\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0015AuthenticationInstantt\u0000\u0000sq\u0000~\u0000\u0015p"
284: + "psq\u0000~\u0000.ppsr\u0000#com.sun.msv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
285: + "q\u0000~\u00003q\u0000~\u00008t\u0000\u0006anyURIq\u0000~\u0000<q\u0000~\u0000>sq\u0000~\u0000?q\u0000~\u0000~q\u0000~\u00008sq\u0000~\u0000\u001ft\u0000\u0014Authen"
286: + "ticationMethodq\u0000~\u0000ysr\u0000\"com.sun.msv.grammar.ExpressionPool\u0000\u0000\u0000"
287: + "\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/grammar/ExpressionPool$Cl"
288: + "osedHash;xpsr\u0000-com.sun.msv.grammar.ExpressionPool$ClosedHash"
289: + "\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006parentt\u0000$Lcom/sun/msv/"
290: + "grammar/ExpressionPool;xp\u0000\u0000\u0000\u001c\u0001pq\u0000~\u0000\u0007q\u0000~\u0000[q\u0000~\u0000\u0005q\u0000~\u0000%q\u0000~\u0000Pq\u0000~\u0000"
291: + "eq\u0000~\u0000\bq\u0000~\u0000\u000fq\u0000~\u0000\'q\u0000~\u0000Jq\u0000~\u0000Rq\u0000~\u0000_q\u0000~\u0000gq\u0000~\u0000\u0012q\u0000~\u0000(q\u0000~\u0000Kq\u0000~\u0000Sq\u0000~\u0000"
292: + "`q\u0000~\u0000hq\u0000~\u0000\\q\u0000~\u0000\u0006q\u0000~\u0000,q\u0000~\u0000Wq\u0000~\u0000lq\u0000~\u0000Gq\u0000~\u0000\nq\u0000~\u0000Hq\u0000~\u0000]x"));
293: }
294: return new com.sun.msv.verifier.regexp.REDocumentDeclaration(
295: schemaFragment);
296: }
297:
298: public class Unmarshaller
299: extends
300: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.AbstractUnmarshallingEventHandlerImpl {
301:
302: public Unmarshaller(
303: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context) {
304: super (context, "--------------");
305: }
306:
307: protected Unmarshaller(
308: com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.runtime.UnmarshallingContext context,
309: int startState) {
310: this (context);
311: state = startState;
312: }
313:
314: public java.lang.Object owner() {
315: return com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ;
316: }
317:
318: public void enterElement(java.lang.String ___uri,
319: java.lang.String ___local, java.lang.String ___qname,
320: org.xml.sax.Attributes __atts)
321: throws org.xml.sax.SAXException {
322: int attIdx;
323: outer: while (true) {
324: switch (state) {
325: case 3:
326: attIdx = context.getAttribute("",
327: "AuthenticationMethod");
328: if (attIdx >= 0) {
329: final java.lang.String v = context
330: .eatAttribute(attIdx);
331: state = 6;
332: eatText1(v);
333: continue outer;
334: }
335: break;
336: case 7:
337: if (("SubjectLocality" == ___local)
338: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
339: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl) spawnChildFromEnterElement(
340: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityImpl.class),
341: 10, ___uri, ___local, ___qname, __atts));
342: return;
343: }
344: if (("SubjectLocality" == ___local)
345: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
346: context.pushAttributes(__atts, false);
347: state = 8;
348: return;
349: }
350: state = 10;
351: continue outer;
352: case 6:
353: if (("Subject" == ___local)
354: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
355: spawnHandlerFromEnterElement(
356: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
357: context)), 7, ___uri, ___local,
358: ___qname, __atts);
359: return;
360: }
361: if (("Subject" == ___local)
362: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
363: spawnHandlerFromEnterElement(
364: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
365: context)), 7, ___uri, ___local,
366: ___qname, __atts);
367: return;
368: }
369: spawnHandlerFromEnterElement(
370: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
371: context)), 7, ___uri, ___local,
372: ___qname, __atts);
373: return;
374: case 8:
375: attIdx = context.getAttribute("", "DNSAddress");
376: if (attIdx >= 0) {
377: context.consumeAttribute(attIdx);
378: context.getCurrentHandler().enterElement(
379: ___uri, ___local, ___qname, __atts);
380: return;
381: }
382: attIdx = context.getAttribute("", "IPAddress");
383: if (attIdx >= 0) {
384: context.consumeAttribute(attIdx);
385: context.getCurrentHandler().enterElement(
386: ___uri, ___local, ___qname, __atts);
387: return;
388: }
389: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromEnterElement(
390: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
391: 9, ___uri, ___local, ___qname, __atts));
392: return;
393: case 11:
394: attIdx = context.getAttribute("", "AuthorityKind");
395: if (attIdx >= 0) {
396: context.consumeAttribute(attIdx);
397: context.getCurrentHandler().enterElement(
398: ___uri, ___local, ___qname, __atts);
399: return;
400: }
401: break;
402: case 10:
403: if (("AuthorityBinding" == ___local)
404: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
405: _getAuthorityBinding()
406: .add(
407: ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl) spawnChildFromEnterElement(
408: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl.class),
409: 13, ___uri, ___local,
410: ___qname, __atts)));
411: return;
412: }
413: if (("AuthorityBinding" == ___local)
414: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
415: context.pushAttributes(__atts, false);
416: state = 11;
417: return;
418: }
419: state = 13;
420: continue outer;
421: case 0:
422: attIdx = context.getAttribute("",
423: "AuthenticationInstant");
424: if (attIdx >= 0) {
425: final java.lang.String v = context
426: .eatAttribute(attIdx);
427: state = 3;
428: eatText2(v);
429: continue outer;
430: }
431: break;
432: case 13:
433: if (("AuthorityBinding" == ___local)
434: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
435: _getAuthorityBinding()
436: .add(
437: ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl) spawnChildFromEnterElement(
438: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingImpl.class),
439: 13, ___uri, ___local,
440: ___qname, __atts)));
441: return;
442: }
443: if (("AuthorityBinding" == ___local)
444: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
445: context.pushAttributes(__atts, false);
446: state = 11;
447: return;
448: }
449: revertToParentFromEnterElement(___uri, ___local,
450: ___qname, __atts);
451: return;
452: }
453: super .enterElement(___uri, ___local, ___qname, __atts);
454: break;
455: }
456: }
457:
458: private void eatText1(final java.lang.String value)
459: throws org.xml.sax.SAXException {
460: try {
461: _AuthenticationMethod = com.sun.xml.bind.WhiteSpaceProcessor
462: .collapse(value);
463: } catch (java.lang.Exception e) {
464: handleParseConversionException(e);
465: }
466: }
467:
468: private void eatText2(final java.lang.String value)
469: throws org.xml.sax.SAXException {
470: try {
471: _AuthenticationInstant = ((java.util.Calendar) com.sun.msv.datatype.xsd.DateTimeType.theInstance
472: .createJavaObject(
473: com.sun.xml.bind.WhiteSpaceProcessor
474: .collapse(value), null));
475: } catch (java.lang.Exception e) {
476: handleParseConversionException(e);
477: }
478: }
479:
480: public void leaveElement(java.lang.String ___uri,
481: java.lang.String ___local, java.lang.String ___qname)
482: throws org.xml.sax.SAXException {
483: int attIdx;
484: outer: while (true) {
485: switch (state) {
486: case 3:
487: attIdx = context.getAttribute("",
488: "AuthenticationMethod");
489: if (attIdx >= 0) {
490: final java.lang.String v = context
491: .eatAttribute(attIdx);
492: state = 6;
493: eatText1(v);
494: continue outer;
495: }
496: break;
497: case 7:
498: state = 10;
499: continue outer;
500: case 6:
501: spawnHandlerFromLeaveElement(
502: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
503: context)), 7, ___uri, ___local,
504: ___qname);
505: return;
506: case 8:
507: attIdx = context.getAttribute("", "DNSAddress");
508: if (attIdx >= 0) {
509: context.consumeAttribute(attIdx);
510: context.getCurrentHandler().leaveElement(
511: ___uri, ___local, ___qname);
512: return;
513: }
514: attIdx = context.getAttribute("", "IPAddress");
515: if (attIdx >= 0) {
516: context.consumeAttribute(attIdx);
517: context.getCurrentHandler().leaveElement(
518: ___uri, ___local, ___qname);
519: return;
520: }
521: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromLeaveElement(
522: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
523: 9, ___uri, ___local, ___qname));
524: return;
525: case 9:
526: if (("SubjectLocality" == ___local)
527: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
528: context.popAttributes();
529: state = 10;
530: return;
531: }
532: break;
533: case 11:
534: attIdx = context.getAttribute("", "AuthorityKind");
535: if (attIdx >= 0) {
536: context.consumeAttribute(attIdx);
537: context.getCurrentHandler().leaveElement(
538: ___uri, ___local, ___qname);
539: return;
540: }
541: break;
542: case 10:
543: state = 13;
544: continue outer;
545: case 0:
546: attIdx = context.getAttribute("",
547: "AuthenticationInstant");
548: if (attIdx >= 0) {
549: final java.lang.String v = context
550: .eatAttribute(attIdx);
551: state = 3;
552: eatText2(v);
553: continue outer;
554: }
555: break;
556: case 12:
557: if (("AuthorityBinding" == ___local)
558: && ("urn:oasis:names:tc:SAML:1.0:assertion" == ___uri)) {
559: context.popAttributes();
560: state = 13;
561: return;
562: }
563: break;
564: case 13:
565: revertToParentFromLeaveElement(___uri, ___local,
566: ___qname);
567: return;
568: }
569: super .leaveElement(___uri, ___local, ___qname);
570: break;
571: }
572: }
573:
574: public void enterAttribute(java.lang.String ___uri,
575: java.lang.String ___local, java.lang.String ___qname)
576: throws org.xml.sax.SAXException {
577: int attIdx;
578: outer: while (true) {
579: switch (state) {
580: case 3:
581: if (("AuthenticationMethod" == ___local)
582: && ("" == ___uri)) {
583: state = 4;
584: return;
585: }
586: break;
587: case 7:
588: state = 10;
589: continue outer;
590: case 6:
591: spawnHandlerFromEnterAttribute(
592: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
593: context)), 7, ___uri, ___local,
594: ___qname);
595: return;
596: case 8:
597: if (("DNSAddress" == ___local) && ("" == ___uri)) {
598: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromEnterAttribute(
599: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
600: 9, ___uri, ___local, ___qname));
601: return;
602: }
603: if (("IPAddress" == ___local) && ("" == ___uri)) {
604: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromEnterAttribute(
605: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
606: 9, ___uri, ___local, ___qname));
607: return;
608: }
609: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromEnterAttribute(
610: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
611: 9, ___uri, ___local, ___qname));
612: return;
613: case 11:
614: if (("AuthorityKind" == ___local) && ("" == ___uri)) {
615: _getAuthorityBinding()
616: .add(
617: ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl) spawnChildFromEnterAttribute(
618: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthorityBindingTypeImpl.class),
619: 12, ___uri, ___local,
620: ___qname)));
621: return;
622: }
623: break;
624: case 10:
625: state = 13;
626: continue outer;
627: case 0:
628: if (("AuthenticationInstant" == ___local)
629: && ("" == ___uri)) {
630: state = 1;
631: return;
632: }
633: break;
634: case 13:
635: revertToParentFromEnterAttribute(___uri, ___local,
636: ___qname);
637: return;
638: }
639: super .enterAttribute(___uri, ___local, ___qname);
640: break;
641: }
642: }
643:
644: public void leaveAttribute(java.lang.String ___uri,
645: java.lang.String ___local, java.lang.String ___qname)
646: throws org.xml.sax.SAXException {
647: int attIdx;
648: outer: while (true) {
649: switch (state) {
650: case 3:
651: attIdx = context.getAttribute("",
652: "AuthenticationMethod");
653: if (attIdx >= 0) {
654: final java.lang.String v = context
655: .eatAttribute(attIdx);
656: state = 6;
657: eatText1(v);
658: continue outer;
659: }
660: break;
661: case 7:
662: state = 10;
663: continue outer;
664: case 5:
665: if (("AuthenticationMethod" == ___local)
666: && ("" == ___uri)) {
667: state = 6;
668: return;
669: }
670: break;
671: case 2:
672: if (("AuthenticationInstant" == ___local)
673: && ("" == ___uri)) {
674: state = 3;
675: return;
676: }
677: break;
678: case 6:
679: spawnHandlerFromLeaveAttribute(
680: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
681: context)), 7, ___uri, ___local,
682: ___qname);
683: return;
684: case 8:
685: attIdx = context.getAttribute("", "DNSAddress");
686: if (attIdx >= 0) {
687: context.consumeAttribute(attIdx);
688: context.getCurrentHandler().leaveAttribute(
689: ___uri, ___local, ___qname);
690: return;
691: }
692: attIdx = context.getAttribute("", "IPAddress");
693: if (attIdx >= 0) {
694: context.consumeAttribute(attIdx);
695: context.getCurrentHandler().leaveAttribute(
696: ___uri, ___local, ___qname);
697: return;
698: }
699: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromLeaveAttribute(
700: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
701: 9, ___uri, ___local, ___qname));
702: return;
703: case 11:
704: attIdx = context.getAttribute("", "AuthorityKind");
705: if (attIdx >= 0) {
706: context.consumeAttribute(attIdx);
707: context.getCurrentHandler().leaveAttribute(
708: ___uri, ___local, ___qname);
709: return;
710: }
711: break;
712: case 10:
713: state = 13;
714: continue outer;
715: case 0:
716: attIdx = context.getAttribute("",
717: "AuthenticationInstant");
718: if (attIdx >= 0) {
719: final java.lang.String v = context
720: .eatAttribute(attIdx);
721: state = 3;
722: eatText2(v);
723: continue outer;
724: }
725: break;
726: case 13:
727: revertToParentFromLeaveAttribute(___uri, ___local,
728: ___qname);
729: return;
730: }
731: super .leaveAttribute(___uri, ___local, ___qname);
732: break;
733: }
734: }
735:
736: public void handleText(final java.lang.String value)
737: throws org.xml.sax.SAXException {
738: int attIdx;
739: outer: while (true) {
740: try {
741: switch (state) {
742: case 3:
743: attIdx = context.getAttribute("",
744: "AuthenticationMethod");
745: if (attIdx >= 0) {
746: final java.lang.String v = context
747: .eatAttribute(attIdx);
748: state = 6;
749: eatText1(v);
750: continue outer;
751: }
752: break;
753: case 7:
754: state = 10;
755: continue outer;
756: case 1:
757: state = 2;
758: eatText2(value);
759: return;
760: case 6:
761: spawnHandlerFromText(
762: (((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectStatementAbstractTypeImpl) com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.AuthenticationStatementTypeImpl.this ).new Unmarshaller(
763: context)), 7, value);
764: return;
765: case 8:
766: attIdx = context.getAttribute("", "DNSAddress");
767: if (attIdx >= 0) {
768: context.consumeAttribute(attIdx);
769: context.getCurrentHandler().text(value);
770: return;
771: }
772: attIdx = context.getAttribute("", "IPAddress");
773: if (attIdx >= 0) {
774: context.consumeAttribute(attIdx);
775: context.getCurrentHandler().text(value);
776: return;
777: }
778: _SubjectLocality = ((com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl) spawnChildFromText(
779: (com.sun.xml.wss.saml.internal.saml11.jaxb10.impl.SubjectLocalityTypeImpl.class),
780: 9, value));
781: return;
782: case 11:
783: attIdx = context.getAttribute("",
784: "AuthorityKind");
785: if (attIdx >= 0) {
786: context.consumeAttribute(attIdx);
787: context.getCurrentHandler().text(value);
788: return;
789: }
790: break;
791: case 10:
792: state = 13;
793: continue outer;
794: case 0:
795: attIdx = context.getAttribute("",
796: "AuthenticationInstant");
797: if (attIdx >= 0) {
798: final java.lang.String v = context
799: .eatAttribute(attIdx);
800: state = 3;
801: eatText2(v);
802: continue outer;
803: }
804: break;
805: case 4:
806: state = 5;
807: eatText1(value);
808: return;
809: case 13:
810: revertToParentFromText(value);
811: return;
812: }
813: } catch (java.lang.RuntimeException e) {
814: handleUnexpectedTextException(value, e);
815: }
816: break;
817: }
818: }
819:
820: }
821:
822: }
|