|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
org.eclipse.persistence.jaxb.xmlmodel.XmlTransformation
public class XmlTransformation
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}java-attribute"> <sequence> <element name="xml-access-methods" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-access-methods" minOccurs="0"/> <element ref="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-properties" minOccurs="0"/> <element name="xml-read-transformer"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="method" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="transformer-class" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> <element name="xml-write-transformer" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="method" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="xml-path" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="transformer-class" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="optional" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> </extension> </complexContent> </complexType>
Nested Class Summary | |
---|---|
static class |
XmlTransformation.XmlReadTransformer
Java class for anonymous complex type. |
static class |
XmlTransformation.XmlWriteTransformer
Java class for anonymous complex type. |
Field Summary | |
---|---|
protected java.lang.Boolean |
optional
|
protected XmlAccessMethods |
xmlAccessMethods
|
protected XmlProperties |
xmlProperties
|
protected XmlTransformation.XmlReadTransformer |
xmlReadTransformer
|
protected java.util.List<XmlTransformation.XmlWriteTransformer> |
xmlWriteTransformer
|
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute |
---|
javaAttribute |
Constructor Summary | |
---|---|
XmlTransformation()
|
Method Summary | |
---|---|
XmlAccessMethods |
getXmlAccessMethods()
Gets the value of the xmlAccessMethods property. |
XmlProperties |
getXmlProperties()
Gets the value of the xmlProperties property. |
XmlTransformation.XmlReadTransformer |
getXmlReadTransformer()
Gets the value of the xmlReadTransformer property. |
java.util.List<XmlTransformation.XmlWriteTransformer> |
getXmlWriteTransformer()
Gets the value of the xmlWriteTransformer property. |
boolean |
isOptional()
Gets the value of the optional property. |
boolean |
isSetXmlReadTransformer()
Indicates if an XmlReadTransformer has been set, i.e. is non-null. |
boolean |
isSetXmlWriteTransformers()
Indicates if at least one XmlWriteTransformer has been set, i.e. the List of is XmlWriteTransformers is non-null and non-empty. |
void |
setOptional(java.lang.Boolean value)
Sets the value of the optional property. |
void |
setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property. |
void |
setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property. |
void |
setXmlReadTransformer(XmlTransformation.XmlReadTransformer value)
Sets the value of the xmlReadTransformer property. |
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute |
---|
getJavaAttribute, setJavaAttribute |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XmlAccessMethods xmlAccessMethods
protected XmlProperties xmlProperties
protected XmlTransformation.XmlReadTransformer xmlReadTransformer
protected java.util.List<XmlTransformation.XmlWriteTransformer> xmlWriteTransformer
protected java.lang.Boolean optional
Constructor Detail |
---|
public XmlTransformation()
Method Detail |
---|
public XmlAccessMethods getXmlAccessMethods()
XmlAccessMethods
public void setXmlAccessMethods(XmlAccessMethods value)
value
- allowed object is
XmlAccessMethods
public XmlProperties getXmlProperties()
XmlProperties
public void setXmlProperties(XmlProperties value)
value
- allowed object is
XmlProperties
public boolean isSetXmlReadTransformer()
public XmlTransformation.XmlReadTransformer getXmlReadTransformer()
XmlTransformation.XmlReadTransformer
public void setXmlReadTransformer(XmlTransformation.XmlReadTransformer value)
value
- allowed object is
XmlTransformation.XmlReadTransformer
public boolean isSetXmlWriteTransformers()
public java.util.List<XmlTransformation.XmlWriteTransformer> getXmlWriteTransformer()
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 xmlWriteTransformer property.
For example, to add a new item, do as follows:
getXmlWriteTransformer().add(newItem);
Objects of the following type(s) are allowed in the list
XmlTransformation.XmlWriteTransformer
public boolean isOptional()
Boolean
public void setOptional(java.lang.Boolean value)
value
- allowed object is
Boolean
|
EclipseLink 2.3.2, build 'v20111125-r10461' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |