Xalan-C++ API Reference 1.12.0
xalanc::XSLTInputSource Class Reference

#include <xalanc/XSLT/XSLTInputSource.hpp>

Inheritance diagram for xalanc::XSLTInputSource:
[legend]
Collaboration diagram for xalanc::XSLTInputSource:
[legend]

Public Types

typedef std::istream StreamType

Public Member Functions

 XSLTInputSource (MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 XSLTInputSource (const XSLTInputSource &theSource, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Copy constructor.
XSLTInputSourceoperator= (const XSLTInputSource &theRHS)
 Assignment operator.
 XSLTInputSource (const XMLCh *systemId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier.
 XSLTInputSource (const XalanDOMString &systemId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier.
 XSLTInputSource (const char *systemId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier.
 XSLTInputSource (const char *systemId, const char *publicId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier and a public identifier.
 XSLTInputSource (const XMLCh *systemId, const XMLCh *publicId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier and a public identifier.
 XSLTInputSource (const XalanDOMString &systemId, const XalanDOMString &publicId, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a system identifier and a public identifier.
 XSLTInputSource (XalanNode *node, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with a DOM node.
 XSLTInputSource (StreamType *stream, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with std stream.
 XSLTInputSource (StreamType &stream, MemoryManager &theMemoryManager=XalanMemMgrs::getDefault())
 Create a new input source with std stream.
virtual BinInputStreamTypemakeStream () const
 Makes the byte stream for this input source.
void setNode (XalanNode *node)
 Set the DOM node for this input source.
XalanNodegetNode () const
 Retrieve the DOM node for this input source.
StreamTypegetStream () const
void setStream (StreamType *stream)

Detailed Description

Definition at line 62 of file XSLTInputSource.hpp.

Member Typedef Documentation

◆ StreamType

Definition at line 66 of file XSLTInputSource.hpp.

Constructor & Destructor Documentation

◆ XSLTInputSource() [1/11]

xalanc::XSLTInputSource::XSLTInputSource ( MemoryManager & theMemoryManager = XalanMemMgrs::getDefault())
explicit

◆ XSLTInputSource() [2/11]

xalanc::XSLTInputSource::XSLTInputSource ( const XSLTInputSource & theSource,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Copy constructor.

References xalanc::XalanMemMgrs::getDefault(), and XSLTInputSource().

◆ XSLTInputSource() [3/11]

xalanc::XSLTInputSource::XSLTInputSource ( const XMLCh * systemId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier.

Applications may use setPublicId to include a public identifier as well, or setEncoding to specify the character encoding, if known.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [4/11]

xalanc::XSLTInputSource::XSLTInputSource ( const XalanDOMString & systemId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier.

Applications may use setPublicId to include a public identifier as well, or setEncoding to specify the character encoding, if known.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [5/11]

xalanc::XSLTInputSource::XSLTInputSource ( const char * systemId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier.

Applications may use setPublicId to include a public identifier as well, or setEncoding to specify the character encoding, if known.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [6/11]

xalanc::XSLTInputSource::XSLTInputSource ( const char * systemId,
const char * publicId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier and a public identifier.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
publicIdpublic identifier
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [7/11]

xalanc::XSLTInputSource::XSLTInputSource ( const XMLCh * systemId,
const XMLCh * publicId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier and a public identifier.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
publicIdpublic identifier
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [8/11]

xalanc::XSLTInputSource::XSLTInputSource ( const XalanDOMString & systemId,
const XalanDOMString & publicId,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a system identifier and a public identifier.

If the system identifier is a URL, it must be full resolved.

Parameters
systemIdsystem identifier (URI)
publicIdpublic identifier
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [9/11]

xalanc::XSLTInputSource::XSLTInputSource ( XalanNode * node,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with a DOM node.

Application writers may use setSystemId() to provide a base for resolving relative URIs, and setPublicId to include a public identifier.

Parameters
nodeDOM node that is root of the document
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [10/11]

xalanc::XSLTInputSource::XSLTInputSource ( StreamType * stream,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with std stream.

Application writers may use setSystemId() to provide a base for resolving relative URIs, and setPublicId to include a public identifier.

Parameters
streamthe input stream...
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

◆ XSLTInputSource() [11/11]

xalanc::XSLTInputSource::XSLTInputSource ( StreamType & stream,
MemoryManager & theMemoryManager = XalanMemMgrs::getDefault() )

Create a new input source with std stream.

Application writers may use setSystemId() to provide a base for resolving relative URIs, and setPublicId to include a public identifier.

Parameters
streamthe input stream...
theMemoryManagerThe MemoryManager instance to use.

References xalanc::XalanMemMgrs::getDefault().

Member Function Documentation

◆ getNode()

XalanNode * xalanc::XSLTInputSource::getNode ( ) const
inline

Retrieve the DOM node for this input source.

Returns
DOM node that is root of the document

Definition at line 246 of file XSLTInputSource.hpp.

◆ getStream()

StreamType * xalanc::XSLTInputSource::getStream ( ) const
inline

Definition at line 252 of file XSLTInputSource.hpp.

◆ makeStream()

virtual BinInputStreamType * xalanc::XSLTInputSource::makeStream ( ) const
virtual

Makes the byte stream for this input source.

The SAX parser will ignore this if there is also a character stream specified, but it will use a byte stream in preference to opening a URI connection itself.

Returns
pointer to byte stream created

◆ operator=()

XSLTInputSource & xalanc::XSLTInputSource::operator= ( const XSLTInputSource & theRHS)

Assignment operator.

References XSLTInputSource().

◆ setNode()

void xalanc::XSLTInputSource::setNode ( XalanNode * node)
inline

Set the DOM node for this input source.

Parameters
nodeDOM node that is root of the document

Definition at line 235 of file XSLTInputSource.hpp.

◆ setStream()

void xalanc::XSLTInputSource::setStream ( StreamType * stream)
inline

Definition at line 258 of file XSLTInputSource.hpp.


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