This project has retired. For details please refer to its
Attic page.
XMLByteStreamFragment (Cocoon Pipeline Implementation 1.0.0 API)
org.apache.cocoon.components.sax
Class XMLByteStreamFragment
java.lang.Object
org.apache.cocoon.xml.AbstractSAXFragment
org.apache.cocoon.components.sax.XMLByteStreamFragment
- All Implemented Interfaces:
- org.apache.cocoon.xml.XMLFragment, XMLizable
- public class XMLByteStreamFragment
- extends AbstractSAXFragment
An XMLByteStream wrapped by an XMLFragment implementation. This allows to
store SAX events and insert them in an XSP result using <xsp:expr>.
- Version:
- $Id: XMLByteStreamFragment.html 1304280 2012-03-23 11:18:01Z ilgrosso $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLByteStreamFragment
public XMLByteStreamFragment(Object bytes)
- Creates a new
XMLByteStreamFragment defined by the given
XML byte stream.
- Parameters:
bytes - the XML byte stream representing the document fragment
toSAX
public void toSAX(ContentHandler ch)
throws SAXException
- Output the fragment. If the fragment is a document, start/endDocument
events are discarded.
- Throws:
SAXException
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.