Oracle® Database XML C++ API Reference 11g Release 1 (11.1) Part Number B28389-01 |
|
|
View PDF |
Table 2-13 summarizes the methods available through DocumentTypeRef interface.
Table 2-13 Summary of DocumentTypeRef Methods; Dom Package
Function | Summary |
---|---|
|
Constructor. |
|
Get DTD's entities. |
|
Get DTD's internal subset. |
|
Get name of DTD. |
|
Get DTD's notations. |
|
Get DTD's public ID. |
|
Get DTD's system ID. |
|
Public default destructor. |
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
Returns a named node map of general entities defined by the DTD.
Syntax
NamedNodeMap< Node>* getEntities() const;
Returns
(NamedNodeMap< Node>*)
map containing entities
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
Returns DTD's name (specified immediately after the DOCTYPE
keyword)
Syntax
oratext* getName() const;
Returns
(oratext*)
name of DTD
Returns a named node map of notations declared by the DTD.
Syntax
NamedNodeMap< Node>* getNotations() const;
Returns
(NamedNodeMap< Node>*)
map containing notations
Returns DTD's public identifier
Syntax
oratext* getPublicId() const;
Returns
(oratext*)
DTD's public identifier
Returns DTD's system identifier
Syntax
oratext* getSystemId() const;
Returns
(oratext*)
DTD's system identifier
This is the default destructor.
Syntax
~DocumentTypeRef();