com.github.stephenc.javaisotools.sabre.impl
Class CopyingStreamHandler
java.lang.Object
com.github.stephenc.javaisotools.sabre.impl.ChainingStreamHandler
com.github.stephenc.javaisotools.sabre.impl.CopyingStreamHandler
- All Implemented Interfaces:
- ContentHandler, StreamHandler, StructureHandler
public class CopyingStreamHandler
- extends ChainingStreamHandler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CopyingStreamHandler
public CopyingStreamHandler(File file,
Element targetType,
StructureHandler chainedStructureHandler,
ContentHandler chainedContentHandler)
throws FileNotFoundException
- Throws:
FileNotFoundException
startDocument
public void startDocument()
throws HandlerException
- Specified by:
startDocument in interface StructureHandler- Overrides:
startDocument in class ChainingStreamHandler
- Throws:
HandlerException
startElement
public void startElement(Element element)
throws HandlerException
- Specified by:
startElement in interface StructureHandler- Overrides:
startElement in class ChainingStreamHandler
- Throws:
HandlerException
data
public void data(DataReference reference)
throws HandlerException
- Specified by:
data in interface ContentHandler- Overrides:
data in class ChainingStreamHandler
- Throws:
HandlerException
fixup
public Fixup fixup(DataReference reference)
throws HandlerException
- Specified by:
fixup in interface ContentHandler- Overrides:
fixup in class ChainingStreamHandler
- Throws:
HandlerException
endElement
public void endElement()
throws HandlerException
- Specified by:
endElement in interface StructureHandler- Overrides:
endElement in class ChainingStreamHandler
- Throws:
HandlerException
endDocument
public void endDocument()
throws HandlerException
- Specified by:
endDocument in interface StructureHandler- Overrides:
endDocument in class ChainingStreamHandler
- Throws:
HandlerException
Copyright © 2013. All Rights Reserved.