Skip Headers

Oracle® XML API Reference
10g Release 1 (10.1)
Part No. B10789-01
  Go To Table Of Contents
Contents

Previous Next  

DocumentTypeRef Interface

Table 15-13 summarizes the methods of available through DocumentTypeRef interface.

Table 15-13 Summary of DocumentTypeRef Methods; Dom Package

Function Summary
DocumentTypeRef
Constructor.
getEntities
Get DTD's entities.
getInternalSubset
Get DTD's internal subset.
getName
Get name of DTD.
getNotations
Get DTD's notations.
getPublicId
Get DTD's public ID.
getSystemId
Get DTD's system ID.
~DocumentTypeRef
Public default destructor.


DocumentTypeRef

This is a constructor.

Syntax Description
DocumentTypeRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Default constructor.
DocumentTypeRef(
   const DocumentTypeRef< Node>& node_ref);
Copy constructor.

Parameter Description
node_ref
reference to provide the context
nptr
referenced node


Returns

(DocumentTypeRef) Node reference object


getEntities

Returns a named node map of general entities defined by the DTD.


Syntax
NamedNodeMap< Node>* getEntities() const;


Returns

(NamedNodeMap< Node>*) map containing entities


getInternalSubset

Returns the content model for an element. If there is no DTD, returns NULL.


Syntax
Node* getInternalSubset( 
   oratext* name);

Parameter Description
name
name of element


Returns

(xmlnode*) content model subtree


getName

Returns DTD's name (specified immediately after the DOCTYPE keyword)


Syntax
oratext* getName() const;


Returns

(oratext*) name of DTD


getNotations

Returns a named node map of notations declared by the DTD.


Syntax
NamedNodeMap< Node>* getNotations() const;


Returns

(NamedNodeMap< Node>*) map containing notations


getPublicId

Returns DTD's public identifier


Syntax
oratext* getPublicId() const;


Returns

(oratext*) DTD's public identifier


getSystemId

Returns DTD's system identifier


Syntax
oratext* getSystemId() const;


Returns

(oratext*) DTD's system identifier


~DocumentTypeRef

This is the default destructor.


Syntax
~DocumentTypeRef();