Oracle® XML API Reference
10g Release 1 (10.1) Part No. B10789-01 |
|
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. |
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 |
(DocumentTypeRef)
Node
reference object
Returns a named node map of general entities defined by the DTD.
NamedNodeMap< Node>* getEntities() const;
(NamedNodeMap< Node>*)
map containing entities
Returns the content model for an element. If there is no DTD, returns NULL
.
Node* getInternalSubset( oratext* name);
Parameter | Description |
---|---|
name |
name of element |
(xmlnode*)
content model subtree
Returns DTD's name (specified immediately after the DOCTYPE
keyword)
oratext* getName() const;
(oratext*)
name of DTD
Returns a named node map of notations declared by the DTD.
NamedNodeMap< Node>* getNotations() const;
(NamedNodeMap< Node>*)
map containing notations
Returns DTD's public identifier
oratext* getPublicId() const;
(oratext*)
DTD's public identifier
Returns DTD's system identifier
oratext* getSystemId() const;
(oratext*)
DTD's system identifier
This is the default destructor.
~DocumentTypeRef();