Class XmlRegistry

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

public class XmlRegistry 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">
       <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="jakarta.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>
 
  • Field Details

  • Constructor Details

    • XmlRegistry

      public XmlRegistry()
  • Method Details

    • getXmlElementDecl

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