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>
| Modifier and Type | Class and Description |
|---|---|
static class |
XmlRegistry.XmlElementDecl
Java class for anonymous complex type.
|
| Constructor and Description |
|---|
XmlRegistry() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
public java.util.List<XmlRegistry.XmlElementDecl> getXmlElementDecl()
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
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
value - allowed object is String