package gw.internal.schema.gw.xsd.w3c.xmlschema; /***************************************************************************/ /* THIS IS AUTOGENERATED CODE - DO NOT MODIFY OR YOUR CHANGES WILL BE LOST */ /* THIS CODE CAN BE REGENERATED USING 'xsd-codegen' */ /***************************************************************************/ public class Key extends gw.xml.XmlElement implements gw.internal.xml.IXmlGeneratedClass { public static final javax.xml.namespace.QName $ATTRIBUTE_QNAME_Id = new javax.xml.namespace.QName( "", "id", "" ); public static final javax.xml.namespace.QName $ATTRIBUTE_QNAME_Name = new javax.xml.namespace.QName( "", "name", "" ); public static final javax.xml.namespace.QName $ELEMENT_QNAME_Annotation = new javax.xml.namespace.QName( "http://www.w3.org/2001/XMLSchema", "annotation", "xs" ); public static final javax.xml.namespace.QName $ELEMENT_QNAME_Field = new javax.xml.namespace.QName( "http://www.w3.org/2001/XMLSchema", "field", "xs" ); public static final javax.xml.namespace.QName $ELEMENT_QNAME_Selector = new javax.xml.namespace.QName( "http://www.w3.org/2001/XMLSchema", "selector", "xs" ); public static final javax.xml.namespace.QName $QNAME = new javax.xml.namespace.QName( "http://www.w3.org/2001/XMLSchema", "key", "xs" ); public static final gw.util.concurrent.LockingLazyVar<gw.lang.reflect.IType> TYPE = new gw.util.concurrent.LockingLazyVar<gw.lang.reflect.IType>( gw.lang.reflect.TypeSystem.getGlobalLock() ) { @Override protected gw.lang.reflect.IType init() { return gw.lang.reflect.TypeSystem.getByFullName( "gw.xsd.w3c.xmlschema.Key" ); } }; private static final gw.util.concurrent.LockingLazyVar<gw.lang.reflect.IType> TYPEINSTANCETYPE = new gw.util.concurrent.LockingLazyVar<gw.lang.reflect.IType>( gw.lang.reflect.TypeSystem.getGlobalLock() ) { @Override protected gw.lang.reflect.IType init() { return gw.lang.reflect.TypeSystem.getByFullName( "gw.xsd.w3c.xmlschema.types.complex.Keybase" ); } }; public Key() { this( new gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.Keybase() ); } public Key( gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.Keybase typeInstance ) { super( $QNAME, TYPE.get(), TYPEINSTANCETYPE.get(), typeInstance ); } protected Key( javax.xml.namespace.QName qname, gw.lang.reflect.IType type, gw.lang.reflect.IType schemaDefinedTypeInstanceType, gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.AnyType typeInstance ) { super( qname, type, schemaDefinedTypeInstanceType, typeInstance ); } public gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.Keybase getTypeInstance() { //noinspection RedundantCast return (gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.Keybase) super.getTypeInstance(); } public void setTypeInstance( gw.internal.schema.gw.xsd.w3c.xmlschema.types.complex.Keybase param ) { super.setTypeInstance( param ); } public gw.internal.schema.gw.xsd.w3c.xmlschema.Annotation Annotation() { return (gw.internal.schema.gw.xsd.w3c.xmlschema.Annotation) TYPE.get().getTypeInfo().getProperty( "Annotation" ).getAccessor().getValue( this ); } public void setAnnotation$( gw.internal.schema.gw.xsd.w3c.xmlschema.Annotation param ) { TYPE.get().getTypeInfo().getProperty( "Annotation" ).getAccessor().setValue( this, param ); } public java.util.List<gw.internal.schema.gw.xsd.w3c.xmlschema.Field> Field() { //noinspection unchecked return (java.util.List<gw.internal.schema.gw.xsd.w3c.xmlschema.Field>) TYPE.get().getTypeInfo().getProperty( "Field" ).getAccessor().getValue( this ); } public void setField$( java.util.List<gw.internal.schema.gw.xsd.w3c.xmlschema.Field> param ) { TYPE.get().getTypeInfo().getProperty( "Field" ).getAccessor().setValue( this, param ); } public java.lang.String Id() { return (java.lang.String) TYPE.get().getTypeInfo().getProperty( "Id" ).getAccessor().getValue( this ); } public void setId$( java.lang.String param ) { TYPE.get().getTypeInfo().getProperty( "Id" ).getAccessor().setValue( this, param ); } public java.lang.String Name() { return (java.lang.String) TYPE.get().getTypeInfo().getProperty( "Name" ).getAccessor().getValue( this ); } public void setName$( java.lang.String param ) { TYPE.get().getTypeInfo().getProperty( "Name" ).getAccessor().setValue( this, param ); } public gw.internal.schema.gw.xsd.w3c.xmlschema.Selector Selector() { return (gw.internal.schema.gw.xsd.w3c.xmlschema.Selector) TYPE.get().getTypeInfo().getProperty( "Selector" ).getAccessor().getValue( this ); } public void setSelector$( gw.internal.schema.gw.xsd.w3c.xmlschema.Selector param ) { TYPE.get().getTypeInfo().getProperty( "Selector" ).getAccessor().setValue( this, param ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( byte[] byteArray ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( byte[].class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { byteArray } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( byte[] byteArray, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( byte[].class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { byteArray, options } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.File file ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.File.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { file } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.File file, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.File.class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { file, options } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.InputStream inputStream ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.InputStream.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { inputStream } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.InputStream inputStream, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.InputStream.class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { inputStream, options } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.Reader reader ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.Reader.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { reader } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.io.Reader reader, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.io.Reader.class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { reader, options } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.lang.String xmlString ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.lang.String.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { xmlString } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.lang.String xmlString, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.lang.String.class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { xmlString, options } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.net.URL url ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.net.URL.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { url } ); } public static gw.internal.schema.gw.xsd.w3c.xmlschema.Key parse( java.net.URL url, gw.xml.XmlParseOptions options ) { //noinspection RedundantArrayCreation return (gw.internal.schema.gw.xsd.w3c.xmlschema.Key) TYPE.get().getTypeInfo().getMethod( "parse", gw.lang.reflect.TypeSystem.get( java.net.URL.class ), gw.lang.reflect.TypeSystem.get( gw.xml.XmlParseOptions.class ) ).getCallHandler().handleCall( null, new java.lang.Object[] { url, options } ); } @SuppressWarnings( {"UnusedDeclaration"} ) private static final long FINGERPRINT = -3788403261967307401L; }