Class 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 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)