Class XsdNMTOKENType

java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.XsdNMTOKENType
All Implemented Interfaces:
Locatable

public class XsdNMTOKENType extends Object implements 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 Details

  • Constructor Details

    • XsdNMTOKENType

      public XsdNMTOKENType()
  • Method Details

    • getValue

      public String getValue()
      Gets the value of the value property.
      Returns:
      possible object is String
    • setValue

      public void setValue(String value)
      Sets the value of the value property.
      Parameters:
      value - allowed object is String
    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • sourceLocation

      public Locator sourceLocation()
      Specified by:
      sourceLocation in interface Locatable
      Returns:
      null if the location information is unavaiable, or otherwise return a immutable valid Locator object.
    • setSourceLocation

      public void setSourceLocation(Locator newLocator)