public class

NMTOKENS

extends Object
implements Serializable
java.lang.Object
   ↳ org.w3._2001.xmlschema.NMTOKENS

Class Overview

Java class for NMTOKENS simple type.

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

 <simpleType name="NMTOKENS">
   <restriction>
     <simpleType>
       <list itemType="{http://www.w3.org/2001/XMLSchema}NMTOKEN" />
     </simpleType>
     <minLength value="1"/>
   </restriction>
 </simpleType>
 

Summary

Constants
long serialVersionUID
Fields
protected List<NMTOKEN> values
Public Constructors
NMTOKENS()
Public Methods
List<NMTOKEN> getValues()
Gets the value of the values property.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

private static final long serialVersionUID

Constant Value: 1 (0x0000000000000001)

Fields

protected List<NMTOKEN> values

Public Constructors

public NMTOKENS ()

Public Methods

public List<NMTOKEN> getValues ()

Gets the value of the values 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 values property.

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

    getValues().add(newItem);
 

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