Module org.eclipse.persistence.moxy
Class XmlTransformation
- java.lang.Object
-
- org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
-
- org.eclipse.persistence.jaxb.xmlmodel.XmlTransformation
-
public class XmlTransformation extends JavaAttribute
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
Nested Classes Modifier and Type Class Description static classXmlTransformation.XmlReadTransformerJava class for anonymous complex type.static classXmlTransformation.XmlWriteTransformerJava class for anonymous complex type.
-
Field Summary
Fields Modifier and Type Field Description protected Booleanoptionalprotected XmlAccessMethodsxmlAccessMethodsprotected XmlPropertiesxmlPropertiesprotected XmlTransformation.XmlReadTransformerxmlReadTransformerprotected List<XmlTransformation.XmlWriteTransformer>xmlWriteTransformer-
Fields inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
javaAttribute, xmlAccessorType
-
-
Constructor Summary
Constructors Constructor Description XmlTransformation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XmlAccessMethodsgetXmlAccessMethods()Gets the value of the xmlAccessMethods property.XmlPropertiesgetXmlProperties()Gets the value of the xmlProperties property.XmlTransformation.XmlReadTransformergetXmlReadTransformer()Gets the value of the xmlReadTransformer property.List<XmlTransformation.XmlWriteTransformer>getXmlWriteTransformer()Gets the value of the xmlWriteTransformer property.booleanisOptional()Gets the value of the optional property.booleanisSetXmlReadTransformer()Indicates if an XmlReadTransformer has been set, i.e.booleanisSetXmlWriteTransformers()Indicates if at least one XmlWriteTransformer has been set, i.e.voidsetOptional(Boolean value)Sets the value of the optional property.voidsetXmlAccessMethods(XmlAccessMethods value)Sets the value of the xmlAccessMethods property.voidsetXmlProperties(XmlProperties value)Sets the value of the xmlProperties property.voidsetXmlReadTransformer(XmlTransformation.XmlReadTransformer value)Sets the value of the xmlReadTransformer property.-
Methods inherited from class org.eclipse.persistence.jaxb.xmlmodel.JavaAttribute
getJavaAttribute, getXmlAccessorType, setJavaAttribute, setXmlAccessorType
-
-
-
-
Field Detail
-
xmlAccessMethods
protected XmlAccessMethods xmlAccessMethods
-
xmlProperties
protected XmlProperties xmlProperties
-
xmlReadTransformer
protected XmlTransformation.XmlReadTransformer xmlReadTransformer
-
xmlWriteTransformer
protected List<XmlTransformation.XmlWriteTransformer> xmlWriteTransformer
-
optional
protected Boolean optional
-
-
Method Detail
-
getXmlAccessMethods
public XmlAccessMethods getXmlAccessMethods()
Gets the value of the xmlAccessMethods property.- Returns:
- possible object is
XmlAccessMethods
-
setXmlAccessMethods
public void setXmlAccessMethods(XmlAccessMethods value)
Sets the value of the xmlAccessMethods property.- Parameters:
value- allowed object isXmlAccessMethods
-
getXmlProperties
public XmlProperties getXmlProperties()
Gets the value of the xmlProperties property.- Returns:
- possible object is
XmlProperties
-
setXmlProperties
public void setXmlProperties(XmlProperties value)
Sets the value of the xmlProperties property.- Parameters:
value- allowed object isXmlProperties
-
isSetXmlReadTransformer
public boolean isSetXmlReadTransformer()
Indicates if an XmlReadTransformer has been set, i.e. is non-null.
-
getXmlReadTransformer
public XmlTransformation.XmlReadTransformer getXmlReadTransformer()
Gets the value of the xmlReadTransformer property.- Returns:
- possible object is
XmlTransformation.XmlReadTransformer
-
setXmlReadTransformer
public void setXmlReadTransformer(XmlTransformation.XmlReadTransformer value)
Sets the value of the xmlReadTransformer property.- Parameters:
value- allowed object isXmlTransformation.XmlReadTransformer
-
isSetXmlWriteTransformers
public boolean isSetXmlWriteTransformers()
Indicates if at least one XmlWriteTransformer has been set, i.e. the List of is XmlWriteTransformers is non-null and non-empty.
-
getXmlWriteTransformer
public List<XmlTransformation.XmlWriteTransformer> getXmlWriteTransformer()
Gets the value of the xmlWriteTransformer 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 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
-
isOptional
public boolean isOptional()
Gets the value of the optional property.- Returns:
- possible object is
Boolean
-
-