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>
| Modifier and Type | Field and Description |
|---|---|
protected String |
prefix |
protected String |
uri |
| Constructor and Description |
|---|
Ns() |
| Modifier and Type | Method and Description |
|---|---|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
String |
getPrefix()
Gets the value of the prefix property.
|
String |
getUri()
Gets the value of the uri property.
|
void |
setPrefix(String value)
Sets the value of the prefix property.
|
void |
setUri(String value)
Sets the value of the uri property.
|
public String getUri()
Stringpublic void setUri(String value)
value - allowed object is
Stringpublic String getPrefix()
Stringpublic void setPrefix(String value)
value - allowed object is
Stringpublic Map<QName,String> getOtherAttributes()
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.
Copyright © 2023 NorStella. All rights reserved.