com.github.stephenc.javaisotools.udflib.handler
Class SerializationHandler

java.lang.Object
  extended by com.github.stephenc.javaisotools.udflib.handler.SerializationHandler
All Implemented Interfaces:
ContentHandler, StreamHandler, StructureHandler

public class SerializationHandler
extends Object
implements StreamHandler


Constructor Summary
SerializationHandler(File outputFile)
           
 
Method Summary
 void data(DataReference myDataReference)
           
 void endDocument()
           
 void endElement()
           
 Fixup fixup(DataReference myDataReference)
           
 long mark()
           
 void startDocument()
           
 void startElement(Element myElement)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializationHandler

public SerializationHandler(File outputFile)
                     throws HandlerException
Throws:
HandlerException
Method Detail

startDocument

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

endDocument

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

startElement

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

endElement

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

data

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

fixup

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

mark

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


Copyright © 2013. All Rights Reserved.