| Oracle® Database XML C++ API Reference 11g Release 1 (11.1) Part Number B28389-01 |
|
|
View PDF |
Table 2-15 summarizes the methods available through EntityRef interface.
Table 2-15 Summary of EntityRef Methods; Dom Package
| Function | Summary |
|---|---|
|
|
Constructor. |
|
|
Get entity's notation. |
|
|
Get entity's public ID. |
|
|
Get entity's system ID. |
|
|
Get entity's type. |
|
|
Public default destructor. |
Class constructor.
| Syntax | Description |
|---|---|
EntityRef( const NodeRef< Node>& node_ref, Node* nptr); |
Used to create references to a given entity node after a call to create Entity. |
EntityRef( const EntityRef< Node>& nref); |
Copy constructor. |
| Parameter | Description |
|---|---|
node_ref |
reference to provide the context |
nptr |
referenced node |
Returns
(EntityRef) Node reference object
For unparsed entities, returns the name of its notation (in the data encoding). For parsed entities and other node types, returns NULL.
Syntax
oratext* getNotationName() const;
Returns
(oratext*) entity's notation
Returns an entity's public identifier (in the data encoding).
Syntax
oratext* getPublicId() const;
Returns
(oratext*) entity's public identifier
Returns an entity's system identifier (in the data encoding).
Syntax
oratext* getSystemId() const;
Returns
(oratext*) entity's system identifier
Returns a boolean for an entity describing whether it is general (TRUE) or parameter (FALSE).
Syntax
boolean getType() const;
Returns
(boolean) TRUE for general entity, FALSE for parameter entity
This is the default destructor.
Syntax
~EntityRef();