Module eclipselink

Class XmlSchema.XmlNs

  • Enclosing class:
    XmlSchema

    public static class XmlSchema.XmlNs
    extends 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>
     
    • Field Detail

      • namespaceUri

        protected String namespaceUri
      • prefix

        protected String prefix
    • Constructor Detail

      • XmlNs

        public XmlNs()
    • Method Detail

      • getNamespaceUri

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

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

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

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