Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Constructor Summary
`XMLEventToContentHandler(XMLFilterImplEx filter)` Construct a new StAX to SAX adapter that will convert a StAX event stream into a SAX event stream.

Method Summary
`void` | `convertEvent(XMLEvent event)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### 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 source
    `filter` - SAX event sink

Method Detail

### convertEvent

    public void convertEvent(XMLEvent event)
                      throws XMLStreamException

  Throws:
    `XMLStreamException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright � 2008-2010 The Apache Software Foundation. All Rights Reserved.