EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb.xmlmodel
Class XmlRegistry

java.lang.Object
  extended by org.eclipse.persistence.jaxb.xmlmodel.XmlRegistry

public class XmlRegistry
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">
       <sequence>
         <element name="xml-element-decl" maxOccurs="unbounded">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="java-method" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                 <attribute name="defaultValue" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                 <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
                 <attribute name="scope" type="{http://www.w3.org/2001/XMLSchema}string" default="javax.xml.bind.annotation.XmlElementDecl.GLOBAL" />
                 <attribute name="substitutionHeadName" type="{http://www.w3.org/2001/XMLSchema}string" default="" />
                 <attribute name="substitutionHeadNamespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
                 <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class XmlRegistry.XmlElementDecl
          Java class for anonymous complex type.
 
Field Summary
protected  java.lang.String name
           
protected  java.util.List<XmlRegistry.XmlElementDecl> xmlElementDecl
           
 
Constructor Summary
XmlRegistry()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 java.util.List<XmlRegistry.XmlElementDecl> getXmlElementDecl()
          Gets the value of the xmlElementDecl property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xmlElementDecl

protected java.util.List<XmlRegistry.XmlElementDecl> xmlElementDecl

name

protected java.lang.String name
Constructor Detail

XmlRegistry

public XmlRegistry()
Method Detail

getXmlElementDecl

public java.util.List<XmlRegistry.XmlElementDecl> getXmlElementDecl()
Gets the value of the xmlElementDecl property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the xmlElementDecl property.

For example, to add a new item, do as follows:

    getXmlElementDecl().add(newItem);
 

Objects of the following type(s) are allowed in the list XmlRegistry.XmlElementDecl


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

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference