Class XmlRegistry
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlRegistry
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>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets the value of the name property.Gets the value of the xmlElementDecl property.voidSets the value of the name property.
-
Field Details
-
xmlElementDecl
-
name
-
-
Constructor Details
-
XmlRegistry
public XmlRegistry()
-
-
Method Details
-
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
setmethod 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
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-