com.sun.xml.ws.config.metro.parser.jsr109
Class XsdNMTOKENType

java.lang.Object
  extended by 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 Summary
protected  String id
           
protected  Locator locator
           
protected  String value
           
 
Constructor Summary
XsdNMTOKENType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 String getValue()
          Gets the value of the value property.
 void setId(String value)
          Sets the value of the id property.
 void setSourceLocation(Locator newLocator)
           
 void setValue(String value)
          Sets the value of the value property.
 Locator sourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected String value

id

protected String id

locator

protected Locator locator
Constructor Detail

XsdNMTOKENType

public XsdNMTOKENType()
Method Detail

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)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.