Class BartAdminXMLMapping

java.lang.Object
com.highdeal.bart.admin.hci.BartAdminXMLMapping
All Implemented Interfaces:
XMLMapping

public class BartAdminXMLMapping extends Object implements XMLMapping
Defines the mapping between XML tags and marshallable classes.
  • Field Details

    • map

      protected Hashtable<String,String> map
      Map containing the mapping between tag names and HCI class names.
  • Constructor Details

    • BartAdminXMLMapping

      public BartAdminXMLMapping()
      Builds a new mapping for Administration own classes and XML tag.
  • 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