Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XSLTResultTarget Class Reference

#include <XSLTResultTarget.hpp>

Collaboration diagram for XSLTResultTarget:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 49 of file XSLTResultTarget.hpp.


Member Typedef Documentation

typedef std::ostream XSLTResultTarget::StreamType

Definition at line 56 of file XSLTResultTarget.hpp.


Constructor & Destructor Documentation

XSLTResultTarget::XSLTResultTarget ( MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR  )  [explicit]
XSLTResultTarget::XSLTResultTarget ( const XalanDOMString fileName,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a file name.

Parameters:
fileName valid system file name
XSLTResultTarget::XSLTResultTarget ( const XalanDOMChar *  fileName,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a file name.

Parameters:
fileName valid system file name
XSLTResultTarget::XSLTResultTarget ( const char *  fileName,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a file name.

Parameters:
fileName valid system file name
XSLTResultTarget::XSLTResultTarget ( StreamType theStream,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a stream.

Parameters:
byteStream a pointer to a std ostream for the output
XSLTResultTarget::XSLTResultTarget ( StreamType theStream,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a stream.

Parameters:
byteStream a reference to a std ostream for the output
XSLTResultTarget::XSLTResultTarget ( Writer characterStream,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a character stream.

Parameters:
characterStream pointer to character stream where the results will be written
XSLTResultTarget::XSLTResultTarget ( FILE *  characterStream,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a stream.

Parameters:
characterStream pointer to character stream where the results will be written
XSLTResultTarget::XSLTResultTarget ( FormatterListener flistener,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)

Create a new output target with a FormatterListener.

Parameters:
flistener A FormatterListener instance for result tree events.
XSLTResultTarget::XSLTResultTarget ( const XSLTResultTarget other,
MemoryManager &theManager  XALAN_DEFAULT_CONSTRUCTOR_MEMMGR 
)
XSLTResultTarget::~XSLTResultTarget (  ) 

Member Function Documentation

StreamType* XSLTResultTarget::getByteStream (  )  const [inline]

Get the byte stream for this output target.

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

Definition at line 195 of file XSLTResultTarget.hpp.

Writer* XSLTResultTarget::getCharacterStream (  )  const [inline]

Get the character stream for this output target.

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

Definition at line 258 of file XSLTResultTarget.hpp.

const XalanDOMString& XSLTResultTarget::getEncoding (  )  const [inline]

Get the character encoding in use.

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

Definition at line 235 of file XSLTResultTarget.hpp.

const XalanDOMString& XSLTResultTarget::getFileName (  )  const [inline]

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

Returns:
file name string

Definition at line 172 of file XSLTResultTarget.hpp.

FormatterListener* XSLTResultTarget::getFormatterListener (  )  const [inline]

Get the FormatterListener that will process the result tree events.

Returns:
pointer to new listener

Definition at line 302 of file XSLTResultTarget.hpp.

FILE* XSLTResultTarget::getStream (  )  const [inline]

Get the stream for this output target.

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

Definition at line 269 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setByteStream ( StreamType byteStream  )  [inline]

Set the byte stream for this output target.

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

Definition at line 184 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setCharacterStream ( Writer characterStream  )  [inline]

Set the character stream for this output target.

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

Definition at line 247 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setEncoding ( const XalanDOMChar *  encoding  )  [inline]

Set the character encoding, if known.

Parameters:
encoding new encoding string

Definition at line 206 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setEncoding ( const XalanDOMString encoding  )  [inline]

Set the character encoding, if known.

Parameters:
encoding new encoding string

Definition at line 224 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setFileName ( const XalanDOMString fileName  )  [inline]

Set the file name where the results will be written.

Parameters:
fileName system identifier as a string

Definition at line 161 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setFileName ( const char *  fileName  )  [inline]

Set the file name where the results will be written.

Parameters:
fileName system identifier as a string

Definition at line 143 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setFormatterListener ( FormatterListener handler  )  [inline]

Set a FormatterListener to process the result tree events.

Parameters:
handler pointer to new listener

Definition at line 291 of file XSLTResultTarget.hpp.

void XSLTResultTarget::setStream ( FILE *  theStream  )  [inline]

Set the stream for this output target.

pointer to stream.

Definition at line 280 of file XSLTResultTarget.hpp.


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++ XSLT Processor Version 1.11
Copyright © 1999-2012 The Apache Software Foundation.
All Rights Reserved.

Apache Logo