Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*
  * An XML document type.
  * Localname: SamplingSolid
  * Namespace: http://www.opengis.net/sampling/1.0
  * Java type: net.opengis.sampling.x10.SamplingSolidDocument
  *
  * Automatically generated - do not modify.
  */
 package net.opengis.sampling.x10.impl;
A document containing one SamplingSolid(@http://www.opengis.net/sampling/1.0) element. This is a complex type.
    private static final long serialVersionUID = 1L;
    
    public SamplingSolidDocumentImpl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName SAMPLINGSOLID$0 = 
        new javax.xml.namespace.QName("http://www.opengis.net/sampling/1.0""SamplingSolid");
    
    
    
Gets the "SamplingSolid" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SamplingSolidType target = null;
            target = (net.opengis.sampling.x10.SamplingSolidType)get_store().find_element_user(SAMPLINGSOLID$0, 0);
            if (target == null)
            {
                return null;
            }
            return target;
        }
    }
    
    
Sets the "SamplingSolid" element
    public void setSamplingSolid(net.opengis.sampling.x10.SamplingSolidType samplingSolid)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SamplingSolidType target = null;
            target = (net.opengis.sampling.x10.SamplingSolidType)get_store().find_element_user(SAMPLINGSOLID$0, 0);
            if (target == null)
            {
                target = (net.opengis.sampling.x10.SamplingSolidType)get_store().add_element_user(SAMPLINGSOLID$0);
            }
            target.set(samplingSolid);
        }
    }
    
    
Appends and returns a new empty "SamplingSolid" element
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.opengis.sampling.x10.SamplingSolidType target = null;
            target = (net.opengis.sampling.x10.SamplingSolidType)get_store().add_element_user(SAMPLINGSOLID$0);
            return target;
        }
    }
New to GrepCode? Check out our FAQ X