Class NARHandler

All Implemented Interfaces:
NamedContextFactory, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
Direct Known Subclasses:
NARXMLReader, NARXMLWriter

public class NARHandler extends ContextParser
  • Constructor Details

    • NARHandler

      public NARHandler()
  • Method Details

    • getDataDictionary

      public com.nt.udc.datadictparser.DataDictionary getDataDictionary()
    • setDataDictionary

      public void setDataDictionary(com.nt.udc.datadictparser.DataDictionary dataDictionary)
    • getContext

      public ElementContext getContext(String name) throws SAXParseException
      Description copied from class: ContextParser
      Used to retrieve the correct ElementContext given an XML element name. Using the given name, this method will retrieve a new ElementContext using the ElementContextFactory bound against that name. If no binding exists then the UnknownContext will be returned.
      Specified by:
      getContext in interface NamedContextFactory
      Overrides:
      getContext in class ContextParser
      Parameters:
      name - The XML element name which we are retrieving the ElementContext for.
      Returns:
      The ElementContext bound to the given XML element name.
      Throws:
      SAXParseException - if an execption is caused during the creation of the ElementContext.