Class XMLMappingList

java.lang.Object
com.highdeal.hci.XMLMappingList
All Implemented Interfaces:
XMLMapping

public class XMLMappingList extends Object implements XMLMapping
This Java class allows to merge different XML mapping objects into one.
  • Constructor Details

    • XMLMappingList

      public XMLMappingList(XMLMapping[] mappings)
      Builds an XML mapping list from an array of mappings.
      Parameters:
      mappings - An array of XML mapping to be merged
  • Method Details

    • getClass

      public Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
      Description copied from interface: XMLMapping
      Returns the Java class for a specified XML tag and its attributes in a namespace.
      Specified by:
      getClass in interface XMLMapping
      Parameters:
      nsUri - The unique resource identifier of the namespace of the XML tag
      tag - The local part of the XML tag
      atts - The attributes of the XML tag
      Returns:
      A Java class with a default constructor