Class XsdBooleanType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.XsdBooleanType
-
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
TrueFalseType
public class XsdBooleanType extends Object implements Locatable
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>
-
-
Constructor Summary
Constructors Constructor Description XsdBooleanType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.booleanisValue()Gets the value of the value property.voidsetId(String value)Sets the value of the id property.voidsetSourceLocation(Locator newLocator)voidsetValue(boolean value)Sets the value of the value property.LocatorsourceLocation()
-
-
-
Method Detail
-
isValue
public boolean isValue()
Gets the value of the value property.
-
setValue
public void setValue(boolean value)
Sets the value of the value property.
-
setId
public void setId(String value)
Sets the value of the id property.- Parameters:
value- allowed object isString
-
sourceLocation
public Locator sourceLocation()
- Specified by:
sourceLocationin interfaceLocatable- Returns:
- null if the location information is unavaiable,
or otherwise return a immutable valid
Locatorobject.
-
setSourceLocation
public void setSourceLocation(Locator newLocator)
-
-