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

This is class is designed to allow a XalanTranfomer object to use a document that is build dynamically by a user. More...

#include <xalanc/XalanTransformer/XalanDefaultDocumentBuilder.hpp>

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

Public Member Functions

 XalanDefaultDocumentBuilder (MemoryManager &theManager, const XalanDOMString &theURI)
 Create a XalanDefaultDocumentBuilder instance,. More...
 
virtual ~XalanDefaultDocumentBuilder ()
 
virtual XalanDocumentgetDocument () const
 Get a pointer to the XalanDocument instance for the source document. More...
 
virtual XalanParsedSourceHelpercreateHelper (MemoryManager &theManager) const
 Create the appropriate XalanParsedSourceHelper instance to use for transforming with the instance. More...
 
virtual const XalanDOMStringgetURI () const
 Get the URI for the parsed source, if any. More...
 
virtual ContentHandlerTypegetContentHandler ()
 
virtual DTDHandlerTypegetDTDHandler ()
 
virtual LexicalHandlerTypegetLexicalHandler ()
 
- Public Member Functions inherited from xalanc::XalanDocumentBuilder
virtual ~XalanDocumentBuilder ()
 
virtual XalanParsedSourceHelpercreateHelper (MemoryManager &theManager XALAN_DEFAULT_CONSTRUCTOR_MEMMGR) const =0
 
- Public Member Functions inherited from xalanc::XalanParsedSource
 XalanParsedSource ()
 
virtual ~XalanParsedSource ()
 

Static Public Member Functions

static XalanDefaultDocumentBuildercreate (MemoryManager &theManager, const XalanDOMString &theURI)
 

Detailed Description

This is class is designed to allow a XalanTranfomer object to use a document that is build dynamically by a user.

Definition at line 46 of file XalanDefaultDocumentBuilder.hpp.

Constructor & Destructor Documentation

◆ XalanDefaultDocumentBuilder()

xalanc::XalanDefaultDocumentBuilder::XalanDefaultDocumentBuilder ( MemoryManager &  theManager,
const XalanDOMString theURI 
)

Create a XalanDefaultDocumentBuilder instance,.

Parameters
theURIAn optional string to identify the document.

◆ ~XalanDefaultDocumentBuilder()

virtual xalanc::XalanDefaultDocumentBuilder::~XalanDefaultDocumentBuilder ( )
virtual

Member Function Documentation

◆ create()

static XalanDefaultDocumentBuilder* xalanc::XalanDefaultDocumentBuilder::create ( MemoryManager &  theManager,
const XalanDOMString theURI 
)
static

◆ createHelper()

virtual XalanParsedSourceHelper* xalanc::XalanDefaultDocumentBuilder::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.

◆ getContentHandler()

virtual ContentHandlerType* xalanc::XalanDefaultDocumentBuilder::getContentHandler ( )
virtual

◆ getDocument()

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

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

Returns
A pointer to a XalanDocument instance.

Implements xalanc::XalanDocumentBuilder.

◆ getDTDHandler()

virtual DTDHandlerType* xalanc::XalanDefaultDocumentBuilder::getDTDHandler ( )
virtual

◆ getLexicalHandler()

virtual LexicalHandlerType* xalanc::XalanDefaultDocumentBuilder::getLexicalHandler ( )
virtual

◆ getURI()

virtual const XalanDOMString& xalanc::XalanDefaultDocumentBuilder::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::XalanDocumentBuilder.


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