java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlRootElement

public class XmlRootElement 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">
       <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 Details

    • name

      protected String name
    • namespace

      protected String namespace
  • Constructor Details

    • XmlRootElement

      public XmlRootElement()
  • Method Details

    • getName

      public String getName()
      Gets the value of the name property.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
    • getNamespace

      public String getNamespace()
      Gets the value of the namespace property.
      Returns:
      possible object is String
    • setNamespace

      public void setNamespace(String value)
      Sets the value of the namespace property.
      Parameters:
      value - allowed object is String