Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  /*
   * XML Type:  gDatums
   * Namespace: http://www.opengis.net/sampling/1.0
   * Java type: net.opengis.sampling.x10.GDatums
   *
   * Automatically generated - do not modify.
   */
  package net.opengis.sampling.x10;


An XML gDatums(@http://www.opengis.net/sampling/1.0). This is a union type. Instances are of one of the following types: net.opengis.sampling.x10.GDatums$Member net.opengis.sampling.x10.GDatums$Member2
 
 public interface GDatums extends org.apache.xmlbeans.XmlAnySimpleType
 {
     void setObjectValue(java.lang.Object val);
    

Deprecated:
 
     java.lang.Object objectValue();
    

Deprecated:
 
     void objectSet(java.lang.Object val);
     org.apache.xmlbeans.SchemaType instanceType();
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(GDatums.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("gdatums9d6ftype");
    
    
An anonymous inner XML type. This is an atomic type that is a restriction of net.opengis.sampling.x10.GDatums$Member.
 
     public interface Member extends org.apache.xmlbeans.XmlString
     {
         public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
             org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Member.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("anon6d54type");
         
         org.apache.xmlbeans.StringEnumAbstractBase enumValue();
         void set(org.apache.xmlbeans.StringEnumAbstractBase e);
         
         static final Enum AGD_66 = Enum.forString("AGD66");
         static final Enum WGS_84_DMSH = Enum.forString("WGS84(DMSH)");
         static final Enum WGS_84 = Enum.forString("WGS84");
         static final Enum AGD_84 = Enum.forString("AGD84");
         static final Enum GDA_94 = Enum.forString("GDA94");
         static final Enum GDA_94_3_D = Enum.forString("GDA94(3D)");
         
         static final int INT_AGD_66 = .;
         static final int INT_WGS_84_DMSH = .;
         static final int INT_WGS_84 = .;
         static final int INT_AGD_84 = .;
         static final int INT_GDA_94 = .;
         static final int INT_GDA_94_3_D = .;
        
        
Enumeration value class for net.opengis.sampling.x10.GDatums$Member. These enum values can be used as follows:
 enum.toString(); // returns the string value of the enum
 enum.intValue(); // returns an int value, useful for switches
 // e.g., case Enum.INT_AGD_66
 Enum.forString(s); // returns the enum value for a string
 Enum.forInt(i); // returns the enum value for an int
 
Enumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.
 
         static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
         {
            
Returns the enum value for a string, or null if none.
 
             public static Enum forString(java.lang.String s)
                 { return (Enum).forString(s); }
            
Returns the enum value corresponding to an int, or null if none.
 
             public static Enum forInt(int i)
                 { return (Enum).forInt(i); }
             
             private Enum(java.lang.String sint i)
                 { super(si); }
             
             static final int INT_AGD_66 = 1;
             static final int INT_WGS_84_DMSH = 2;
             static final int INT_WGS_84 = 3;
             static final int INT_AGD_84 = 4;
             static final int INT_GDA_94 = 5;
             static final int INT_GDA_94_3_D = 6;
             
             public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                 new org.apache.xmlbeans.StringEnumAbstractBase.Table
             (
                 new Enum[]
                 {
                    new Enum("AGD66"),
                    new Enum("WGS84(DMSH)"),
                    new Enum("WGS84"),
                    new Enum("AGD84"),
                    new Enum("GDA94"),
                    new Enum("GDA94(3D)"),
                }
            );
            private static final long serialVersionUID = 1L;
            private java.lang.Object readResolve() { return forInt(intValue()); } 
        }
        
        
A factory class with static methods for creating instances of this type.
        
        public static final class Factory
        {
            public static net.opengis.sampling.x10.GDatums.Member newValue(java.lang.Object obj) {
              return (net.opengis.sampling.x10.GDatums.Member.newValue( obj ); }
            
            public static net.opengis.sampling.x10.GDatums.Member newInstance() {
              return (net.opengis.sampling.x10.GDatums.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.GDatums.Member newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.GDatums.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    
An anonymous inner XML type. This is an atomic type that is a restriction of net.opengis.sampling.x10.GDatums$Member2.
    public interface Member2 extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Member2.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("anon9395type");
        
        
A factory class with static methods for creating instances of this type.
        
        public static final class Factory
        {
            public static net.opengis.sampling.x10.GDatums.Member2 newValue(java.lang.Object obj) {
              return (net.opengis.sampling.x10.GDatums.Member2.newValue( obj ); }
            
            public static net.opengis.sampling.x10.GDatums.Member2 newInstance() {
              return (net.opengis.sampling.x10.GDatums.Member2) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.GDatums.Member2 newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.GDatums.Member2) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
            
            private Factory() { } // No instance of this class allowed
        }
    }
    
    
A factory class with static methods for creating instances of this type.
    
    public static final class Factory
    {
        public static net.opengis.sampling.x10.GDatums newValue(java.lang.Object obj) {
          return (net.opengis.sampling.x10.GDatums.newValue( obj ); }
        
        public static net.opengis.sampling.x10.GDatums newInstance() {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.opengis.sampling.x10.GDatums newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

Parameters:
xmlAsString the string value to parse
        public static net.opengis.sampling.x10.GDatums parse(java.lang.String xmlAsStringthrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsStringnull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsStringoptions ); }
        
        

Parameters:
file the file from which to load an xml document
        public static net.opengis.sampling.x10.GDatums parse(java.io.File filethrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( filenull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.io.File file, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( fileoptions ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.net.URL uthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( unull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.net.URL u, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( uoptions ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.io.InputStream isthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( isnull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( isoptions ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.io.Reader rthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( rnull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( roptions ); }
        
        public static net.opengis.sampling.x10.GDatums parse(javax.xml.stream.XMLStreamReader srthrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( srnull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sroptions ); }
        
        public static net.opengis.sampling.x10.GDatums parse(org.w3c.dom.Node nodethrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( nodenull ); }
        
        public static net.opengis.sampling.x10.GDatums parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( nodeoptions ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.opengis.sampling.x10.GDatums parse(org.apache.xmlbeans.xml.stream.XMLInputStream xisthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xisnull ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.opengis.sampling.x10.GDatums parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.opengis.sampling.x10.GDatums) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xisoptions ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xisthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xisnull ); }
        
        

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions optionsthrows org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xisoptions ); }
        
        private Factory() { } // No instance of this class allowed
    }
New to GrepCode? Check out our FAQ X