Class EmptyType

  • All Implemented Interfaces:
    com.sun.xml.bind.Locatable

    public class EmptyType
    extends Object
    implements com.sun.xml.bind.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 com.sun.xml.bind.Locatable
      • setSourceLocation

        public void setSourceLocation​(Locator newLocator)