Class AttributeXmlMappings
- java.lang.Object
-
- net.officefloor.plugin.xml.unmarshall.tree.AttributeXmlMappings
-
public class AttributeXmlMappings extends java.lang.ObjectContains theXmlMappinginstances 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>mappingsMappings of attribute to appropriateXmlMapping.
-
Constructor Summary
Constructors Constructor Description AttributeXmlMappings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddXmlMapping(java.lang.String attributeName, XmlMapping mapping)Adds anXmlMappingfor the attribute.XmlMappinggetXmlMapping(java.lang.String attributeName)Obtains theXmlMappingfor 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 theXmlMappingfor the input attribute.- Parameters:
attributeName- Attribute name.- Returns:
XmlMappingfor the attribute ornullif there is no mapping.
-
addXmlMapping
protected void addXmlMapping(java.lang.String attributeName, XmlMapping mapping)Adds anXmlMappingfor the attribute.- Parameters:
attributeName- Attribute name.mapping-XmlMappingfor the attribute.
-
-