public class NMTOKENS extends Object
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>
Constructor and Description |
---|
NMTOKENS() |
Modifier and Type | Method and Description |
---|---|
List<NMTOKEN> |
getValues()
Gets the value of the values property.
|
public List<NMTOKEN> getValues()
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 Jakarta XML Binding 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
Copyright © 2024. All rights reserved.