Class ExtraSchema

  • All Implemented Interfaces:
    Serializable

    public class ExtraSchema
    extends Object
    implements Serializable
    Optional additional XML Schema document which is included or imported by the primary XML Schema document.

    Java class for ExtraSchema complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="ExtraSchema">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <any processContents='lax'/>
           </sequence>
           <attribute name="systemId" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
         </restriction>
       </complexContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Field Detail

      • systemId

        protected String systemId
      • EMPTY_INSTANCE

        public static final ExtraSchema EMPTY_INSTANCE
    • Constructor Detail

      • ExtraSchema

        public ExtraSchema()
    • Method Detail

      • getSchema

        public Element getSchema()
        Extra XML Schema document which is included or imported. If this document is included, it should have a systemId attribute.

        Returns:
        possible object is Element
      • setSchema

        public void setSchema​(Element value)
        Sets the value of the schema property.
        Parameters:
        value - allowed object is Element
      • getSystemId

        public String getSystemId()
        Optional systemId of this schema which should correspond to any include reference to this schema from one of the other schemas.
        Returns:
        possible object is String
      • setSystemId

        public void setSystemId​(String value)
        Sets the value of the systemId property.
        Parameters:
        value - allowed object is String
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • copy

        public ExtraSchema copy()
        Deep copies the fields of the this model into a new instance of this class and returns it.
      • copy

        public ExtraSchema copy​(boolean isDeep)
        Copies the fields of the this model (optionally deeply) into a new instance of this class and returns it.
      • copy

        protected ExtraSchema copy​(ExtraSchema nobj,
                                   boolean isDeep)
        Copies the fields of the this model (optionally deeply) into the given instance and returns it.
      • withSchema

        public ExtraSchema withSchema​(Element newValue)
        Sets the schema property to the given newValue and returns this instance.
      • withSystemId

        public ExtraSchema withSystemId​(String newValue)
        Sets the systemId property to the given newValue and returns this instance.