org.apache.type_test.xml
Class TestNMTOKENS

java.lang.Object
  extended by org.apache.type_test.xml.TestNMTOKENS

public class TestNMTOKENS
extends java.lang.Object

Java class for testNMTOKENS element declaration.

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

 <element name="testNMTOKENS">
   <complexType>
     <complexContent>
       <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
         <sequence>
           <element name="x" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS"/>
           <element name="y" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS"/>
         </sequence>
       </restriction>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  java.util.List<java.lang.String> x
           
protected  java.util.List<java.lang.String> y
           
 
Constructor Summary
TestNMTOKENS()
           
 
Method Summary
 java.util.List<java.lang.String> getX()
          Gets the value of the x property.
 java.util.List<java.lang.String> getY()
          Gets the value of the y property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

x

protected java.util.List<java.lang.String> x

y

protected java.util.List<java.lang.String> y
Constructor Detail

TestNMTOKENS

public TestNMTOKENS()
Method Detail

getX

public java.util.List<java.lang.String> getX()
Gets the value of the x 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 x property.

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

    getX().add(newItem);
 

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


getY

public java.util.List<java.lang.String> getY()
Gets the value of the y 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 y property.

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

    getY().add(newItem);
 

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



Apache CXF