Class Ns


  • public class Ns
    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">
           <attGroup ref="{http://purl.oclc.org/dsdl/schematron}foreign-empty"/>
           <attribute name="uri" use="required" type="{http://purl.oclc.org/dsdl/schematron}uriValue" />
           <attribute name="prefix" use="required" type="{http://purl.oclc.org/dsdl/schematron}nameValue" />
         </restriction>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Ns

        public Ns()
    • Method Detail

      • getUri

        public String getUri()
        Gets the value of the uri property.
        Returns:
        possible object is String
      • setUri

        public void setUri​(String value)
        Sets the value of the uri 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
      • getOtherAttributes

        public Map<QName,​String> getOtherAttributes()
        Gets a map that contains attributes that aren't bound to any typed property on this class.

        the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.

        Returns:
        always non-null