Class XmlSchema.XmlNs
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlSchema.XmlNs
-
- Enclosing class:
- XmlSchema
public static class XmlSchema.XmlNs extends java.lang.ObjectJava 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 Summary
Fields Modifier and Type Field Description protected java.lang.StringnamespaceUriprotected java.lang.Stringprefix
-
Constructor Summary
Constructors Constructor Description XmlNs()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetNamespaceUri()Gets the value of the namespaceUri property.java.lang.StringgetPrefix()Gets the value of the prefix property.voidsetNamespaceUri(java.lang.String value)Sets the value of the namespaceUri property.voidsetPrefix(java.lang.String value)Sets the value of the prefix property.
-
-
-
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 isString
-
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 isString
-
-