Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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


An XML SamplingFeatureType(@http://www.opengis.net/sampling/1.0). This is a complex type.
 
 public interface SamplingFeatureType extends net.opengis.gml.AbstractFeatureType
 {
     public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
         org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(SamplingFeatureType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEECA9959F0B305287FC9D58509325A20").resolveHandle("samplingfeaturetype2f8dtype");
    
    
Gets array of all "sampledFeature" elements
 
Gets ith "sampledFeature" element
 
     net.opengis.gml.FeaturePropertyType getSampledFeatureArray(int i);
    
    
Returns number of "sampledFeature" element
 
     int sizeOfSampledFeatureArray();
    
    
Sets array of all "sampledFeature" element
 
     void setSampledFeatureArray(net.opengis.gml.FeaturePropertyType[] sampledFeatureArray);
    
    
Sets ith "sampledFeature" element
 
     void setSampledFeatureArray(int inet.opengis.gml.FeaturePropertyType sampledFeature);
    
    
Inserts and returns a new empty value (as xml) as the ith "sampledFeature" element
 
     net.opengis.gml.FeaturePropertyType insertNewSampledFeature(int i);
    
    
Appends and returns a new empty value (as xml) as the last "sampledFeature" element
 
Removes the ith "sampledFeature" element
 
     void removeSampledFeature(int i);
    
    
Gets array of all "relatedObservation" elements
 
Gets ith "relatedObservation" element
 
Returns number of "relatedObservation" element
 
     int sizeOfRelatedObservationArray();
    
    
Sets array of all "relatedObservation" element
 
     void setRelatedObservationArray(net.opengis.om.x10.ObservationPropertyType[] relatedObservationArray);
    
    
Sets ith "relatedObservation" element
 
     void setRelatedObservationArray(int inet.opengis.om.x10.ObservationPropertyType relatedObservation);
    
    
Inserts and returns a new empty value (as xml) as the ith "relatedObservation" element
 
Appends and returns a new empty value (as xml) as the last "relatedObservation" element
 
Removes the ith "relatedObservation" element
 
     void removeRelatedObservation(int i);
    
    
Gets array of all "relatedSamplingFeature" elements
Gets ith "relatedSamplingFeature" element
Returns number of "relatedSamplingFeature" element
    int sizeOfRelatedSamplingFeatureArray();
    
    
Sets array of all "relatedSamplingFeature" element
    void setRelatedSamplingFeatureArray(net.opengis.sampling.x10.SamplingFeatureRelationPropertyType[] relatedSamplingFeatureArray);
    
    
Sets ith "relatedSamplingFeature" element
    void setRelatedSamplingFeatureArray(int inet.opengis.sampling.x10.SamplingFeatureRelationPropertyType relatedSamplingFeature);
    
    
Inserts and returns a new empty value (as xml) as the ith "relatedSamplingFeature" element
Appends and returns a new empty value (as xml) as the last "relatedSamplingFeature" element
Removes the ith "relatedSamplingFeature" element
    void removeRelatedSamplingFeature(int i);
    
    
Gets the "surveyDetails" element
True if has "surveyDetails" element
    boolean isSetSurveyDetails();
    
    
Sets the "surveyDetails" element
    void setSurveyDetails(net.opengis.sampling.x10.SurveyProcedurePropertyType surveyDetails);
    
    
Appends and returns a new empty "surveyDetails" element
Unsets the "surveyDetails" element
    void unsetSurveyDetails();
    
    
A factory class with static methods for creating instances of this type.
    
    public static final class Factory
    {
        public static net.opengis.sampling.x10.SamplingFeatureType newInstance() {
          return (net.opengis.sampling.x10.SamplingFeatureType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( null ); }
        
        public static net.opengis.sampling.x10.SamplingFeatureType newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.opengis.sampling.x10.SamplingFeatureType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( options ); }
        
        

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

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

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

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