//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.6-b27-fcs
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2012.06.11 at 10:33:54 AM PDT
//
package com.sun.identity.liberty.ws.common.jaxb.ac.impl;
public class AuthenticationMethodTypeImpl implements com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticationMethodType, com.sun.xml.bind.JAXBObject, com.sun.identity.federation.jaxb.entityconfig.impl.runtime.UnmarshallableObject, com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializable, com.sun.identity.federation.jaxb.entityconfig.impl.runtime.ValidatableObject
{
protected com.sun.xml.bind.util.ListImpl _Extension;
protected com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorType _Authenticator;
protected com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorTransportProtocolType _AuthenticatorTransportProtocol;
protected com.sun.identity.liberty.ws.common.jaxb.ac.PrincipalAuthenticationMechanismType _PrincipalAuthenticationMechanism;
public final static java.lang.Class version = (com.sun.identity.liberty.ws.common.jaxb.ac.impl.JAXBVersion.class);
private static com.sun.msv.grammar.Grammar schemaFragment;
private final static java.lang.Class PRIMARY_INTERFACE_CLASS() {
return (com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticationMethodType.class);
}
protected com.sun.xml.bind.util.ListImpl _getExtension() {
if (_Extension == null) {
_Extension = new com.sun.xml.bind.util.ListImpl(new java.util.ArrayList());
}
return _Extension;
}
public java.util.List getExtension() {
return _getExtension();
}
public com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorType getAuthenticator() {
return _Authenticator;
}
public void setAuthenticator(com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorType value) {
_Authenticator = value;
}
public com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorTransportProtocolType getAuthenticatorTransportProtocol() {
return _AuthenticatorTransportProtocol;
}
public void setAuthenticatorTransportProtocol(com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticatorTransportProtocolType value) {
_AuthenticatorTransportProtocol = value;
}
public com.sun.identity.liberty.ws.common.jaxb.ac.PrincipalAuthenticationMechanismType getPrincipalAuthenticationMechanism() {
return _PrincipalAuthenticationMechanism;
}
public void setPrincipalAuthenticationMechanism(com.sun.identity.liberty.ws.common.jaxb.ac.PrincipalAuthenticationMechanismType value) {
_PrincipalAuthenticationMechanism = value;
}
public com.sun.identity.federation.jaxb.entityconfig.impl.runtime.UnmarshallingEventHandler createUnmarshaller(com.sun.identity.federation.jaxb.entityconfig.impl.runtime.UnmarshallingContext context) {
return new com.sun.identity.liberty.ws.common.jaxb.ac.impl.AuthenticationMethodTypeImpl.Unmarshaller(context);
}
public void serializeBody(com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Extension == null)? 0 :_Extension.size());
if (_PrincipalAuthenticationMechanism!= null) {
if (_PrincipalAuthenticationMechanism instanceof javax.xml.bind.Element) {
context.childAsBody(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
} else {
context.startElement("urn:liberty:ac:2003-08", "PrincipalAuthenticationMechanism");
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
context.endNamespaceDecls();
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
context.endElement();
}
}
if (_Authenticator!= null) {
if (_Authenticator instanceof javax.xml.bind.Element) {
context.childAsBody(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
} else {
context.startElement("urn:liberty:ac:2003-08", "Authenticator");
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
context.endNamespaceDecls();
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
context.endElement();
}
}
if (_AuthenticatorTransportProtocol!= null) {
if (_AuthenticatorTransportProtocol instanceof javax.xml.bind.Element) {
context.childAsBody(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
} else {
context.startElement("urn:liberty:ac:2003-08", "AuthenticatorTransportProtocol");
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
context.endNamespaceDecls();
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
context.endElement();
}
}
while (idx1 != len1) {
if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1 ++)), "Extension");
} else {
context.startElement("urn:liberty:ac:2003-08", "Extension");
int idx_6 = idx1;
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx_6 ++)), "Extension");
context.endNamespaceDecls();
int idx_7 = idx1;
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Extension.get(idx_7 ++)), "Extension");
context.endAttributes();
context.childAsBody(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1 ++)), "Extension");
context.endElement();
}
}
}
public void serializeAttributes(com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Extension == null)? 0 :_Extension.size());
if (_PrincipalAuthenticationMechanism!= null) {
if (_PrincipalAuthenticationMechanism instanceof javax.xml.bind.Element) {
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
}
}
if (_Authenticator!= null) {
if (_Authenticator instanceof javax.xml.bind.Element) {
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
}
}
if (_AuthenticatorTransportProtocol!= null) {
if (_AuthenticatorTransportProtocol instanceof javax.xml.bind.Element) {
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
}
}
while (idx1 != len1) {
if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
context.childAsAttributes(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1 ++)), "Extension");
} else {
idx1 += 1;
}
}
}
public void serializeURIs(com.sun.identity.federation.jaxb.entityconfig.impl.runtime.XMLSerializer context)
throws org.xml.sax.SAXException
{
int idx1 = 0;
final int len1 = ((_Extension == null)? 0 :_Extension.size());
if (_PrincipalAuthenticationMechanism!= null) {
if (_PrincipalAuthenticationMechanism instanceof javax.xml.bind.Element) {
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _PrincipalAuthenticationMechanism), "PrincipalAuthenticationMechanism");
}
}
if (_Authenticator!= null) {
if (_Authenticator instanceof javax.xml.bind.Element) {
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Authenticator), "Authenticator");
}
}
if (_AuthenticatorTransportProtocol!= null) {
if (_AuthenticatorTransportProtocol instanceof javax.xml.bind.Element) {
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _AuthenticatorTransportProtocol), "AuthenticatorTransportProtocol");
}
}
while (idx1 != len1) {
if (_Extension.get(idx1) instanceof javax.xml.bind.Element) {
context.childAsURIs(((com.sun.xml.bind.JAXBObject) _Extension.get(idx1 ++)), "Extension");
} else {
idx1 += 1;
}
}
}
public java.lang.Class getPrimaryInterface() {
return (com.sun.identity.liberty.ws.common.jaxb.ac.AuthenticationMethodType.class);
}
public com.sun.msv.verifier.DocumentDeclaration createRawValidator() {
if (schemaFragment == null) {
schemaFragment = com.sun.xml.bind.validator.SchemaDeserializer.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"
+"n.msv.grammar.BinaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0004exp1t\u0000 Lcom/sun/msv/gra"
+"mmar/Expression;L\u0000\u0004exp2q\u0000~\u0000\u0002xr\u0000\u001ecom.sun.msv.grammar.Expressi"
+"on\u00f8\u0018\u0082\u00e8N5~O\u0002\u0000\u0002L\u0000\u0013epsilonReducibilityt\u0000\u0013Ljava/lang/Boolean;L\u0000\u000b"
+"expandedExpq\u0000~\u0000\u0002xpppsq\u0000~\u0000\u0000ppsq\u0000~\u0000\u0000ppsr\u0000\u001dcom.sun.msv.grammar."
+"ChoiceExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0001ppsq\u0000~\u0000\bsr\u0000\u0011java.lang.Boolean\u00cd r\u0080\u00d5"
+"\u009c\u00fa\u00ee\u0002\u0000\u0001Z\u0000\u0005valuexp\u0000psr\u0000\'com.sun.msv.grammar.trex.ElementPatter"
+"n\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\tnameClasst\u0000\u001fLcom/sun/msv/grammar/NameClass;xr"
+"\u0000\u001ecom.sun.msv.grammar.ElementExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002Z\u0000\u001aignoreUndeclar"
+"edAttributesL\u0000\fcontentModelq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\fp\u0000sq\u0000~\u0000\bppsr\u0000 com"
+".sun.msv.grammar.OneOrMoreExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\u001ccom.sun.msv.gram"
+"mar.UnaryExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0001L\u0000\u0003expq\u0000~\u0000\u0002xq\u0000~\u0000\u0003q\u0000~\u0000\fpsr\u0000 com.sun.ms"
+"v.grammar.AttributeExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\u0003expq\u0000~\u0000\u0002L\u0000\tnameClassq\u0000~\u0000"
+"\u000exq\u0000~\u0000\u0003q\u0000~\u0000\fpsr\u00002com.sun.msv.grammar.Expression$AnyStringExp"
+"ression\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003sq\u0000~\u0000\u000b\u0001q\u0000~\u0000\u0018sr\u0000 com.sun.msv.grammar."
+"AnyNameClass\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\u0000xpsr\u00000com.sun.msv.grammar.Expression$EpsilonExpressio"
+"n\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xq\u0000~\u0000\u0003q\u0000~\u0000\u0019q\u0000~\u0000\u001esr\u0000#com.sun.msv.grammar.SimpleNa"
+"meClass\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0002L\u0000\tlocalNamet\u0000\u0012Ljava/lang/String;L\u0000\fnamesp"
+"aceURIq\u0000~\u0000 xq\u0000~\u0000\u001bt\u0000Rcom.sun.identity.liberty.ws.common.jaxb."
+"ac.PrincipalAuthenticationMechanismElementt\u0000+http://java.sun"
+".com/jaxb/xjc/dummy-elementssq\u0000~\u0000\rq\u0000~\u0000\fp\u0000sq\u0000~\u0000\u0000ppsq\u0000~\u0000\rpp\u0000sq"
+"\u0000~\u0000\bppsq\u0000~\u0000\u0012q\u0000~\u0000\fpsq\u0000~\u0000\u0015q\u0000~\u0000\fpq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000Ocom.su"
+"n.identity.liberty.ws.common.jaxb.ac.PrincipalAuthentication"
+"MechanismTypeq\u0000~\u0000#sq\u0000~\u0000\bppsq\u0000~\u0000\u0015q\u0000~\u0000\fpsr\u0000\u001bcom.sun.msv.gramma"
+"r.DataExp\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\u0002dtt\u0000\u001fLorg/relaxng/datatype/Datatype;L"
+"\u0000\u0006exceptq\u0000~\u0000\u0002L\u0000\u0004namet\u0000\u001dLcom/sun/msv/util/StringPair;xq\u0000~\u0000\u0003q\u0000"
+"~\u0000\fpsr\u0000\"com.sun.msv.datatype.xsd.QnameType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000*com"
+".sun.msv.datatype.xsd.BuiltinAtomicType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000%com.su"
+"n.msv.datatype.xsd.ConcreteType\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000\'com.sun.msv.da"
+"tatype.xsd.XSDatatypeImpl\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0001\u0002\u0000\u0003L\u0000\fnamespaceUriq\u0000~\u0000 L\u0000\bt"
+"ypeNameq\u0000~\u0000 L\u0000\nwhiteSpacet\u0000.Lcom/sun/msv/datatype/xsd/WhiteS"
+"paceProcessor;xpt\u0000 http://www.w3.org/2001/XMLSchemat\u0000\u0005QNames"
+"r\u00005com.sun.msv.datatype.xsd.WhiteSpaceProcessor$Collapse\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0000\u0001\u0002\u0000\u0000xr\u0000,com.sun.msv.datatype.xsd.WhiteSpaceProcessor\u0000\u0000\u0000\u0000\u0000"
+"\u0000\u0000\u0001\u0002\u0000\u0000xpsr\u00000com.sun.msv.grammar.Expression$NullSetExpression"
+"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\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\tlocalNameq\u0000~\u0000 L\u0000\fnamespaceURIq\u0000~\u0000 xpq\u0000~\u00009q\u0000~\u00008sq\u0000~\u0000\u001f"
+"t\u0000\u0004typet\u0000)http://www.w3.org/2001/XMLSchema-instanceq\u0000~\u0000\u001esq\u0000~"
+"\u0000\u001ft\u0000 PrincipalAuthenticationMechanismt\u0000\u0016urn:liberty:ac:2003-"
+"08q\u0000~\u0000\u001esq\u0000~\u0000\bppsq\u0000~\u0000\bq\u0000~\u0000\fpsq\u0000~\u0000\rq\u0000~\u0000\fp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u0012q\u0000~\u0000\fp"
+"sq\u0000~\u0000\u0015q\u0000~\u0000\fpq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000\u001esq\u0000~\u0000\u001ft\u0000?com.sun.identity.liberty"
+".ws.common.jaxb.ac.AuthenticatorElementq\u0000~\u0000#sq\u0000~\u0000\rq\u0000~\u0000\fp\u0000sq\u0000"
+"~\u0000\u0000ppsq\u0000~\u0000\rpp\u0000sq\u0000~\u0000\bppsq\u0000~\u0000\u0012q\u0000~\u0000\fpsq\u0000~\u0000\u0015q\u0000~\u0000\fpq\u0000~\u0000\u0018q\u0000~\u0000\u001cq\u0000~\u0000"
+"\u001esq\u0000~\u0000\u001ft\u0000