Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


An XML LocationPropertyType(@http://www.opengis.net/sampling/1.0). This is a complex type.
 
 public interface LocationPropertyType extends org.apache.xmlbeans.XmlObject
 {
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(LocationPropertyType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("locationpropertytype085atype");
    
    
Gets the "_Geometry" element
 
     net.opengis.gml.AbstractGeometryType getGeometry();
    
    
True if has "_Geometry" element
 
     boolean isSetGeometry();
    
    
Sets the "_Geometry" element
 
     void setGeometry(net.opengis.gml.AbstractGeometryType geometry);
    
    
Appends and returns a new empty "_Geometry" element
 
     net.opengis.gml.AbstractGeometryType addNewGeometry();
    
    
Unsets the "_Geometry" element
 
     void unsetGeometry();
    
    
Gets the "EX_GeographicDescription" element
 
True if has "EX_GeographicDescription" element
 
     boolean isSetEXGeographicDescription();
    
    
Sets the "EX_GeographicDescription" element
 
     void setEXGeographicDescription(net.opengis.sampling.x10.AnyOrReferenceType exGeographicDescription);
    
    
Appends and returns a new empty "EX_GeographicDescription" element
 
Unsets the "EX_GeographicDescription" element
 
     void unsetEXGeographicDescription();
    
    
Gets the "type" attribute
 
     org.w3.x1999.xlink.TypeType.Enum getType();
    
    
Gets (as xml) the "type" attribute
 
     org.w3.x1999.xlink.TypeType xgetType();
    
    
True if has "type" attribute
 
     boolean isSetType();
    
    
Sets the "type" attribute
 
     void setType(org.w3.x1999.xlink.TypeType.Enum type);
    
    
Sets (as xml) the "type" attribute
 
     void xsetType(org.w3.x1999.xlink.TypeType type);
    
    
Unsets the "type" attribute
 
     void unsetType();
    
    
Gets the "href" attribute
    java.lang.String getHref();
    
    
Gets (as xml) the "href" attribute
    org.w3.x1999.xlink.HrefType xgetHref();
    
    
True if has "href" attribute
    boolean isSetHref();
    
    
Sets the "href" attribute
    void setHref(java.lang.String href);
    
    
Sets (as xml) the "href" attribute
    void xsetHref(org.w3.x1999.xlink.HrefType href);
    
    
Unsets the "href" attribute
    void unsetHref();
    
    
Gets the "role" attribute
    java.lang.String getRole();
    
    
Gets (as xml) the "role" attribute
    org.w3.x1999.xlink.RoleType xgetRole();
    
    
True if has "role" attribute
    boolean isSetRole();
    
    
Sets the "role" attribute
    void setRole(java.lang.String role);
    
    
Sets (as xml) the "role" attribute
    void xsetRole(org.w3.x1999.xlink.RoleType role);
    
    
Unsets the "role" attribute
    void unsetRole();
    
    
Gets the "arcrole" attribute
    java.lang.String getArcrole();
    
    
Gets (as xml) the "arcrole" attribute
    org.w3.x1999.xlink.ArcroleType xgetArcrole();
    
    
True if has "arcrole" attribute
    boolean isSetArcrole();
    
    
Sets the "arcrole" attribute
    void setArcrole(java.lang.String arcrole);
    
    
Sets (as xml) the "arcrole" attribute
    void xsetArcrole(org.w3.x1999.xlink.ArcroleType arcrole);
    
    
Unsets the "arcrole" attribute
    void unsetArcrole();
    
    
Gets the "title" attribute
    java.lang.String getTitle();
    
    
Gets (as xml) the "title" attribute
    org.w3.x1999.xlink.TitleAttrType xgetTitle();
    
    
True if has "title" attribute
    boolean isSetTitle();
    
    
Sets the "title" attribute
    void setTitle(java.lang.String title);
    
    
Sets (as xml) the "title" attribute
    void xsetTitle(org.w3.x1999.xlink.TitleAttrType title);
    
    
Unsets the "title" attribute
    void unsetTitle();
    
    
Gets the "show" attribute
    org.w3.x1999.xlink.ShowType.Enum getShow();
    
    
Gets (as xml) the "show" attribute
    org.w3.x1999.xlink.ShowType xgetShow();
    
    
True if has "show" attribute
    boolean isSetShow();
    
    
Sets the "show" attribute
    void setShow(org.w3.x1999.xlink.ShowType.Enum show);
    
    
Sets (as xml) the "show" attribute
    void xsetShow(org.w3.x1999.xlink.ShowType show);
    
    
Unsets the "show" attribute
    void unsetShow();
    
    
Gets the "actuate" attribute
    org.w3.x1999.xlink.ActuateType.Enum getActuate();
    
    
Gets (as xml) the "actuate" attribute
    org.w3.x1999.xlink.ActuateType xgetActuate();
    
    
True if has "actuate" attribute
    boolean isSetActuate();
    
    
Sets the "actuate" attribute
    void setActuate(org.w3.x1999.xlink.ActuateType.Enum actuate);
    
    
Sets (as xml) the "actuate" attribute
    void xsetActuate(org.w3.x1999.xlink.ActuateType actuate);
    
    
Unsets the "actuate" attribute
    void unsetActuate();
    
    
Gets the "remoteSchema" attribute
    java.lang.String getRemoteSchema();
    
    
Gets (as xml) the "remoteSchema" attribute
    org.apache.xmlbeans.XmlAnyURI xgetRemoteSchema();
    
    
True if has "remoteSchema" attribute
    boolean isSetRemoteSchema();
    
    
Sets the "remoteSchema" attribute
    void setRemoteSchema(java.lang.String remoteSchema);
    
    
Sets (as xml) the "remoteSchema" attribute
    void xsetRemoteSchema(org.apache.xmlbeans.XmlAnyURI remoteSchema);
    
    
Unsets the "remoteSchema" attribute
    void unsetRemoteSchema();
    
    
Gets the "unionSemantics" attribute
Gets (as xml) the "unionSemantics" attribute
True if has "unionSemantics" attribute
    boolean isSetUnionSemantics();
    
    
Sets the "unionSemantics" attribute
    void setUnionSemantics(net.opengis.sampling.x10.LocationPropertyType.UnionSemantics.Enum unionSemantics);
    
    
Sets (as xml) the "unionSemantics" attribute
    void xsetUnionSemantics(net.opengis.sampling.x10.LocationPropertyType.UnionSemantics unionSemantics);
    
    
Unsets the "unionSemantics" attribute
    void unsetUnionSemantics();
    
    
An XML unionSemantics(@). This is an atomic type that is a restriction of net.opengis.sampling.x10.LocationPropertyType$UnionSemantics.
    public interface UnionSemantics extends org.apache.xmlbeans.XmlString
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(UnionSemantics.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("unionsemanticsad1cattrtype");
        
        org.apache.xmlbeans.StringEnumAbstractBase enumValue();
        void set(org.apache.xmlbeans.StringEnumAbstractBase e);
        
        static final Enum GEOMETRY_LOCATION = Enum.forString("geometryLocation");
        static final Enum NAME_LOCATION = Enum.forString("nameLocation");
        
        static final int INT_GEOMETRY_LOCATION = .;
        static final int INT_NAME_LOCATION = .;
        
        
Enumeration value class for net.opengis.sampling.x10.LocationPropertyType$UnionSemantics. 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_GEOMETRY_LOCATION
 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_GEOMETRY_LOCATION = 1;
            static final int INT_NAME_LOCATION = 2;
            
            public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
                new org.apache.xmlbeans.StringEnumAbstractBase.Table
            (
                new Enum[]
                {
                    new Enum("geometryLocation"),
                    new Enum("nameLocation"),
                }
            );
            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.LocationPropertyType.UnionSemantics newValue(java.lang.Object obj) {
              return (net.opengis.sampling.x10.LocationPropertyType.UnionSemantics.newValue( obj ); }
            
            public static net.opengis.sampling.x10.LocationPropertyType.UnionSemantics newInstance() {
              return (net.opengis.sampling.x10.LocationPropertyType.UnionSemantics) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.LocationPropertyType.UnionSemantics newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.LocationPropertyType.UnionSemantics) 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.LocationPropertyType newInstance() {
          return (net.opengis.sampling.x10.LocationPropertyType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.opengis.sampling.x10.LocationPropertyType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.opengis.sampling.x10.LocationPropertyType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

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

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

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

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