Interface XMLMapping

All Known Implementing Classes:
BartAdminXMLMapping, BartXMLMapping, XMLMappingList

public interface XMLMapping
This Java interface defines the mapping between XML tags and Java classes; The Java classes returned through this mapping must have a default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    getClass(String nsUri, String tag, XMLAttributes atts)
    Returns the Java class for a specified XML tag and its attributes in a namespace.
  • Method Details

    • getClass

      Class<?> getClass(String nsUri, String tag, XMLAttributes atts)
      Returns the Java class for a specified XML tag and its attributes in a namespace.
      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
      Throws:
      IgnorableTagException - when the XML tag can be safely ignored