Class XmlRootElement
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlRootElement
-
public class XmlRootElement 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="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>
-
-
Constructor Summary
Constructors Constructor Description XmlRootElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetNamespace()Gets the value of the namespace property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetNamespace(java.lang.String value)Sets the value of the namespace property.
-
-
-
Method Detail
-
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 isString
-
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 isString
-
-