Class Ns
- java.lang.Object
-
- network.oxalis.peppol.schematron.jaxb.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 Summary
Constructors Constructor Description Ns()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<QName,String>getOtherAttributes()Gets a map that contains attributes that aren't bound to any typed property on this class.StringgetPrefix()The required prefix attribute is an XML name with no colon character.StringgetUri()The required uri attribute is a namespace URI.voidsetPrefix(String value)Sets the value of the prefix property.voidsetUri(String value)Sets the value of the uri property.
-
-
-
Method Detail
-
getUri
public String getUri()
The required uri attribute is a namespace URI.- Returns:
- possible object is
String
-
setUri
public void setUri(String value)
Sets the value of the uri property.
-
getPrefix
public String getPrefix()
The required prefix attribute is an XML name with no colon character.- Returns:
- possible object is
String
-
setPrefix
public void setPrefix(String value)
Sets the value of the prefix property.- Parameters:
value- allowed object isString- See Also:
getPrefix()
-
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
-
-