Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


An XML SpecimenType(@http://www.opengis.net/sampling/1.0). This is a complex type.
 
 public interface SpecimenType extends net.opengis.sampling.x10.SamplingFeatureType
 {
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(SpecimenType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("specimentype11b8type");
    
    
Gets the "materialClass" element
 
     net.opengis.gml.CodeType getMaterialClass();
    
    
Sets the "materialClass" element
 
     void setMaterialClass(net.opengis.gml.CodeType materialClass);
    
    
Appends and returns a new empty "materialClass" element
 
     net.opengis.gml.CodeType addNewMaterialClass();
    
    
Gets the "currentLocation" element
 
True if has "currentLocation" element
 
     boolean isSetCurrentLocation();
    
    
Sets the "currentLocation" element
 
     void setCurrentLocation(net.opengis.sampling.x10.LocationPropertyType currentLocation);
    
    
Appends and returns a new empty "currentLocation" element
 
Unsets the "currentLocation" element
 
     void unsetCurrentLocation();
    
    
Gets the "size" element
 
     net.opengis.sampling.x10.SpecimenType.Size getSize();
    
    
True if has "size" element
 
     boolean isSetSize();
    
    
Sets the "size" element
 
     void setSize(net.opengis.sampling.x10.SpecimenType.Size size);
    
    
Appends and returns a new empty "size" element
 
     net.opengis.sampling.x10.SpecimenType.Size addNewSize();
    
    
Unsets the "size" element
 
     void unsetSize();
    
    
Gets the "samplingMethod" element
 
     net.opengis.gml.ReferenceType getSamplingMethod();
    
    
True if has "samplingMethod" element
 
     boolean isSetSamplingMethod();
    
    
Sets the "samplingMethod" element
 
     void setSamplingMethod(net.opengis.gml.ReferenceType samplingMethod);
    
    
Appends and returns a new empty "samplingMethod" element
Unsets the "samplingMethod" element
    void unsetSamplingMethod();
    
    
Gets the "samplingTime" element
Sets the "samplingTime" element
    void setSamplingTime(net.opengis.gml.TimePrimitivePropertyType samplingTime);
    
    
Appends and returns a new empty "samplingTime" element
Gets array of all "processingDetails" elements
Gets ith "processingDetails" element
    net.opengis.gml.ReferenceType getProcessingDetailsArray(int i);
    
    
Returns number of "processingDetails" element
    int sizeOfProcessingDetailsArray();
    
    
Sets array of all "processingDetails" element
    void setProcessingDetailsArray(net.opengis.gml.ReferenceType[] processingDetailsArray);
    
    
Sets ith "processingDetails" element
    void setProcessingDetailsArray(int inet.opengis.gml.ReferenceType processingDetails);
    
    
Inserts and returns a new empty value (as xml) as the ith "processingDetails" element
    net.opengis.gml.ReferenceType insertNewProcessingDetails(int i);
    
    
Appends and returns a new empty value (as xml) as the last "processingDetails" element
Removes the ith "processingDetails" element
    void removeProcessingDetails(int i);
    
    
An XML size(@http://www.opengis.net/sampling/1.0). This is an atomic type that is a restriction of net.opengis.sampling.x10.SpecimenType$Size.
    public interface Size extends net.opengis.gml.MeasureType
    {
        public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
            org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Size.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("size61fbelemtype");
        
        
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();
        
        
A factory class with static methods for creating instances of this type.
        
        public static final class Factory
        {
            public static net.opengis.sampling.x10.SpecimenType.Size newInstance() {
              return (net.opengis.sampling.x10.SpecimenType.Size) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
            
            public static net.opengis.sampling.x10.SpecimenType.Size newInstance(org.apache.xmlbeans.XmlOptions options) {
              return (net.opengis.sampling.x10.SpecimenType.Size) 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.SpecimenType newInstance() {
          return (net.opengis.sampling.x10.SpecimenType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.opengis.sampling.x10.SpecimenType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.opengis.sampling.x10.SpecimenType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

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

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

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

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