Class StartElementProcessor


  • public class StartElementProcessor
    extends java.lang.Object
    A processor that assists UnmarshalHandler in dealing with the SAX 2 ContentHandler.startElement(String, String, String, org.xml.sax.Attributes) callback method.
    Since:
    1.3.2
    Author:
    Werner Guttmann
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static java.util.ResourceBundle resourceBundle
      resource bundle
    • Constructor Summary

      Constructors 
      Constructor Description
      StartElementProcessor​(UnmarshalHandler unmarshalHandler)
      Creates an instance of this class, with a reference to the actual UnmarshalHandler for which this processor deals with the SAX 2 startElement() callback method.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void compute​(java.lang.String name, java.lang.String namespace, AttributeSet atts)  
      • Methods inherited from class java.lang.Object

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

      • resourceBundle

        protected static java.util.ResourceBundle resourceBundle
        resource bundle
    • Constructor Detail

      • StartElementProcessor

        public StartElementProcessor​(UnmarshalHandler unmarshalHandler)
        Creates an instance of this class, with a reference to the actual UnmarshalHandler for which this processor deals with the SAX 2 startElement() callback method.
        Parameters:
        unmarshalHandler - The UnmarshalHandler instance on which the results of processing the startElement method will be 'persisted'/set.
    • Method Detail

      • compute

        public void compute​(java.lang.String name,
                            java.lang.String namespace,
                            AttributeSet atts)
                     throws org.xml.sax.SAXException
        Throws:
        org.xml.sax.SAXException