This project has retired. For details please refer to its
Attic page .
XMLEventToContentHandler (Apache Cocoon 3: Parent 3.0.0-beta-1-SNAPSHOT API)
org.apache.cocoon.stax.converter.util
Class XMLEventToContentHandler
java.lang.Object
org.apache.cocoon.stax.converter.util.XMLEventToContentHandler
public class XMLEventToContentHandler extends Object
This is a simple utility class that adapts StAX events from an
XMLEventReader to SAX events on a ContentHandler ,
bridging between the two parser technologies.
Version:
1.0, from stax-utils stable version stax-utils-20070216
Author:
Ryan.Shoemaker@Sun.COM
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
XMLEventToContentHandler
public XMLEventToContentHandler (XMLFilterImplEx filter)
Construct a new StAX to SAX adapter that will convert a StAX event stream into a SAX event
stream.
Parameters: staxCore - StAX event sourcefilter - SAX event sink
convertEvent
public void convertEvent (XMLEvent event)
throws XMLStreamException
Throws:
XMLStreamException
Copyright © 2008-2012 The Apache Software Foundation . All Rights Reserved.