Skip navigation links
org.eclipse.persistence.jaxb.xmlmodel
Class XmlRootElement
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlRootElement
-
public class XmlRootElement
- extends java.lang.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="name" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
<attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
</restriction>
</complexContent>
</complexType>
Field Summary |
protected java.lang.String |
name
|
protected java.lang.String |
namespace
|
Method Summary |
java.lang.String |
getName()
Gets the value of the name property. |
java.lang.String |
getNamespace()
Gets the value of the namespace property. |
void |
setName(java.lang.String value)
Sets the value of the name property. |
void |
setNamespace(java.lang.String value)
Sets the value of the namespace property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected java.lang.String name
namespace
protected java.lang.String namespace
XmlRootElement
public XmlRootElement()
getName
public java.lang.String getName()
- Gets the value of the name property.
-
- Returns:
- possible object is
String
setName
public void setName(java.lang.String value)
- Sets the value of the name property.
-
- Parameters:
value
- allowed object is String
getNamespace
public java.lang.String getNamespace()
- Gets the value of the namespace property.
-
- Returns:
- possible object is
String
setNamespace
public void setNamespace(java.lang.String value)
- Sets the value of the namespace property.
-
- Parameters:
value
- allowed object is String
Skip navigation links