Class EmptyType
- java.lang.Object
-
- com.sun.xml.ws.config.metro.parser.jsr109.EmptyType
-
- All Implemented Interfaces:
Locatable
public class EmptyType extends Object implements Locatable
This type is used to designate an empty element when used.Java class for emptyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="emptyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" /> </restriction> </complexContent> </complexType>
-
-
Constructor Summary
Constructors Constructor Description EmptyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()Gets the value of the id property.voidsetId(String value)Sets the value of the id property.voidsetSourceLocation(Locator newLocator)LocatorsourceLocation()
-
-
-
Method Detail
-
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)
-
-