Class ResourceEntityResolver

  • All Implemented Interfaces:
    org.xml.sax.EntityResolver

    @ThreadSafe
    public class ResourceEntityResolver
    extends java.lang.Object
    implements org.xml.sax.EntityResolver
    Entity Resolver for standard MathML entities.

    This class contains support for resolving all entities which are in the default MathML namespaces. It currently has support for

    • MathML 1.0.1
    • OpenOffice MathML 1.0.1
    • MathML 2.0
    Version:
    $Revision: f7ce187232a8 $
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String MML2_PUBLICID
      The public ID for mathML.
      static java.lang.String MML2_SYSTEMID
      The system ID for mathML.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.xml.sax.InputSource resolveEntity​(java.lang.String publicId, java.lang.String systemId)
      • Methods inherited from class java.lang.Object

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

      • MML2_SYSTEMID

        public static final java.lang.String MML2_SYSTEMID
        The system ID for mathML.
        See Also:
        Constant Field Values
      • MML2_PUBLICID

        public static final java.lang.String MML2_PUBLICID
        The public ID for mathML.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ResourceEntityResolver

        public ResourceEntityResolver()
        Default constructor.
    • Method Detail

      • resolveEntity

        public org.xml.sax.InputSource resolveEntity​(java.lang.String publicId,
                                                     java.lang.String systemId)
        Specified by:
        resolveEntity in interface org.xml.sax.EntityResolver