EmbeddedTypeImpl.java revision c1350cf5bc50458ba79cc93ff9e0e5fe3f1aeeb0
0N/A//
0N/A// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs
0N/A// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
0N/A// Any modifications to this file will be lost upon recompilation of the source schema.
0N/A// Generated on: 2012.06.11 at 10:34:16 AM PDT
0N/A//
0N/A
0N/A
0N/Apackage com.sun.identity.wsfederation.jaxb.wsse.impl;
0N/A
0N/Apublic class EmbeddedTypeImpl implements com.sun.identity.wsfederation.jaxb.wsse.EmbeddedType, com.sun.xml.bind.JAXBObject, com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.UnmarshallableObject, com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializable, com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.ValidatableObject
0N/A{
0N/A
0N/A protected com.sun.xml.bind.util.ListImpl _Any;
0N/A protected java.lang.String _ValueType;
0N/A public final static java.lang.Class version = (com.sun.identity.wsfederation.jaxb.wsse.impl.JAXBVersion.class);
0N/A private static com.sun.msv.grammar.Grammar schemaFragment;
0N/A
0N/A private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
0N/A return (com.sun.identity.wsfederation.jaxb.wsse.EmbeddedType.class);
0N/A }
0N/A
0N/A protected com.sun.xml.bind.util.ListImpl _getAny() {
0N/A if (_Any == null) {
0N/A _Any = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
0N/A }
0N/A return _Any;
0N/A }
0N/A
0N/A public java.util.List getAny() {
0N/A return _getAny();
0N/A }
0N/A
0N/A public java.lang.String getValueType() {
0N/A return _ValueType;
0N/A }
0N/A
0N/A public void setValueType(java.lang.String value) {
0N/A _ValueType = value;
0N/A }
0N/A
0N/A public com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.UnmarshallingContext context) {
0N/A return new com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedTypeImpl.Unmarshaller(context);
0N/A }
0N/A
0N/A public void serializeBody(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int idx1 = 0;
0N/A final int len1 = ((_Any == null)? 0 :_Any.size());
0N/A while (idx1 != len1) {
0N/A context.childAsBody(((com.sun.xml.bind.JAXBObject) _Any.get(idx1 ++)), "Any");
0N/A }
0N/A }
0N/A
0N/A public void serializeAttributes(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int idx1 = 0;
0N/A final int len1 = ((_Any == null)? 0 :_Any.size());
0N/A if (_ValueType!= null) {
0N/A context.startAttribute("", "ValueType");
0N/A try {
0N/A context.text(((java.lang.String) _ValueType), "ValueType");
0N/A } catch (java.lang.Exception e) {
0N/A com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.Util.handlePrintConversionException(this, e, context);
0N/A }
0N/A context.endAttribute();
0N/A }
0N/A while (idx1 != len1) {
0N/A idx1 += 1;
0N/A }
0N/A }
0N/A
0N/A public void serializeURIs(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int idx1 = 0;
0N/A final int len1 = ((_Any == null)? 0 :_Any.size());
0N/A while (idx1 != len1) {
0N/A idx1 += 1;
0N/A }
0N/A }
0N/A
0N/A public java.lang.Class getPrimaryInterface() {
0N/A return (com.sun.identity.wsfederation.jaxb.wsse.EmbeddedType.class);
0N/A }
0N/A
0N/A public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
0N/A if (schemaFragment == null) {
0N/A schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.deserialize((
0N/A "\u00ac\u00ed\u0000\u0005sr\u0000\u001fcom.sun.msv.grammar.SequenceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.su"
0N/A+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
0N/A+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
0N/A+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
0N/A+"expandedExpq\u0000~\u0000\u0002xpppsr\u0000\u001dcom.sun.msv.grammar.ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
0N/A+"\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsr\u0000 com.sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
0N/A+"r\u0000\u001ccom.sun.msv.grammar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003s"
0N/A+"r\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.g"
0N/A+"rammar.trex.ElementPattern\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun"
0N/A+"/msv/grammar/NameClass;xr\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000"
0N/A+"\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclaredAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000"
0N/A+"~\u0000\u0003q\u0000~\u0000\fp\u0000sr\u0000 com.sun.msv.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003"
0N/A+"expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000\u000exq\u0000~\u0000\u0003ppsr\u00002com.sun.msv.grammar.Exp"
0N/A+"ression$AnyStringExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u000b\u0001q\u0000~\u0000\u0014sr\u0000 "
0N/A+"com.sun.msv.grammar.AnyNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001dcom.sun.msv.g"
0N/A+"rammar.NameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u0000&com.sun.msv.grammar.Namespa"
0N/A+"ceNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\fnamespaceURIt\u0000\u0012Ljava/lang/String;xq"
0N/A+"\u0000~\u0000\u0017t\u0000+http://java.sun.com/jaxb/xjc/dummy-elementssr\u00000com.su"
0N/A+"n.msv.grammar.Expression$EpsilonExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q"
0N/A+"\u0000~\u0000\u0015q\u0000~\u0000\u001esq\u0000~\u0000\u0006ppsq\u0000~\u0000\u0011q\u0000~\u0000\fpsr\u0000\u001bcom.sun.msv.grammar.DataExp"
0N/A+"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L\u0000\u0006exceptq"
0N/A+"\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003q\u0000~\u0000\fpsr\u0000#c"
0N/A+"om.sun.msv.datatype.xsd.AnyURIType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com.sun.msv"
0N/A+".datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.sun.msv.da"
0N/A+"tatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.datatype.x"
0N/A+"sd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000\u001aL\u0000\btypeNameq"
0N/A+"\u0000~\u0000\u001aL\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteSpaceProc"
0N/A+"essor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0006anyURIsr\u00005com."
0N/A+"sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000"
0N/A+"xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000x"
0N/A+"psr\u00000com.sun.msv.grammar.Expression$NullSetExpression\u0000\u0000\u0000\u0000\u0000\u0000\u0000"
0N/A+"\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\fpsr\u0000\u001bcom.sun.msv.util.StringPair\u00d0t\u001ejB\u008f\u008d\u00a0\u0002\u0000\u0002L\u0000"
0N/A+"\tlocalNameq\u0000~\u0000\u001aL\u0000\fnamespaceURIq\u0000~\u0000\u001axpq\u0000~\u0000,q\u0000~\u0000+sr\u0000#com.sun.m"
0N/A+"sv.grammar.SimpleNameClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNameq\u0000~\u0000\u001aL\u0000\fnam"
0N/A+"espaceURIq\u0000~\u0000\u001axq\u0000~\u0000\u0017t\u0000\tValueTypet\u0000\u0000q\u0000~\u0000\u001esr\u0000\"com.sun.msv.gram"
0N/A+"mar.ExpressionPool\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\bexpTablet\u0000/Lcom/sun/msv/gram"
0N/A+"mar/ExpressionPool$ClosedHash;xpsr\u0000-com.sun.msv.grammar.Expr"
0N/A+"essionPool$ClosedHash\u00d7j\u00d0N\u00ef\u00e8\u00ed\u001c\u0003\u0000\u0003I\u0000\u0005countB\u0000\rstreamVersionL\u0000\u0006p"
0N/A+"arentt\u0000$Lcom/sun/msv/grammar/ExpressionPool;xp\u0000\u0000\u0000\u0004\u0001pq\u0000~\u0000\u0007q\u0000~"
0N/A+"\u0000\u001fq\u0000~\u0000\nq\u0000~\u0000\u0005x"));
0N/A }
0N/A return new com.sun.msv.verifier.regexp.REDocumentDeclaration(schemaFragment);
0N/A }
0N/A
0N/A public class Unmarshaller
0N/A extends com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.AbstractUnmarshallingEventHandlerImpl
0N/A {
0N/A
0N/A
0N/A public Unmarshaller(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.UnmarshallingContext context) {
0N/A super(context, "-----");
0N/A }
0N/A
0N/A protected Unmarshaller(com.sun.identity.wsfederation.jaxb.entityconfig.impl.runtime.UnmarshallingContext context, int startState) {
0N/A this(context);
0N/A state = startState;
0N/A }
0N/A
0N/A public java.lang.Object owner() {
0N/A return com.sun.identity.wsfederation.jaxb.wsse.impl.EmbeddedTypeImpl.this;
0N/A }
0N/A
0N/A public void enterElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname, org.xml.sax.Attributes __atts)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int attIdx;
0N/A outer:
0N/A while (true) {
0N/A switch (state) {
0N/A case 0 :
0N/A attIdx = context.getAttribute("", "ValueType");
0N/A if (attIdx >= 0) {
0N/A final java.lang.String v = context.eatAttribute(attIdx);
0N/A state = 3;
0N/A eatText1(v);
0N/A continue outer;
0N/A }
0N/A state = 3;
0N/A continue outer;
0N/A case 3 :
0N/A if (true) {
0N/A java.lang.Object co = spawnWildcard(4, ___uri, ___local, ___qname, __atts);
0N/A if (co!= null) {
0N/A _getAny().add(co);
0N/A }
0N/A return ;
0N/A }
0N/A state = 4;
0N/A continue outer;
0N/A case 4 :
0N/A if (true) {
0N/A java.lang.Object co = spawnWildcard(4, ___uri, ___local, ___qname, __atts);
0N/A if (co!= null) {
0N/A _getAny().add(co);
0N/A }
0N/A return ;
0N/A }
0N/A revertToParentFromEnterElement(___uri, ___local, ___qname, __atts);
0N/A return ;
0N/A }
0N/A super.enterElement(___uri, ___local, ___qname, __atts);
0N/A break;
0N/A }
0N/A }
0N/A
0N/A private void eatText1(final java.lang.String value)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A try {
0N/A _ValueType = com.sun.xml.bind.WhiteSpaceProcessor.collapse(value);
0N/A } catch (java.lang.Exception e) {
0N/A handleParseConversionException(e);
0N/A }
0N/A }
0N/A
0N/A public void leaveElement(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int attIdx;
0N/A outer:
0N/A while (true) {
0N/A switch (state) {
0N/A case 0 :
0N/A attIdx = context.getAttribute("", "ValueType");
0N/A if (attIdx >= 0) {
0N/A final java.lang.String v = context.eatAttribute(attIdx);
0N/A state = 3;
0N/A eatText1(v);
0N/A continue outer;
0N/A }
0N/A state = 3;
0N/A continue outer;
0N/A case 3 :
0N/A state = 4;
0N/A continue outer;
0N/A case 4 :
0N/A revertToParentFromLeaveElement(___uri, ___local, ___qname);
0N/A return ;
0N/A }
0N/A super.leaveElement(___uri, ___local, ___qname);
0N/A break;
0N/A }
0N/A }
0N/A
0N/A public void enterAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int attIdx;
0N/A outer:
0N/A while (true) {
0N/A switch (state) {
0N/A case 0 :
0N/A if (("ValueType" == ___local)&&("" == ___uri)) {
0N/A state = 1;
0N/A return ;
0N/A }
0N/A state = 3;
0N/A continue outer;
0N/A case 3 :
0N/A state = 4;
0N/A continue outer;
0N/A case 4 :
0N/A revertToParentFromEnterAttribute(___uri, ___local, ___qname);
0N/A return ;
0N/A }
0N/A super.enterAttribute(___uri, ___local, ___qname);
0N/A break;
0N/A }
0N/A }
0N/A
0N/A public void leaveAttribute(java.lang.String ___uri, java.lang.String ___local, java.lang.String ___qname)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int attIdx;
0N/A outer:
0N/A while (true) {
0N/A switch (state) {
0N/A case 0 :
0N/A attIdx = context.getAttribute("", "ValueType");
0N/A if (attIdx >= 0) {
0N/A final java.lang.String v = context.eatAttribute(attIdx);
0N/A state = 3;
0N/A eatText1(v);
0N/A continue outer;
0N/A }
0N/A state = 3;
0N/A continue outer;
0N/A case 3 :
0N/A state = 4;
0N/A continue outer;
0N/A case 4 :
0N/A revertToParentFromLeaveAttribute(___uri, ___local, ___qname);
0N/A return ;
0N/A case 2 :
0N/A if (("ValueType" == ___local)&&("" == ___uri)) {
0N/A state = 3;
0N/A return ;
0N/A }
0N/A break;
0N/A }
0N/A super.leaveAttribute(___uri, ___local, ___qname);
0N/A break;
0N/A }
0N/A }
0N/A
0N/A public void handleText(final java.lang.String value)
0N/A throws org.xml.sax.SAXException
0N/A {
0N/A int attIdx;
0N/A outer:
0N/A while (true) {
0N/A try {
0N/A switch (state) {
0N/A case 0 :
0N/A attIdx = context.getAttribute("", "ValueType");
0N/A if (attIdx >= 0) {
0N/A final java.lang.String v = context.eatAttribute(attIdx);
0N/A state = 3;
0N/A eatText1(v);
0N/A continue outer;
0N/A }
0N/A state = 3;
0N/A continue outer;
0N/A case 3 :
0N/A state = 4;
0N/A continue outer;
0N/A case 1 :
0N/A state = 2;
0N/A eatText1(value);
0N/A return ;
0N/A case 4 :
0N/A revertToParentFromText(value);
0N/A return ;
0N/A }
0N/A } catch (java.lang.RuntimeException e) {
0N/A handleUnexpectedTextException(value, e);
0N/A }
0N/A break;
0N/A }
0N/A }
0N/A
0N/A }
0N/A
0N/A}
0N/A