Class AttributeXmlMappings

java.lang.Object
net.officefloor.plugin.xml.unmarshall.tree.AttributeXmlMappings

public class AttributeXmlMappings extends Object
Contains the XmlMapping instances for attributes of a particular element.
Author:
Daniel Sagenschneider
  • Field Details

  • Constructor Details

    • AttributeXmlMappings

      public AttributeXmlMappings()
  • Method Details

    • getXmlMapping

      public XmlMapping getXmlMapping(String attributeName)
      Obtains the XmlMapping for the input attribute.
      Parameters:
      attributeName - Attribute name.
      Returns:
      XmlMapping for the attribute or null if there is no mapping.
    • addXmlMapping

      protected void addXmlMapping(String attributeName, XmlMapping mapping)
      Adds an XmlMapping for the attribute.
      Parameters:
      attributeName - Attribute name.
      mapping - XmlMapping for the attribute.