Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.11


Public Types | Public Member Functions

XSLTInputSource Class Reference

#include <XSLTInputSource.hpp>

Collaboration diagram for XSLTInputSource:
Collaboration graph
[legend]

List of all members.

Public Types

Public Member Functions


Detailed Description

Definition at line 63 of file XSLTInputSource.hpp.


Member Typedef Documentation

typedef std::istream XSLTInputSource::StreamType

Definition at line 70 of file XSLTInputSource.hpp.


Constructor & Destructor Documentation

XSLTInputSource::XSLTInputSource ( MemoryManager &  theMemoryManager = XalanMemMgrs::getDefault()  )  [explicit]
XSLTInputSource::XSLTInputSource ( const XSLTInputSource theSource,
MemoryManager &  theMemoryManager = XalanMemMgrs::getDefault() 
)

Copy constructor.

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:
systemId system identifier (URI)
theMemoryManager The MemoryManager instance to use.
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:
systemId system identifier (URI)
theMemoryManager The MemoryManager instance to use.
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:
systemId system identifier (URI)
theMemoryManager The MemoryManager instance to use.
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:
systemId system identifier (URI)
publicId public identifier
theMemoryManager The MemoryManager instance to use.
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:
systemId system identifier (URI)
publicId public identifier
theMemoryManager The MemoryManager instance to use.
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:
systemId system identifier (URI)
publicId public identifier
theMemoryManager The MemoryManager instance to use.
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:
node DOM node that is root of the document
theMemoryManager The MemoryManager instance to use.
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:
stream the input stream...
theMemoryManager The MemoryManager instance to use.
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:
stream the input stream...
theMemoryManager The MemoryManager instance to use.

Member Function Documentation

XalanNode* XSLTInputSource::getNode (  )  const [inline]

Retrieve the DOM node for this input source.

Returns:
DOM node that is root of the document

Definition at line 251 of file XSLTInputSource.hpp.

StreamType* XSLTInputSource::getStream (  )  const [inline]

Definition at line 257 of file XSLTInputSource.hpp.

virtual BinInputStreamType* 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
XSLTInputSource& XSLTInputSource::operator= ( const XSLTInputSource theRHS  ) 

Assignment operator.

void XSLTInputSource::setNode ( XalanNode node  )  [inline]

Set the DOM node for this input source.

Parameters:
node DOM node that is root of the document

Definition at line 240 of file XSLTInputSource.hpp.

void XSLTInputSource::setStream ( StreamType stream  )  [inline]

Definition at line 263 of file XSLTInputSource.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