Class XmlProperties
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlProperties
-
public class XmlProperties extends java.lang.Object
Java class for xml-properties complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="xml-properties"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="xml-property" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="value-type" type="{http://www.w3.org/2001/XMLSchema}string" default="java.lang.String" /> </restriction> </complexContent> </complexType> </element> </sequence> </restriction> </complexContent> </complexType>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XmlProperties.XmlProperty
Java class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<XmlProperties.XmlProperty>
xmlProperty
-
Constructor Summary
Constructors Constructor Description XmlProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<XmlProperties.XmlProperty>
getXmlProperty()
Gets the value of the xmlProperty property.
-
-
-
Field Detail
-
xmlProperty
protected java.util.List<XmlProperties.XmlProperty> xmlProperty
-
-
Method Detail
-
getXmlProperty
public java.util.List<XmlProperties.XmlProperty> getXmlProperty()
Gets the value of the xmlProperty 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 xmlProperty property.For example, to add a new item, do as follows:
getXmlProperty().add(newItem);
Objects of the following type(s) are allowed in the list
XmlProperties.XmlProperty
-
-