Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  
  package org.opendope.xpaths;
  
  import java.util.List;

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="xpath" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="dataBinding">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="xpath" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="storeItemID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                           <attribute name="prefixMappings" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
                 <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
                 <attribute name="questionID" type="{http://www.w3.org/2001/XMLSchema}NCName" />
                 <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="comments" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 <attribute name="prepopulate" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 <attribute name="fieldWidth" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
                 <attribute name="lower" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="lowerOperator" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="upper" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="upperOperator" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 
 
 @XmlType(name = "", propOrder = {
     "xpath"
 })
 @XmlRootElement(name = "xpaths")
 public class Xpaths {
 
     @XmlElement(required = true)
     protected List<Xpaths.Xpathxpath;

    
Gets the value of the xpath property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the xpath property.

For example, to add a new item, do as follows:

    getXpath().add(newItem);
 

Objects of the following type(s) are allowed in the list

    public List<Xpaths.XpathgetXpath() {
        if ( == null) {
             = new ArrayList<Xpaths.Xpath>();
        }
        return this.;
    }


    

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="dataBinding">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="xpath" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="storeItemID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="prefixMappings" type="{http://www.w3.org/2001/XMLSchema}string" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
       <attribute name="questionID" type="{http://www.w3.org/2001/XMLSchema}NCName" />
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="description" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="comments" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="prepopulate" type="{http://www.w3.org/2001/XMLSchema}boolean" />
       <attribute name="fieldWidth" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
       <attribute name="lower" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="lowerOperator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="upper" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="upperOperator" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
    @XmlType(name = "", propOrder = {
        "dataBinding"
    })
    @XmlRootElement(name="xpath", namespace="http://opendope.org/xpaths")
    public static class Xpath {
        @XmlElement(required = true)
        protected Xpaths.Xpath.DataBinding dataBinding;
        @XmlAttribute(required = true)
        @XmlID
        @XmlSchemaType(name = "ID")
        protected String id;
        @XmlAttribute
        @XmlSchemaType(name = "NCName")
        protected String questionID;
        @XmlAttribute
        protected String name;
        @XmlAttribute
        protected String description;
        @XmlAttribute
        protected String comments;
        @XmlAttribute
        protected String type;
        @XmlAttribute
        protected Boolean required;
        @XmlAttribute
        protected Boolean prepopulate;
        @XmlAttribute
        @XmlSchemaType(name = "positiveInteger")
        protected BigInteger fieldWidth;
        @XmlAttribute
        protected String lower;
        @XmlAttribute
        protected String lowerOperator;
        @XmlAttribute
        protected String upper;
        @XmlAttribute
        protected String upperOperator;
        @XmlAttribute
        protected String source;

        
Gets the value of the dataBinding property.

Returns:
possible object is
        public Xpaths.Xpath.DataBinding getDataBinding() {
            return ;
        }

        
Sets the value of the dataBinding property.

Parameters:
value allowed object is
        public void setDataBinding(Xpaths.Xpath.DataBinding value) {
            this. = value;
        }

        
Gets the value of the id property.

Returns:
possible object is
        public String getId() {
            return ;
        }

        
Sets the value of the id property.

Parameters:
value allowed object is
        public void setId(String value) {
            this. = value;
        }

        
Gets the value of the questionID property.

Returns:
possible object is
        public String getQuestionID() {
            return ;
        }

        
Sets the value of the questionID property.

Parameters:
value allowed object is
        public void setQuestionID(String value) {
            this. = value;
        }

        
Gets the value of the name property.

Returns:
possible object is
        public String getName() {
            return ;
        }

        
Sets the value of the name property.

Parameters:
value allowed object is
        public void setName(String value) {
            this. = value;
        }

        
Gets the value of the description property.

Returns:
possible object is
        public String getDescription() {
            return ;
        }

        
Sets the value of the description property.

Parameters:
value allowed object is
        public void setDescription(String value) {
            this. = value;
        }

        
Gets the value of the comments property.

Returns:
possible object is
        public String getComments() {
            return ;
        }

        
Sets the value of the comments property.

Parameters:
value allowed object is
        public void setComments(String value) {
            this. = value;
        }

        
Gets the value of the type property.

Returns:
possible object is
        public String getType() {
            return ;
        }

        
Sets the value of the type property.

Parameters:
value allowed object is
        public void setType(String value) {
            this. = value;
        }

        
Gets the value of the required property.

Returns:
possible object is
        public Boolean isRequired() {
            return ;
        }

        
Sets the value of the required property.

Parameters:
value allowed object is
        public void setRequired(Boolean value) {
            this. = value;
        }

        
Gets the value of the prepopulate property.

Returns:
possible object is
        public Boolean isPrepopulate() {
            return ;
        }

        
Sets the value of the prepopulate property.

Parameters:
value allowed object is
        public void setPrepopulate(Boolean value) {
            this. = value;
        }

        
Gets the value of the fieldWidth property.

Returns:
possible object is
        public BigInteger getFieldWidth() {
            return ;
        }

        
Sets the value of the fieldWidth property.

Parameters:
value allowed object is
        public void setFieldWidth(BigInteger value) {
            this. = value;
        }

        
Gets the value of the lower property.

Returns:
possible object is
        public String getLower() {
            return ;
        }

        
Sets the value of the lower property.

Parameters:
value allowed object is
        public void setLower(String value) {
            this. = value;
        }

        
Gets the value of the lowerOperator property.

Returns:
possible object is
        public String getLowerOperator() {
            return ;
        }

        
Sets the value of the lowerOperator property.

Parameters:
value allowed object is
        public void setLowerOperator(String value) {
            this. = value;
        }

        
Gets the value of the upper property.

Returns:
possible object is
        public String getUpper() {
            return ;
        }

        
Sets the value of the upper property.

Parameters:
value allowed object is
        public void setUpper(String value) {
            this. = value;
        }

        
Gets the value of the upperOperator property.

Returns:
possible object is
        public String getUpperOperator() {
            return ;
        }

        
Sets the value of the upperOperator property.

Parameters:
value allowed object is
        public void setUpperOperator(String value) {
            this. = value;
        }

        
Gets the value of the source property.

Returns:
possible object is
        public String getSource() {
            return ;
        }

        
Sets the value of the source property.

Parameters:
value allowed object is
        public void setSource(String value) {
            this. = value;
        }


        

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <attribute name="xpath" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="storeItemID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="prefixMappings" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 
        @XmlType(name = "")
        public static class DataBinding {
            @XmlAttribute(required = true)
            protected String xpath;
            @XmlAttribute(required = true)
            protected String storeItemID;
            @XmlAttribute
            protected String prefixMappings;

            
Gets the value of the xpath property.

Returns:
possible object is
            public String getXpath() {
                return ;
            }

            
Sets the value of the xpath property.

Parameters:
value allowed object is
            public void setXpath(String value) {
                this. = value;
            }

            
Gets the value of the storeItemID property.

Returns:
possible object is
            public String getStoreItemID() {
                return ;
            }

            
Sets the value of the storeItemID property.

Parameters:
value allowed object is
            public void setStoreItemID(String value) {
                this. = value;
            }

            
Gets the value of the prefixMappings property.

Returns:
possible object is
            public String getPrefixMappings() {
                return ;
            }

            
Sets the value of the prefixMappings property.

Parameters:
value allowed object is
            public void setPrefixMappings(String value) {
                this. = value;
            }
        }
    }
New to GrepCode? Check out our FAQ X