Class AttributeXmlMappings
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.tree.AttributeXmlMappings
-
public class AttributeXmlMappings extends java.lang.Object
Contains theXmlMapping
instances for attributes of a particular element.- Author:
- Daniel Sagenschneider
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,XmlMapping>
mappings
Mappings of attribute to appropriateXmlMapping
.
-
Constructor Summary
Constructors Constructor Description AttributeXmlMappings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addXmlMapping(java.lang.String attributeName, XmlMapping mapping)
Adds anXmlMapping
for the attribute.XmlMapping
getXmlMapping(java.lang.String attributeName)
Obtains theXmlMapping
for the input attribute.
-
-
-
Field Detail
-
mappings
protected final java.util.Map<java.lang.String,XmlMapping> mappings
Mappings of attribute to appropriateXmlMapping
.
-
-
Method Detail
-
getXmlMapping
public XmlMapping getXmlMapping(java.lang.String attributeName)
Obtains theXmlMapping
for the input attribute.- Parameters:
attributeName
- Attribute name.- Returns:
XmlMapping
for the attribute ornull
if there is no mapping.
-
addXmlMapping
protected void addXmlMapping(java.lang.String attributeName, XmlMapping mapping)
Adds anXmlMapping
for the attribute.- Parameters:
attributeName
- Attribute name.mapping
-XmlMapping
for the attribute.
-
-