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

java.lang.Object
  extended by 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>
 


Field Summary
protected  String id
           
protected  Locator locator
           
 
Constructor Summary
EmptyType()
           
 
Method Summary
 String getId()
          Gets the value of the id property.
 void setId(String value)
          Sets the value of the id property.
 void setSourceLocation(Locator newLocator)
           
 Locator sourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected String id

locator

protected Locator locator
Constructor Detail

EmptyType

public EmptyType()
Method Detail

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.