Class ElementXmlMapping
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.tree.ElementXmlMapping
-
public class ElementXmlMapping extends java.lang.Object
Contains theXmlMapping
instance for a particular element and theAttributeXmlMappings
for the attributes of the element.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected AttributeXmlMappings
attributeXmlMappings
XmlMapping
instances of the attributes of the element.protected XmlMapping
elementXmlMapping
XmlMapping
of the element.protected java.util.List<XmlMapping>
staticXmlMappings
List of staticXmlMapping
instances for the element.
-
Constructor Summary
Constructors Constructor Description ElementXmlMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addAttributeXmlMapping(java.lang.String attributeName, XmlMapping mapping)
Adds aXmlMapping
for an attribute of the element.void
addStaticXmlMappings(XmlMapping mapping)
Adds a staticXmlMapping
to the element.AttributeXmlMappings
getAttributeXmlMappings()
Obtains theAttributeXmlMappings
for the attributes of the element.XmlMapping
getElementXmlMapping()
Obtains theXmlMapping
for the element.java.util.List<XmlMapping>
getStaticXmlMappings()
Obtains the list of staticXmlMapping
instances for the element.protected void
setElementXmlMapping(XmlMapping mapping)
Specifies theXmlMapping
for the element.
-
-
-
Field Detail
-
elementXmlMapping
protected XmlMapping elementXmlMapping
XmlMapping
of the element.
-
attributeXmlMappings
protected AttributeXmlMappings attributeXmlMappings
XmlMapping
instances of the attributes of the element.
-
staticXmlMappings
protected java.util.List<XmlMapping> staticXmlMappings
List of staticXmlMapping
instances for the element.
-
-
Method Detail
-
getElementXmlMapping
public XmlMapping getElementXmlMapping()
Obtains theXmlMapping
for the element.- Returns:
XmlMapping
for the element ornull
if there is noXmlMapping
for the element.
-
getAttributeXmlMappings
public AttributeXmlMappings getAttributeXmlMappings()
Obtains theAttributeXmlMappings
for the attributes of the element.- Returns:
AttributeXmlMappings
for the attribute ornull
if there are noAttributeXmlMappings
for the element.
-
setElementXmlMapping
protected void setElementXmlMapping(XmlMapping mapping)
Specifies theXmlMapping
for the element.- Parameters:
mapping
-XmlMapping
for the element.
-
addAttributeXmlMapping
protected void addAttributeXmlMapping(java.lang.String attributeName, XmlMapping mapping)
Adds aXmlMapping
for an attribute of the element.- Parameters:
attributeName
- Attribute name.mapping
-XmlMapping
for the attribute.
-
getStaticXmlMappings
public java.util.List<XmlMapping> getStaticXmlMappings()
Obtains the list of staticXmlMapping
instances for the element.- Returns:
List
ofXmlMapping
.
-
addStaticXmlMappings
public void addStaticXmlMappings(XmlMapping mapping)
Adds a staticXmlMapping
to the element.- Parameters:
mapping
- StaticXmlMapping
.
-
-