Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XSLTResultTarget Class Reference

#include <XSLTResultTarget.hpp>

Collaboration diagram for XSLTResultTarget:

List of all members.

Public Methods


Detailed Description


Constructor & Destructor Documentation

explicit XSLTResultTarget::XSLTResultTarget ()

XSLTResultTarget::XSLTResultTarget ( const XalanDOMString & fileName)

Create a new output target with a file name.

Parameters:
fileName   valid system file name

XSLTResultTarget::XSLTResultTarget ( std::ostream * theStream)

Create a new output target with a stream.

Parameters:
byteStream   a pointer to a std ostream for the output

XSLTResultTarget::XSLTResultTarget ( Writer * characterStream)

Create a new output target with a character stream.

Parameters:
characterStream   pointer to character stream where the results will be written

XSLTResultTarget::XSLTResultTarget ( XalanDocument * document)

Create a new output target with a DOM document.

Parameters:
n   root of DOM node tree that holds results

XSLTResultTarget::XSLTResultTarget ( XalanDocumentFragment * documentFragment)

Create a new output target with a DOM document fragment.

Parameters:
n   root of DOM node tree that holds results

XSLTResultTarget::XSLTResultTarget ( XalanElement * element)

Create a new output target with a DOM element.

Parameters:
n   root of DOM node tree that holds results

Member Function Documentation

std::ostream * XSLTResultTarget::getByteStream () const

Get the byte stream for this output target.

Returns:
pointer to byte stream, or null if none was supplied.

Writer * XSLTResultTarget::getCharacterStream ()

Get the character stream for this output target.

Returns:
pointer to character stream, or null if none was supplied.

XalanDocument * XSLTResultTarget::getDocument () const

Get the document node that will contain the result nodes.

Returns:
a pointer to the document node

XalanDocumentFragment * XSLTResultTarget::getDocumentFragment () const

Get the document node that will contain the result nodes.

Returns:
a pointer to the document node

FormatterListener * XSLTResultTarget::getDocumentHandler () const

Get the SAX DocumentHandler that will process the result tree events.

Returns:
pointer to current handler

XalanElement * XSLTResultTarget::getElement () const

Get the document node that will contain the result nodes.

Returns:
a pointer to the document node

const XalanDOMString & XSLTResultTarget::getEncoding () const

Get the character encoding in use.

Returns:
encoding string, or empty string if none was supplied.

const XalanDOMString & XSLTResultTarget::getFileName () const

Get the file name where the results will be written to.

Returns:
file name string

FormatterListener * XSLTResultTarget::getFormatterListener () const

Get the FormatterListener that will process the result tree events.

Returns:
pointer to new listener

bool XSLTResultTarget::hasDOMTarget () const

void XSLTResultTarget::setByteStream ( std::ostream * byteStream)

Set the byte stream for this output target.

Parameters:
byteStream   pointer to byte stream that will contain the result document

void XSLTResultTarget::setCharacterStream ( Writer * characterStream)

Set the character stream for this output target.

Parameters:
characterStream   pointer to character stream that will contain the result document

void XSLTResultTarget::setDocument ( XalanDocument * document)

Set the document node that will contain the result nodes.

Parameters:
node   DOM node to contain results

void XSLTResultTarget::setDocumentFragment ( XalanDocumentFragment * documentFragment)

Set the document fragment node that will contain the result nodes.

Parameters:
node   DOM node to contain results

void XSLTResultTarget::setDocumentHandler ( FormatterListener * handler)

Set a SAX DocumentHandler to process the result tree events.

Parameters:
handler   pointer to new handler

void XSLTResultTarget::setElement ( XalanElement * element)

Set the element node that will contain the result nodes.

Parameters:
node   DOM node to contain results

void XSLTResultTarget::setEncoding ( const XalanDOMString & encoding)

Set the character encoding, if known.

Parameters:
encoding   new encoding string

void XSLTResultTarget::setFileName ( const XalanDOMString & fileName)

Set the file name where the results will be written.

Parameters:
fileName   system identifier as a string

void XSLTResultTarget::setFormatterListener ( FormatterListener * handler)

Set a FormatterListener to process the result tree events.

Parameters:
handler   pointer to new listener

The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.