Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


An XML projections(@http://www.opengis.net/sampling/1.0). This is a union type. Instances are of one of the following types: net.opengis.sampling.x10.Projections$Member net.opengis.sampling.x10.Projections$Member2
 
 public interface Projections 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(Projections.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("projectionsc848type");
    
    
An anonymous inner XML type. This is an atomic type that is a restriction of net.opengis.sampling.x10.Projections$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("anon1dadtype");
         
         org.apache.xmlbeans.StringEnumAbstractBase enumValue();
         void set(org.apache.xmlbeans.StringEnumAbstractBase e);
         
         static final Enum MGA_48 = Enum.forString("MGA48");
         static final Enum MGA_49 = Enum.forString("MGA49");
         static final Enum MGA_50 = Enum.forString("MGA50");
         static final Enum MGA_51 = Enum.forString("MGA51");
         static final Enum MGA_52 = Enum.forString("MGA52");
         static final Enum MGA_53 = Enum.forString("MGA53");
         static final Enum MGA_54 = Enum.forString("MGA54");
         static final Enum MGA_55 = Enum.forString("MGA55");
         static final Enum MGA_56 = Enum.forString("MGA56");
         static final Enum MGA_57 = Enum.forString("MGA57");
         static final Enum MGA_58 = Enum.forString("MGA58");
         
         static final int INT_MGA_48 = .;
         static final int INT_MGA_49 = .;
         static final int INT_MGA_50 = .;
         static final int INT_MGA_51 = .;
         static final int INT_MGA_52 = .;
         static final int INT_MGA_53 = .;
         static final int INT_MGA_54 = .;
         static final int INT_MGA_55 = .;
         static final int INT_MGA_56 = .;
         static final int INT_MGA_57 = .;
         static final int INT_MGA_58 = .;
        
        
Enumeration value class for net.opengis.sampling.x10.Projections$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_MGA_48
 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_MGA_48 = 1;
             static final int INT_MGA_49 = 2;
            static final int INT_MGA_50 = 3;
            static final int INT_MGA_51 = 4;
            static final int INT_MGA_52 = 5;
            static final int INT_MGA_53 = 6;
            static final int INT_MGA_54 = 7;
            static final int INT_MGA_55 = 8;
            static final int INT_MGA_56 = 9;
            static final int INT_MGA_57 = 10;
            static final int INT_MGA_58 = 11;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("MGA48"),
                    new Enum("MGA49"),
                    new Enum("MGA50"),
                    new Enum("MGA51"),
                    new Enum("MGA52"),
                    new Enum("MGA53"),
                    new Enum("MGA54"),
                    new Enum("MGA55"),
                    new Enum("MGA56"),
                    new Enum("MGA57"),
                    new Enum("MGA58"),
                }
            );
            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.Projections.Member newValue(java.lang.Object obj) {
              return (net.opengis.sampling.x10.Projections.Member.newValue( obj ); }
            
            public static net.opengis.sampling.x10.Projections.Member newInstance() {
              return (net.opengis.sampling.x10.Projections.Member) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.Projections.Member newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.Projections.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.Projections$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("anon3b6etype");
        
        
A factory class with static methods for creating instances of this type.
        
        public static final class Factory
        {
            public static net.opengis.sampling.x10.Projections.Member2 newValue(java.lang.Object obj) {
              return (net.opengis.sampling.x10.Projections.Member2.newValue( obj ); }
            
            public static net.opengis.sampling.x10.Projections.Member2 newInstance() {
              return (net.opengis.sampling.x10.Projections.Member2) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.Projections.Member2 newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.Projections.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.Projections newValue(java.lang.Object obj) {
          return (net.opengis.sampling.x10.Projections.newValue( obj ); }
        
        public static net.opengis.sampling.x10.Projections newInstance() {
          return (net.opengis.sampling.x10.Projections) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.opengis.sampling.x10.Projections newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.opengis.sampling.x10.Projections) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

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

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

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

Deprecated:
org.apache.xmlbeans.xml.stream.XMLInputStream
        public static net.opengis.sampling.x10.Projections 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.Projections) 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