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

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

public class XMLAtomHandler
extends Object
implements StreamHandler


Constructor Summary
XMLAtomHandler(ContentHandler contentHandler, String namespace, String prefix)
           
 
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

XMLAtomHandler

public XMLAtomHandler(ContentHandler contentHandler,
                      String namespace,
                      String prefix)
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.