Class XercesBridge_2_2

  • Direct Known Subclasses:
    XercesBridge_2_3

    public class XercesBridge_2_2
    extends XercesBridge
    Xerces bridge for use with Xerces 2.2 and higher
    Author:
    Marc Guillemot
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected XercesBridge_2_2()
      Should fail for Xerces version less than 2.2
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getVersion()
      Gets the Xerces version used
      void XMLDocumentFilter_setDocumentSource​(org.apache.xerces.xni.parser.XMLDocumentFilter filter, org.apache.xerces.xni.parser.XMLDocumentSource lastSource)
      Calls setDocumentSource (if available in the Xerces version used) on the XMLDocumentFilter.
      void XMLDocumentHandler_startDocument​(org.apache.xerces.xni.XMLDocumentHandler documentHandler, org.apache.xerces.xni.XMLLocator locator, java.lang.String encoding, org.apache.xerces.xni.NamespaceContext nscontext, org.apache.xerces.xni.Augmentations augs)
      Calls startDocument on the XMLDocumentHandler.
      void XMLDocumentHandler_startPrefixMapping​(org.apache.xerces.xni.XMLDocumentHandler documentHandler, java.lang.String prefix, java.lang.String uri, org.apache.xerces.xni.Augmentations augs)
      Calls startPrefixMapping on the XMLDocumentHandler.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XercesBridge_2_2

        protected XercesBridge_2_2()
                            throws java.lang.InstantiationException
        Should fail for Xerces version less than 2.2
        Throws:
        java.lang.InstantiationException - if instantiation failed
    • Method Detail

      • getVersion

        public java.lang.String getVersion()
        Description copied from class: XercesBridge
        Gets the Xerces version used
        Specified by:
        getVersion in class XercesBridge
        Returns:
        the version
      • XMLDocumentHandler_startPrefixMapping

        public void XMLDocumentHandler_startPrefixMapping​(org.apache.xerces.xni.XMLDocumentHandler documentHandler,
                                                          java.lang.String prefix,
                                                          java.lang.String uri,
                                                          org.apache.xerces.xni.Augmentations augs)
        Description copied from class: XercesBridge
        Calls startPrefixMapping on the XMLDocumentHandler.
        Overrides:
        XMLDocumentHandler_startPrefixMapping in class XercesBridge
      • XMLDocumentHandler_startDocument

        public void XMLDocumentHandler_startDocument​(org.apache.xerces.xni.XMLDocumentHandler documentHandler,
                                                     org.apache.xerces.xni.XMLLocator locator,
                                                     java.lang.String encoding,
                                                     org.apache.xerces.xni.NamespaceContext nscontext,
                                                     org.apache.xerces.xni.Augmentations augs)
        Description copied from class: XercesBridge
        Calls startDocument on the XMLDocumentHandler.
        Specified by:
        XMLDocumentHandler_startDocument in class XercesBridge
      • XMLDocumentFilter_setDocumentSource

        public void XMLDocumentFilter_setDocumentSource​(org.apache.xerces.xni.parser.XMLDocumentFilter filter,
                                                        org.apache.xerces.xni.parser.XMLDocumentSource lastSource)
        Description copied from class: XercesBridge
        Calls setDocumentSource (if available in the Xerces version used) on the XMLDocumentFilter. This implementation does nothing.
        Overrides:
        XMLDocumentFilter_setDocumentSource in class XercesBridge