Class XmlRegistry


public class XmlRegistry extends Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

     <restriction base="{}anyType">
         <element name="xml-element-decl" maxOccurs="unbounded">
               <restriction base="{}anyType">
                 <attribute name="java-method" type="{}string" />
                 <attribute name="name" use="required" type="{}string" />
                 <attribute name="defaultValue" type="{}string" default="" />
                 <attribute name="namespace" type="{}string" default="##default" />
                 <attribute name="scope" type="{}string" default="jakarta.xml.bind.annotation.XmlElementDecl.GLOBAL" />
                 <attribute name="substitutionHeadName" type="{}string" default="" />
                 <attribute name="substitutionHeadNamespace" type="{}string" default="##default" />
                 <attribute name="type" type="{}string" default="##default" />
       <attribute name="name" type="{}string" />
  • 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:


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

    • getName

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

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