com.github.stephenc.javaisotools.sabre.impl
Class ChainingStreamHandler

java.lang.Object
  extended by com.github.stephenc.javaisotools.sabre.impl.ChainingStreamHandler
All Implemented Interfaces:
ContentHandler, StreamHandler, StructureHandler
Direct Known Subclasses:
CopyingStreamHandler, DebugStreamHandler, DescriptorTagHandler, PaddingHandler, UDF102Handler

public class ChainingStreamHandler
extends Object
implements StreamHandler


Constructor Summary
ChainingStreamHandler(StructureHandler chainedStructureHandler, ContentHandler chainedContentHandler)
           
 
Method Summary
 void data(DataReference reference)
           
 void endDocument()
           
 void endElement()
           
 Fixup fixup(DataReference reference)
           
 long mark()
           
 void startDocument()
           
 void startElement(Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChainingStreamHandler

public ChainingStreamHandler(StructureHandler chainedStructureHandler,
                             ContentHandler chainedContentHandler)
Method Detail

startDocument

public void startDocument()
                   throws HandlerException
Specified by:
startDocument in interface StructureHandler
Throws:
HandlerException

startElement

public void startElement(Element element)
                  throws HandlerException
Specified by:
startElement in interface StructureHandler
Throws:
HandlerException

data

public void data(DataReference reference)
          throws HandlerException
Specified by:
data in interface ContentHandler
Throws:
HandlerException

fixup

public Fixup fixup(DataReference reference)
            throws HandlerException
Specified by:
fixup in interface ContentHandler
Throws:
HandlerException

mark

public long mark()
          throws HandlerException
Specified by:
mark in interface ContentHandler
Throws:
HandlerException

endElement

public void endElement()
                throws HandlerException
Specified by:
endElement in interface StructureHandler
Throws:
HandlerException

endDocument

public void endDocument()
                 throws HandlerException
Specified by:
endDocument in interface StructureHandler
Throws:
HandlerException


Copyright © 2013. All Rights Reserved.