Class TargetImportHandler

  • All Implemented Interfaces:
    org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

    public abstract class TargetImportHandler
    extends org.xml.sax.helpers.DefaultHandler
    TargetImportHandler serves as the base class for the concrete classes {@link DocViewImportHandler} and {@link SysViewImportHandler}.
    • Constructor Detail

    • Method Detail

      • startPrefixMapping

        public void startPrefixMapping​(java.lang.String prefix,
                                       java.lang.String uri)
                                throws org.xml.sax.SAXException
        Specified by:
        startPrefixMapping in interface org.xml.sax.ContentHandler
        Overrides:
        startPrefixMapping in class org.xml.sax.helpers.DefaultHandler
        Throws:
        org.xml.sax.SAXException
      • endPrefixMapping

        public void endPrefixMapping​(java.lang.String prefix)
                              throws org.xml.sax.SAXException
        Specified by:
        endPrefixMapping in interface org.xml.sax.ContentHandler
        Overrides:
        endPrefixMapping in class org.xml.sax.helpers.DefaultHandler
        Throws:
        org.xml.sax.SAXException
      • startDocument

        public void startDocument()
                           throws org.xml.sax.SAXException
        Initializes the underlying Importer instance. This method is called by the XML parser when the XML document starts.
        Specified by:
        startDocument in interface org.xml.sax.ContentHandler
        Overrides:
        startDocument in class org.xml.sax.helpers.DefaultHandler
        Throws:
        org.xml.sax.SAXException - if the importer can not be initialized
        See Also:
        DefaultHandler.startDocument()
      • endDocument

        public void endDocument()
                         throws org.xml.sax.SAXException
        Closes the underlying Importer instance. This method is called by the XML parser when the XML document ends.
        Specified by:
        endDocument in interface org.xml.sax.ContentHandler
        Overrides:
        endDocument in class org.xml.sax.helpers.DefaultHandler
        Throws:
        org.xml.sax.SAXException - if the importer can not be closed
        See Also:
        DefaultHandler.endDocument()
      • currentNamePathMapper

        public NamePathMapper currentNamePathMapper()