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

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

#include <xalanc/XalanTransformer/XercesDOMParsedSource.hpp>

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

Public Member Functions

 XercesDOMParsedSource (const InputSource &theInputSource, bool fValidate=false, ErrorHandler *theErrorHandler=0, EntityResolver *theEntityResolver=0, XMLEntityResolver *theXMLEntityResolver=0, const XalanDOMChar *theExternalSchemaLocation=0, const XalanDOMChar *theExternalNoNamespaceSchemaLocation=0, MemoryManager &theManager XALAN_DEFAULT_MEMMGR)
virtual ~XercesDOMParsedSource ()
virtual XalanDocumentgetDocument () const
 Get a pointer to the XalanDocument instance for the source document.
virtual XalanParsedSourceHelpercreateHelper (MemoryManager &theManager) const
 Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance.
virtual const XalanDOMStringgetURI () const
 Get the URI for the parsed source, if any.
Public Member Functions inherited from xalanc::XalanParsedSource
 XalanParsedSource ()
virtual ~XalanParsedSource ()

Static Public Member Functions

static XercesDOMParsedSourcecreate (MemoryManager &theManager, const InputSource &theInputSource, bool fValidate=false, ErrorHandler *theErrorHandler=0, EntityResolver *theEntityResolver=0, XMLEntityResolver *theXMLEntityResolver=0, const XalanDOMChar *theExternalSchemaLocation=0, const XalanDOMChar *theExternalNoNamespaceSchemaLocation=0)

Detailed Description

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

Definition at line 74 of file XercesDOMParsedSource.hpp.

Constructor & Destructor Documentation

◆ XercesDOMParsedSource()

xalanc::XercesDOMParsedSource::XercesDOMParsedSource ( const InputSource & theInputSource,
bool fValidate = false,
ErrorHandler * theErrorHandler = 0,
EntityResolver * theEntityResolver = 0,
XMLEntityResolver * theXMLEntityResolver = 0,
const XalanDOMChar * theExternalSchemaLocation = 0,
const XalanDOMChar * theExternalNoNamespaceSchemaLocation = 0,
MemoryManager &theManager XALAN_DEFAULT_MEMMGR )

◆ ~XercesDOMParsedSource()

virtual xalanc::XercesDOMParsedSource::~XercesDOMParsedSource ( )
virtual

Member Function Documentation

◆ create()

XercesDOMParsedSource * xalanc::XercesDOMParsedSource::create ( MemoryManager & theManager,
const InputSource & theInputSource,
bool fValidate = false,
ErrorHandler * theErrorHandler = 0,
EntityResolver * theEntityResolver = 0,
XMLEntityResolver * theXMLEntityResolver = 0,
const XalanDOMChar * theExternalSchemaLocation = 0,
const XalanDOMChar * theExternalNoNamespaceSchemaLocation = 0 )
static

◆ createHelper()

virtual XalanParsedSourceHelper * xalanc::XercesDOMParsedSource::createHelper ( MemoryManager & theManager) const
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.

Implements xalanc::XalanParsedSource.

◆ getDocument()

virtual XalanDocument * xalanc::XercesDOMParsedSource::getDocument ( ) const
virtual

Get a pointer to the XalanDocument instance for the source document.

Returns
A pointer to a XalanDocument instance.

Implements xalanc::XalanParsedSource.

◆ getURI()

virtual const XalanDOMString & xalanc::XercesDOMParsedSource::getURI ( ) const
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

Implements xalanc::XalanParsedSource.


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