Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.jaxb.xmlmodel
Class XmlRootElement

java.lang.Object
  extended by 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
           

 

Constructor Summary
XmlRootElement()
           

 

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

 

Field Detail

name

protected java.lang.String name

namespace

protected java.lang.String namespace

Constructor Detail

XmlRootElement

public XmlRootElement()

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 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

Copyright © 1998, 2012, Oracle. All Rights Reserved.