Class AttributeXmlMappings
java.lang.Object
net.officefloor.plugin.xml.unmarshall.tree.AttributeXmlMappings
Contains the
XmlMapping instances for
attributes of a particular element.- Author:
- Daniel Sagenschneider
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Map<String,XmlMapping> Mappings of attribute to appropriateXmlMapping. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddXmlMapping(String attributeName, XmlMapping mapping) Adds anXmlMappingfor the attribute.getXmlMapping(String attributeName) Obtains theXmlMappingfor the input attribute.
-
Field Details
-
mappings
Mappings of attribute to appropriateXmlMapping.
-
-
Constructor Details
-
AttributeXmlMappings
public AttributeXmlMappings()
-
-
Method Details
-
getXmlMapping
Obtains theXmlMappingfor the input attribute.- Parameters:
attributeName- Attribute name.- Returns:
XmlMappingfor the attribute ornullif there is no mapping.
-
addXmlMapping
Adds anXmlMappingfor the attribute.- Parameters:
attributeName- Attribute name.mapping-XmlMappingfor the attribute.
-