Class SimpleSAXParserAdapter

  • All Implemented Interfaces:
    AdapterInterface, java.io.Serializable
    Direct Known Subclasses:
    SAXImportXML

    public abstract class SimpleSAXParserAdapter
    extends SAXParserAdapter
    Abstract adapter dedicated to simplified SAX parsing of XML input streams.
    This class (and its child classes) cannot be instantiated.
    They correspond to an Adapter configuration item.
    The 5 methods to implement are the startProcess, endProcess, startTagProcess, endTagProcess and processValue methods.
    See Also:
    Serialized Form
    • Constructor Detail

      • SimpleSAXParserAdapter

        public SimpleSAXParserAdapter()
    • Method Detail

      • process

        public void process()
                     throws java.lang.InterruptedException

        Creates simple SAX parser that calls startProcess, enProcess, startTagProcess, endTagProcess and processValue methods

        Specified by:
        process in interface AdapterInterface
        Overrides:
        process in class SAXParserAdapter
        Throws:
        java.lang.InterruptedException
      • startTagProcess

        public abstract void startTagProcess​(java.lang.String uri,
                                             java.lang.String localName,
                                             java.lang.String qName,
                                             java.lang.String path)
                                      throws PlatformException,
                                             java.lang.InterruptedException
        Throws:
        PlatformException
        java.lang.InterruptedException
      • processAttribute

        public abstract void processAttribute​(java.lang.String uri,
                                              java.lang.String localName,
                                              java.lang.String qName,
                                              java.lang.String value,
                                              java.lang.String path)
                                       throws PlatformException,
                                              java.lang.InterruptedException
        Throws:
        PlatformException
        java.lang.InterruptedException
      • processValue

        public abstract void processValue​(java.lang.String value)
                                   throws PlatformException,
                                          java.lang.InterruptedException
        Throws:
        PlatformException
        java.lang.InterruptedException
      • endTagProcess

        public abstract void endTagProcess​(java.lang.String uri,
                                           java.lang.String localName,
                                           java.lang.String qName,
                                           java.lang.String path)
                                    throws PlatformException,
                                           java.lang.InterruptedException
        Throws:
        PlatformException
        java.lang.InterruptedException