Class XsdBooleanType
java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.XsdBooleanType
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
TrueFalseType
This type adds an "id" attribute to xsd:boolean.
Java class for xsdBooleanType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xsdBooleanType">
<simpleContent>
<extension base="<http://www.w3.org/2001/XMLSchema>boolean">
<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.booleanisValue()Gets the value of the value property.voidSets the value of the id property.voidsetSourceLocation(Locator newLocator) voidsetValue(boolean value) Sets the value of the value property.
-
Field Details
-
value
protected boolean value -
id
-
locator
-
-
Constructor Details
-
XsdBooleanType
public XsdBooleanType()
-
-
Method Details
-
isValue
public boolean isValue()Gets the value of the value property. -
setValue
public void setValue(boolean value) Sets the value of the value property. -
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
-