Class EventCMLHandler

  • All Implemented Interfaces:
    ContentHandler, DTDHandler, EntityResolver, ErrorHandler

    public class EventCMLHandler
    extends CMLHandler
    CDO object needed as interface with the JCFL library for reading CML in a event based manner.

    The CDO only takes care about atoms, bonds and molecules.

    Author:
    Egon Willighagen <egonw@sci.kun.nl>
    Source code:
    main
    Belongs to CDK module:
    io
    • Method Detail

      • startDocument

        public void startDocument()
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library
        Specified by:
        startDocument in interface ContentHandler
        Overrides:
        startDocument in class CMLHandler
      • endDocument

        public void endDocument()
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library
        Specified by:
        endDocument in interface ContentHandler
        Overrides:
        endDocument in class CMLHandler
      • setDocumentProperty

        public void setDocumentProperty​(String type,
                                        String value)
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library
      • startObject

        public void startObject​(String objectType)
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library
      • endObject

        public void endObject​(String objectType)
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library
      • setObjectProperty

        public void setObjectProperty​(String objectType,
                                      String propertyType,
                                      String propertyValue)
        Procedure required by the CDOInterface. This function is only supposed to be called by the JCFL library