Class XsdStringType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.XsdStringType
-
- All Implemented Interfaces:
Locatable
- Direct Known Subclasses:
DescriptionType
public class XsdStringType extends Object implements Locatable
This type adds an "id" attribute to xsd:string.Java class for xsdStringType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xsdStringType"> <simpleContent> <extension base="<http://www.w3.org/2001/XMLSchema>string"> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </extension> </simpleContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description XsdStringType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.StringgetValue()Gets the value of the value property.voidsetId(String value)Sets the value of the id property.voidsetSourceLocation(Locator newLocator)voidsetValue(String value)Sets the value of the value property.LocatorsourceLocation()
-
-
-
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 isString
-
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)
-
-