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

java.lang.Object
  extended by com.github.stephenc.javaisotools.sabre.impl.SerializingAtomHandler
All Implemented Interfaces:
ContentHandler, StreamHandler, StructureHandler

public class SerializingAtomHandler
extends Object
implements StreamHandler


Constructor Summary
SerializingAtomHandler(File file)
           
 
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

SerializingAtomHandler

public SerializingAtomHandler(File file)
                       throws FileNotFoundException
Throws:
FileNotFoundException
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.