Xalan-C++ API Reference  1.12.0
Public Member Functions | List of all members
xalanc::XalanParsedSource Class Referenceabstract

This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document. More...

#include <xalanc/XalanTransformer/XalanParsedSource.hpp>

Inheritance diagram for xalanc::XalanParsedSource:
[legend]

Public Member Functions

 XalanParsedSource ()
 
virtual ~XalanParsedSource ()
 
virtual XalanDocumentgetDocument () const =0
 Get a pointer to the XalanDocument instance for the source document. More...
 
virtual XalanParsedSourceHelpercreateHelper (MemoryManager &theManager) const =0
 Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance. More...
 
virtual const XalanDOMStringgetURI () const =0
 Get the URI for the parsed source, if any. More...
 

Detailed Description

This is abstract base class designed to allow a XalanTranfomer object to reuse a parsed document.

Definition at line 77 of file XalanParsedSource.hpp.

Constructor & Destructor Documentation

◆ XalanParsedSource()

xalanc::XalanParsedSource::XalanParsedSource ( )

◆ ~XalanParsedSource()

virtual xalanc::XalanParsedSource::~XalanParsedSource ( )
virtual

Member Function Documentation

◆ createHelper()

virtual XalanParsedSourceHelper* xalanc::XalanParsedSource::createHelper ( MemoryManager &  theManager) const
pure virtual

Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance.

The caller is responsible for deleting the object when finished.

Returns
A pointer to a XalanParsedSourceHelper instance.

Implemented in xalanc::XalanDefaultParsedSource, xalanc::XercesDOMParsedSource, and xalanc::XalanDefaultDocumentBuilder.

◆ getDocument()

virtual XalanDocument* xalanc::XalanParsedSource::getDocument ( ) const
pure virtual

◆ getURI()

virtual const XalanDOMString& xalanc::XalanParsedSource::getURI ( ) const
pure virtual

Get the URI for the parsed source, if any.

use for transforming with the instance.

Returns
A const reference to a string containing the URI

Implemented in xalanc::XalanDocumentBuilder, xalanc::XalanDefaultParsedSource, xalanc::XercesDOMWrapperParsedSource, xalanc::XercesDOMParsedSource, xalanc::XalanSourceTreeWrapperParsedSource, and xalanc::XalanDefaultDocumentBuilder.


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