Documentation of 'hep.aida.ref.xml.AidaWBXMLParser' Java class
AidaWBXMLParser
hep.aida.ref.xml

Class AidaWBXMLParser

  • All Implemented Interfaces:
    org.freehep.wbxml.ContentHandler


    public class AidaWBXMLParser
    extends java.lang.Object
    implements org.freehep.wbxml.ContentHandler
    This class reads Binary XML.
    • Constructor Detail

      • AidaWBXMLParser

        public AidaWBXMLParser(AidaBinaryHandler handler)
        Creates a parser instance.
        Parameters:
        handler - handler interface implementation (never null
        resolver - SAX entity resolver implementation or null. It is recommended that it could be able to resolve at least the DTD.
    • Method Detail

      • startDocument

        public void startDocument()
                           throws org.xml.sax.SAXException
        Specified by:
        startDocument in interface org.freehep.wbxml.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • endDocument

        public void endDocument()
                         throws org.xml.sax.SAXException
        Specified by:
        endDocument in interface org.freehep.wbxml.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • startElement

        public void startElement(int tagID,
                                 org.freehep.wbxml.Attributes attrs,
                                 boolean empty)
                          throws org.xml.sax.SAXException
        Specified by:
        startElement in interface org.freehep.wbxml.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • endElement

        public void endElement(int tagID)
                        throws org.xml.sax.SAXException
        This SAX interface method is implemented by the parser.
        Specified by:
        endElement in interface org.freehep.wbxml.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • characters

        public void characters(char[] chars,
                               int start,
                               int len)
                        throws org.xml.sax.SAXException
        Specified by:
        characters in interface org.freehep.wbxml.ContentHandler
        Throws:
        org.xml.sax.SAXException
      • parse

        public void parse(java.io.InputStream in)
                   throws org.xml.sax.SAXException,
                          java.io.IOException
        Throws:
        org.xml.sax.SAXException
        java.io.IOException
      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.