Class XsdNMTOKENType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.XsdNMTOKENType
- All Implemented Interfaces:
Locatable
This type adds an "id" attribute to xsd:NMTOKEN.
Java class for xsdNMTOKENType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xsdNMTOKENType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>NMTOKEN">
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</extension>
</simpleContent>
</complexType>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.getValue()Gets the value of the value property.voidSets the value of the id property.voidsetSourceLocation(Locator newLocator) voidSets the value of the value property.
-
Field Details
-
value
-
id
-
locator
-
-
Constructor Details
-
XsdNMTOKENType
public XsdNMTOKENType()
-
-
Method Details
-
getValue
Gets the value of the value property.- Returns:
- possible object is
String
-
setValue
Sets the value of the value property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
-