Class CopyingHandler

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected StringBuffer buffer  
      protected NamespaceSupport namespaceContext  
      protected int root  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void characters​(char[] ch, int start, int length)  
      void endDocument()  
      void endElement​(String uri, String localName, String qName)  
      void startElement​(String uri, String localName, String qName, Attributes attributes)  
      • Methods inherited from class DefaultHandler

        endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
      • Methods inherited from class Object

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

      • buffer

        protected StringBuffer buffer
      • namespaceContext

        protected NamespaceSupport namespaceContext
      • root

        protected int root
    • Constructor Detail

      • CopyingHandler

        public CopyingHandler()
      • CopyingHandler

        public CopyingHandler​(NamespaceSupport namespaceContext)
    • Method Detail

      • startElement

        public void startElement​(String uri,
                                 String localName,
                                 String qName,
                                 Attributes attributes)
                          throws SAXException
        Specified by:
        startElement in interface ContentHandler
        Overrides:
        startElement in class DefaultHandler
        Throws:
        SAXException
      • characters

        public void characters​(char[] ch,
                               int start,
                               int length)
                        throws SAXException
        Specified by:
        characters in interface ContentHandler
        Overrides:
        characters in class DefaultHandler
        Throws:
        SAXException
      • endElement

        public void endElement​(String uri,
                               String localName,
                               String qName)
                        throws SAXException
        Specified by:
        endElement in interface ContentHandler
        Overrides:
        endElement in class DefaultHandler
        Throws:
        SAXException
      • endDocument

        public void endDocument()
                         throws SAXException
        Specified by:
        endDocument in interface ContentHandler
        Overrides:
        endDocument in class DefaultHandler
        Throws:
        SAXException