Class XmlSchema.XmlNs

  • Enclosing class:
    XmlSchema

    public static class XmlSchema.XmlNs
    extends java.lang.Object

    Java class for anonymous complex type.

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

     <complexType>
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <attribute name="namespace-uri" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlNs()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getNamespaceUri()
      Gets the value of the namespaceUri property.
      java.lang.String getPrefix()
      Gets the value of the prefix property.
      void setNamespaceUri​(java.lang.String value)
      Sets the value of the namespaceUri property.
      void setPrefix​(java.lang.String value)
      Sets the value of the prefix property.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlNs

        public XmlNs()
    • Method Detail

      • getNamespaceUri

        public java.lang.String getNamespaceUri()
        Gets the value of the namespaceUri property.
        Returns:
        possible object is String
      • setNamespaceUri

        public void setNamespaceUri​(java.lang.String value)
        Sets the value of the namespaceUri property.
        Parameters:
        value - allowed object is String
      • getPrefix

        public java.lang.String getPrefix()
        Gets the value of the prefix property.
        Returns:
        possible object is String
      • setPrefix

        public void setPrefix​(java.lang.String value)
        Sets the value of the prefix property.
        Parameters:
        value - allowed object is String