PK X*Aoa,mimetypeapplication/epub+zipPKX*AiTunesMetadata.plistK artistName Oracle Corporation book-info cover-image-hash 224677527 cover-image-path OEBPS/dcommon/oracle-logo.jpg package-file-hash 462039466 publisher-unique-id E10771-01 unique-id 390365814 genre Oracle Documentation itemName Oracle® Database XML C++ API Reference, 11g Release 2 (11.2) releaseDate 2009-07-26T15:59:55Z year 2009 PKBPKPKX*AMETA-INF/container.xml PKYuPKX*AOEBPS/cover.htmO Cover

Oracle Corporation

PK[pTOPKX*AOEBPS/title.htm Oracle Database XML C++ API Reference, 11g Release 2 (11.2)

Oracle® Database

XML C++ API Reference

11g Release 2 (11.2)

E10771-01

July 2009


Oracle Database XML C++ API Reference, 11g Release 2 (11.2)

E10771-01

Copyright © 2001, 2009, Oracle and/or its affiliates. All rights reserved.

Primary Author:  Roza Leyderman

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

If this software or related documentation is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle USA, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

This software is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications which may create a risk of personal injury. If you use this software in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure the safe use of this software. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software in dangerous applications.

Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

This software and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

PKgPKX*AOEBPS/preface.htmw Preface

Preface

This reference describes Oracle XML Developer's Kits (XDK) and Oracle XML DB APIs for the C programming language. It primarily lists the syntax of functions, methods, and procedures associated with these APIs.

Audience

This guide is intended for developers building XML applications in Oracle.

To use this document, you need a basic understanding of object-oriented programming concepts, familiarity with Structured Query Language (SQL), and working knowledge of application development using the C programming language.

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible to all users, including users that are disabled. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Accessibility standards will continue to evolve over time, and Oracle is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For more information, visit the Oracle Accessibility Program Web site at http://www.oracle.com/accessibility/.

Accessibility of Code Examples in Documentation

Screen readers may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, some screen readers may not always read a line of text that consists solely of a bracket or brace.

Accessibility of Links to External Web Sites in Documentation

This documentation may contain links to Web sites of other companies or organizations that Oracle does not own or control. Oracle neither evaluates nor makes any representations regarding the accessibility of these Web sites.

Deaf/Hard of Hearing Access to Oracle Support Services

To reach Oracle Support Services, use a telecommunications relay service (TRS) to call Oracle Support at 1.800.223.1711. An Oracle Support Services engineer will handle technical issues and provide customer support according to the Oracle service request process. Information about TRS is available at http://www.fcc.gov/cgb/consumerfacts/trs.html, and a list of phone numbers is available at http://www.fcc.gov/cgb/dro/trsphonebk.html.

Related Documents

For more information, see the following documents in the Oracle Database the 11g Release 2 (11.2) documentation set:

Conventions

The following text conventions are used in this document:

ConventionMeaning
boldfaceBoldface type indicates graphical user interface elements associated with an action, or terms defined in text or the glossary.
italicItalic type indicates book titles, emphasis, or placeholder variables for which you supply particular values.
monospaceMonospace type indicates commands within a paragraph, URLs, code in examples, text that appears on the screen, or text that you enter.

PKaV|wPKX*AOEBPS/index.htm Index

Index

A  C  D  E  F  G  H  I  L  M  N  O  P  R  S  T  U  W  X 

Symbols

~AttrRef(), 2
~CDATASectionRef(), 2
~CommentRef(), 2
~ConnectRef(), 6
~DocumentFragmentRef(), 2
~DocumentRange(), 2
~DocumentRef(), 2
~DocumentTypeRef(), 2
~DOMImplementation(), 2
~DOMImplRef(), 2
~ElementRef(), 2
~EntityRef(), 2
~EntityReferenceRef(), 2
~Factory(), 7
~MemAllocator(), 1
~MsgFactory(), 6
~NamedNodeMapRef(), 2
~NodeListRef(), 2
~NodeRef(), 2
~NotationRef(), 2
~ProcessingInstructionRef(), 2
~TCtx(), 1
~TextRef(), 2

A

acceptNode(), 2
AcceptNodeCodes datatype, DOM package, 2
addBodyElement(), 6
addFaultReason(), 6
addHeaderElement(), 6
adjustCtx(), 2, 2
alloc(), 1
appendChild(), 2, 2
appendData(), 2
attributeDecl(), 5
AttrRef Interface
~AttrRef(), 2
AttrRef(), 2
Dom package, 2
getName(), 2
getSpecified(), 2
getValue(), 2
setValue(), 2
AttrRef(), 2

C

C++ packages
Ctx, 1
Dom, 2
IO, 3
OracleXml, 4
Parser, 5, 5
SOAP, 6
Tools, 7
XPath, 8
XPointer, 9
Xsl, 10
call(), 6
CDATA(), 5
CDATASectionRef Interface
~CDATASectionRef(), 2
CDATASectionRef(), 2
Dom package, 2
CDATASectionRef(), 2
CharacterDataRef Interface
appendData(), 2
deleteData(), 2
Dom package, 2
freeString(), 2
getData(), 2
getLength(), 2
insertData(), 2
replaceData(), 2
setData(), 2
substringData(), 2
characters(), 5
cloneContent(), 2
cloneNode(), 2, 2
cloneRange(), 2
comment(), 5
CommentRef Interface
~CommentRef(), 2
CommentRef(), 2
Dom package, 2
CommentRef(), 2
CompareBoundaryPoints(), 2
CompareHowCode datatype, DOM package, 2
compile(), 8, 10
Compiler Interface
compile(), 8, 10
getCompilerId(), 8, 10
getLength(), 10
getTransformerId(), 10
setBinXsl(), 10
setSAXHandler(), 10
setXSL(), 10
transform(), 10
XPath package, 8
Compiler interface
Xsl package, 10
CompProcessor Interface
getProcessorId(), 8
process(), 8
processWithBinXPath(), 8
XPath package, 8
CompTransformer Interface
Xsl package, 10
ConnectRef Interface
~ConnectRef(), 6
call(), 6
SOAP package, 6
createAttribute(), 2
createAttributeNS(), 2
createCDATASection(), 2
createComment(), 2
createConnection(), 6
createDocument(), 2
createDocumentFragment(), 2
createDocumentType(), 2
createDOMParser(), 7
createElement(), 2
createElementNS(), 2
createEntityReference(), 2
createMessage(), 6
createNodeIterator(), 2
createProcessingInstruction(), 2
createRange(), 2
createSAXParser(), 7
createSchemaValidator(), 7
createTextNode(), 2
createTreeWalker(), 2
createXPathCompiler(), 7
createXPathCompProcessor(), 7
createXPathProcessor(), 7
createXPointerProcessor(), 7
createXslCompiler(), 7
createXslExtendedTransformer(), 7
createXslTransformer(), 7
Ctx Datatypes, 1, 1
encoding, 1
encodings, 1
Ctx package for C++, 1

D

dealloc(), 1
deleteContents(), 2
deleteData(), 2
destroyMessage(), 6
destroyRange(), 2
detach(), 2, 2
DocumentFragmentRef Interface
~DocumentFragmentRef(), 2
DocumentFragmentRef(), 2
Dom package, 2
DocumentFragmentRef(), 2
DocumentRange Interface
~DocumentRange(), 2
createRange(), 2
destroyRange(), 2
DocumentRange(), 2
Dom package, 2
DocumentRange(), 2
DocumentRef Interface
~DocumentRef(), 2
createAttribute(), 2
createAttributeNS(), 2
createCDATASection(), 2
createComment(), 2
createDocumentFragment(), 2
createElement(), 2
createElementNS(), 2
createEntityReference(), 2
createProcessingInstruction(), 2
createTextNode(), 2
DocumentRef(), 2
Dom package, 2
getDoctype(), 2
getDocumentElement(), 2
getElementById(), 2
getElementsByTagNameNS(), 2
getImplementation(), 2
importNode(), 2
DocumentRef(), 2
DocumentTraversal Interface
~DocumentTraversal(), 2
createNodeIterator(), 2
createTreeWalker(), 2
destroyNodeIterator(), 2
destroyTreeWalker(), 2
DocumentTraversal(), 2
Dom package, 2
DocumentTraversal(), 2
DocumentTypeRef Interface
~DocumentTypeRef(), 2
DocumentTypeRef(), 2
Dom package, 2
getEntities(), 2
getInternalSubset(), 2
getName(), 2
getNotations(), 2
getPublicId(), 2
getSystemId(), 2
DocumentTypeRef(), 2
Dom Datatypes
AcceptNodeCodes, 2
CompareHowCode, 2
DOMExceptionCode, 2
DOMNodeType, 2
RangeExceptionCode, 2
WhatToShowCode, 2
Dom package
using, 2
Dom package for C++, 2
DOMException Interface
Dom package, 2
getDOMCode(), 2
getMesLang(), 2
getMessage(), 2
DOMExceptionCode datatype, DOM package, 2
DOMImplementation Interface
~DOMImplementation(), 2
Dom package, 2
DOMImplementation(), 2
getNoMod(), 2
DOMImplementation(), 2
DOMImplRef Interface
~DOMImplRef(), 2
createDocument(), 2
createDocumentType(), 2
Dom package, 2
DOMImplRef(), 2
formDocument(), 2
getImplementation(), 2
getNoMod(), 2
hasFeature(), 2
setContext(), 2
DOMImplRef(), 2
DOMNodeType datatype, DOM package, 2
DOMParser Interface
Parser package, 5
DomParser Interface
getContext(), 5
getParserId(), 5
parse(), 5
parseDTD(), 5
parseSchVal(), 5
setValidator(), 5
DOMParserIdType datatype, Parser package, 5

E

elementDecl(), 5
ElementRef Interface
~ElementRef(), 2
Dom package, 2
ElementRef(), 2
getAttributeNode(), 2
getAttributeNS(), 2
getElementsByTagName(), 2
getTagName(), 2
hasAttribute(), 2
hasAttributeNS(), 2
removeAttribute(), 2
removeAttributeNode(), 2
removeAttributeNS(), 2
setAttribute(), 2
setAttributeNode(), 2
setAttributeNS(), 2
ElementRef(), 2
encoding datatype, Ctx package, 1
encodings datatype, Ctx package, 1
endDocument(), 5
endElement(), 5
EntityRef Interface
~EntityRef(), 2
Dom package, 2
EntityRef(), 2
getNotationName(), 2
getPublicId(), 2
getSystemId(), 2
getType(), 2
EntityRef(), 2
EntityReferenceRef Interface
~EntityReferenceRef(), 2
Dom package, 2
EntityReferenceRef(), 2
EntityReferenceRef(), 2
extractContent(), 2

F

Factory Interface
~Factory(), 7
createDOMParser(), 7
createSAXParser(), 7
createSchemaValidator(), 7
createXPathCompiler(), 7
createXPathCompProcessor(), 7
createXPathProcessor(), 7
createXPointerProcessor(), 7
createXslCompiler(), 7
createXslExtendedTransformer(), 7
createXslTransformer(), 7
Factory(), 7
getContext(), 7
Tools package, 7
Factory(), 7
FactoryException Interface
getCode(), 7
getFactoryCode(), 7
getMesLang(), 7
getMessage(), 7
Tools package, 7
FactoryExceptionCode datatype, Tools package, 7
firstChild(), 2
formDocument(), 2
freeString(), 2

G

getAttribute(), 2
getAttributeNode(), 2
getAttributeNS(), 2
getAttributes(), 2, 2
getBaseURI(), 3, 5
getBody(), 6
getBodyElement(), 6
getChildNodes(), 2
getCode(), 2, 4, 5, 6, 7, 8, 9, 10
getCollapsed(), 2
getCommonAncestorContainer(), 2
getCompilerId(), 8, 10
getContext(), 5, 5, 7
getData(), 2, 2
getDiscardWhitespaces(), 5
getDoctype(), 2
getDocumentElement(), 2
getDOMCode(), 2
getElementById(), 2
getElementsByTagName(), 2, 2
getElementsByTagNameNS(), 2
getEncoding(), 1
getEndContainer(), 2
getEndOffset(), 2
getEntities(), 2
getEnvelope(), 6
getErrHandler(), 1
getExpandCharRefs(), 5
getFactoryCode(), 7
getFault(), 6
getFirstChild(), 2
getHeader(), 6
getHeaderElement(), 6
getImplementation(), 2, 2
getInternalSubset(), 2
getISrcType(), 3
getItem(), 9
getLastChild(), 2
getLength(), 2, 2, 2, 10
getLocalName(), 2
getLocType(), 9
getMemAllocator(), 1
getMesLang(), 2, 2, 4, 5, 6, 7, 8, 9, 10
getMessage(), 2, 2, 4, 5, 7, 8, 9, 10
getMustUnderstand(), 6
getName(), 2, 2
getNamedItem(), 2
getNamedItemNS(), 2
getNamespaceURI(), 2
getNextSibling(), 2
getNode(), 8, 9
getNodeName(), 2
getNodeSet(), 8
getNodeType(), 2
getNodeValue(), 2
getNoMod(), 2, 2, 2
getNotationName(), 2
getNotations(), 2
getObjBoolean(), 8
getObjNumber(), 8
getObjString(), 8
getObjType(), 8
getOwnerDocument(), 2
getOwnerElement(), 2
getParentNode(), 2
getParserCode(), 5
getParserId(), 5, 5
getPrefix(), 2
getPreviousSibling(), 2
getProcessorId(), 8, 8, 9
getPublicId(), 2, 2, 2
getRange(), 9
getRangeCode(), 2
getReasonLang(), 6
getReasonNum(), 6
getRole(), 6
getSchemaList(), 5
getSchemaLocation(), 5
getSize(), 8, 9
getSoapCode(), 6
getSpecified(), 2
getStartContainer(), 2
getStartOffset(), 2
getStopOnWarning(), 5
getSystemId(), 2, 2, 2
getTagName(), 2
getTarget(), 2
getTransformerId(), 10, 10
getType(), 2
getValidatorId(), 5
getValue(), 2
getWarnDuplicateEntity(), 5
getXPathCode(), 28
getXppCode(), 9
getXslCode(), 10
GParser Interface
getBaseURI(), 5
getDiscardWhitespaces(), 5
getExpandCharRefs(), 5
getSchemaLocation(), 5
getStopOnWarning(), 5
getWarnDuplicateEntity(), 5
Parser package, 5
setBaseURI(), 5
setDiscardWhitespaces(), 5
setExpandCharRefs(), 5
setSchemaLocation(), 5
setStopOnWarning(), 5
SetWarnDuplicateEntity(), 5

H

hasAttribute(), 2
hasAttributeNS(), 2
hasAttributes(), 2
hasChildNodes(), 2
hasFault(), 6
hasFeature(), 2

I

importNode(), 2
InputSource Interface
getBaseURI(), 3
getISrcType(), 3
IO package, 3
setBaseURI(), 3
InputSourceType datatype, IO package, 3
insertBefore(), 2
insertData(), 2
insertNode(), 2
IO Datatypes, 3
InputSourceType, 3
IO package for C++, 3
isSimple(), 1
isSupported(), 2
isUnicode(), 1
item(), 2, 2

L

lastChild(), 2
loadSchema(), 5

M

markToDelete(), 2
MemAllocator Interface
~MemAllocator(), 1
alloc(), 1
Ctx package, 1
dealloc(), 1
MsgFactory Interface
~MsgFactory(), 6
addBodyElement(), 6
addFaultReason(), 6
addHeaderElement(), 6
createConnection(), 6
createMessage(), 6
destroyMessage(), 6
getBody(), 6
getBodyElement(), 6
getEnvelope(), 6
getFault(), 6
getHeader(), 6
getHeaderElement(), 6
getMustUnderstand(), 6
getReasonLang(), 6
getReasonNum(), 6
getRole(), 6
hasFault(), 6
MsgFactory(), 6
setFault(), 6
setMustUnderstand(), 6
setRole(), 6
SOAP package, 6
MsgFactory(), 6

N

NamedNodeMapRef Interface
~NamedNodeMapRef(), 2
Dom package, 2
getLength(), 2
getNamedItem(), 2
getNamedItemNS(), 2
item(), 2
NamedNodeMapRef(), 2
removeNamedItem(), 2
removeNamedItemNS(), 2
setNamedItem(), 2
setNamedItemNS(), 2
NamedNodeMapRef(), 2
nextNode(), 2, 2
nextSibling(), 2
NodeFilter Interface
acceptNode(), 2
Dom package, 2
NodeIterator Interface
adjustCtx(), 2
detach(), 2
Dom package, 2
nextNode(), 2
previousNode(), 2
NodeListRef Interface
~NodeListRef(), 2
Dom package, 2
getLength(), 2
item(), 2
NodeListRef(), 2
NodeListRef(), 2
NodeRef Interface
~NodeRef(), 2
appendChild(), 2
cloneNode(), 2
Dom package, 2
getAttributes(), 2
getChildNodes(), 2
getFirstChild(), 2
getLastChild(), 2
getNamespaceURI(), 2
getNextSibling(), 2
getNodeName(), 2
getNodeType(), 2
getNodeValue(), 2
getNoMod(), 2
getOwnerDocument(), 2
getParentNode(), 2
getPrefix(), 2
getPreviousSibling(), 2
hasAttributes(), 2
hasChildNodes(), 2
insertBefore(), 2
isSupported(), 2
markToDelete(), 2
NodeRef(), 2
normalize(), 2
removeChild(), 2
replaceChild(), 2
resetNode(), 2
setNodeValue(), 2
setPrefix(), 2
NodeRef(), 2
NodeSet Interface
getNode(), 8
getSize(), 8
XPath package, 8
normalize(), 2
notationDecl(), 5
NotationRef Interface
~NotationRef(), 2
Dom package, 2
getPublicId(), 2
getSystemId(), 2
NotationRef(), 2
NotationRef(), 2

O

OracleXml package for C++, 4

P

packages
Ctx for C++, 1
Dom for C++, 2
IO for C++, 3
OracleXml for C++, 4
Parser for C++, 5
SOAP for C++, 6
Tools for C++, 7
XPath for C++, 8
XPointer for C++, 9
Xsl for C++, 10
parentNode(), 2
parse(), 5, 5
parsedEntityDecl(), 5
parseDTD(), 5, 5
Parser Datatypes, 5
DOMParserIdType, 5
ParserExceptionCode, 5
SAXParserIdType, 5
SchValidatorIdType, 5
Parser package for C++, 5
ParserException Interface
getCode(), 5
getMesLang(), 5
getMessage(), 5
getParserCode(), 5
Parser package, 5
ParserExceptionCode datatype, Parser package, 5
parseSchVal(), 5
previousNode(), 2, 2
previousSibling(), 2
process(), 8, 8, 9
processingInstruction(), 5
ProcessingInstructionRef Interface
~ProcessingInstructionRef(), 2
Dom package, 2
getData(), 2
getTarget(), 2
ProcessingInstructionRef(), 2
setData(), 2
ProcessingInstructionRef(), 2
Processor Interface
getProcessorId(), 8, 9
process(), 8, 9
XPath package, 8
XPointer package, 9
processWithBinXPath(), 8

R

Range Interface
cloneContent(), 2
cloneRange(), 2
CompareBoundaryPoints(), 2
deleteContents(), 2
detach(), 2
Dom package, 2
extractContent(), 2
getCollapsed(), 2
getCommonAncestorContainer(), 2
getEndContainer(), 2
getEndOffset(), 2
getStartContainer(), 2
getStartOffset(), 2
insertNode(), 2
selectNode(), 2
selectNodeContent(), 2
setEnd(), 2
setEndAfter(), 2
setEndBefore(), 2
setStart(), 2
setStartAfter(), 2
setStartBefore(), 2
surroundContents(), 2
toString(), 2
RangeException Interface
Dom package, 2
getCode(), 2
getMesLang(), 2
getMessage(), 2
getRangeCode(), 2
RangeExceptionCode datatype, DOM package, 2
removeAttribute(), 2
removeAttributeNode(), 2
removeAttributeNS(), 2
removeChild(), 2
removeNamedItem(), 2
removeNamedItemNS(), 2
replaceChild(), 2
replaceData(), 2
resetNode(), 2

S

SAXHandler Interface
attributeDecl(), 5
CDATA(), 5
characters(), 5
comment(), 5
elementDecl(), 5
endDocument(), 5
endElement(), 5
notationDecl(), 5
parsedEntityDecl(), 5
Parser package, 5
processingInstruction(), 5
startDocument(), 5
startElement(), 5
startElementNS(), 5
unparsedEntityDecl(), 5
whitespace(), 5
XMLDecl(), 5
SAXParser Interface
getContext(), 5
getParserId(), 5
parse(), 5
parseDTD(), 5
Parser package, 5
setSAXHandler(), 5
SAXParserIdType datatype, Parser package, 5
SchemaValidator Interface
getSchemaList(), 5
getValidatorId(), 5
loadSchema(), 5
Parser package, 5
unloadSchema(), 5
SchValidatorIdType datatype, Parser package, 5
selectNode(), 2
selectNodeContent(), 2
setAttribute(), 2
setAttributeNode(), 2
setAttributeNS(), 2
setBaseURI(), 3, 5
setBinXsl(), 10
setContext(), 2
setData(), 2, 2
setDiscardWhitespaces(), 5
setEnd(), 2
setEndAfter(), 2
setEndBefore(), 2
setExpandCharRefs(), 5
setFault(), 6
setMustUnderstand(), 6
setNamedItem(), 2
setNamedItemNS(), 2
setNodeValue(), 2
setPrefix(), 2
setRole(), 6
setSAXHandler(), 5, 10, 10
setSchemaLocation(), 5
setStart(), 2
setStartAfter(), 2
setStartBefore(), 2
setStopOnWarning(), 5
setValidator(), 5
setValue(), 2
SetWarnDuplicateEntity(), 5
setXSL(), 10, 10
SOAP Datatypes, 6
SoapBinding, 6
SoapExceptionCode, 6
SoapRole, 6
SOAP package for C++, 6
SoapBinding datatype, SOAP package, 6
SoapException Interface
getCode(), 6
getMesLang(), 6
getMessage(), 6
getSoapCode(), 6
SOAP package, 6
SoapExceptionCode datatype, SOAP package, 6
SoapRole datatype, SOAP package, 6
splitText(), 2
startDocument(), 5
startElement(), 5
startElementNS(), 5
substringData(), 2
surroundContents(), 2

T

TCtx Interface
~TCtx(), 1
Ctx package, 1
getEncoding(), 1
getErrHandler(), 1
getMemAllocator(), 1
isSimple(), 1
isUnicode(), 1
TCtx(), 1
TCtx(), 1
TextRef Interface
~TextRef(), 2
Dom package, 2
splitText(), 2
TextRef(), 2
TextRef(), 2
Tools Datatypes, 7
FactoryExceptionCode, 7
Tools package for C++, 7
toString(), 2
transform(), 10, 10
Transformer Interface
getTransformerId(), 10
setSAXHandler(), 10
setXSL(), 10
transform(), 10
XSL package, 10
TreeWalker Interface
adjustCtx(), 2
Dom package, 2
firstChild(), 2
lastChild(), 2
nextNode(), 2
nextSibling(), 2
parentNode(), 2
previousNode(), 2
previousSibling(), 2

U

unloadSchema(), 5
unparsedEntityDecl(), 5

W

WhatToShowCode datatype, DOM package, 2
whitespace(), 5

X

XMLDecl(), 5
XmlException Interface
getCode(), 4
getMesLang(), 4
getMessage(), 4
OracleXml package, 4
XPath Datatypes, 8
XPathCompIdType, 8
XPathExceptionCode, 8
XPathObjType, 8
XPathPrIdType, 8
XPath package for C++, 8
XPathCompIdType datatype, XPath package, 8
XPathException Interface
getCode(), 8
getMesLang(), 8
getMessage(), 8
getXPathCode(), 8
XPath package, 8
XPathExceptionCode datatype, XPath package, 8
XPathObject Interface
getNodeSet(), 8
getObjBoolean(), 8
getObjNumber(), 8
getObjString(), 8
getObjType(), 8
XPath package, 8
XPathObject(), 8
XPathObject(), 8
XPathObjType datatype, XPath package, 8
XPathPrIdType datatype, XPath package, 8
XPointer Datatypes, 9
XppExceptionCode, 9
XppLocType, 9
XppPrIdType, 9
XPointer package for C++, 9
XppException Interface
getCode(), 9
getMesLang(), 9
getMessage(), 9
getXppCode(), 9
XPointer package, 9
XppExceptionCode datatype, XPointer package, 9
XppLocation Interface
getLocType(), 9
getNode(), 9
getRange(), 9
XPointer package, 9
XppLocSet Interface
getItem(), 9
getSize(), 9
XPointer package, 9
XppLocType datatype, XPointer package, 9
XppPrIdType datatype, XPointer package, 9
Xsl Datatypes, 10
XslCompIdType, 10
XslTrIdType, 10
Xsl package for C++, 10
XslCompIdType datatype, Xsl package, 10
XSLException Interface
Xsl package, 10
XslExceptionCode datatype, Xsl package, 10
XslTrIdType datatype, Xsl package, 10
PK =PKX*AOEBPS/xpath.htm9}Ƃ Package XPath APIs for C++

8 Package XPath APIs for C++

XPath package contains XPath processing related types and interfaces.

This chapter contains the following sections:


XPath Datatypes

Table 8-1 summarizes the datatypes of the XPath package.

Table 8-1 Summary of Datatypes; XPath Package

DatatypeDescription

XPathCompIdType


Defines XPath compiler identifiers.

XPathObjType


Defines object types for XPath 1.0 based implementations.

XPathExceptionCode


XPath related exception codes.

XPathPrIdType


Defines XPath processor identifiers.



XPathCompIdType

Defines XPath compiler identifiers.

Definition

typedef enum XPathCompIdType {
   XvmXPathCompCXml = 1 
} XPathCompIdType;

XPathObjType

Defines object types for XPath 1.0 based implementations.

Definition

typedef enum XPathObjType {
   XPOBJ_TYPE_UNKNOWN = 0,
   XPOBJ_TYPE_NDSET   = 1,
   XPOBJ_TYPE_BOOL    = 2,
   XPOBJ_TYPE_NUM     = 3,
   XPOBJ_TYPE_STR     = 4
} XPathObjType;
 

XPathExceptionCode

XPath related exception codes.

Definition

typedef enum XPathExceptionCode {
   XPATH_UNDEFINED_ERR = 0,
   XPATH_OTHER_ERR = 1 
} XPathExceptionCode;

XPathPrIdType

Defines XPath processor identifiers.

Definition

typedef enum XPathPrIdType {      XPathPrCXml       = 1,      XvmPrCXml         = 2    } XPathPrIdType;

CompProcessor Interface

Table 8-2 summarizes the methods available through the CompProcessor interface.

Table 8-2 Summary of CompProcessor Methods; XPath Package

FunctionSummary

getProcessorId()


Get processor's Id.

process()


Evaluate XPath expression against given document.

processWithBinXPath()


Evaluate compiled XPath expression against given document.



getProcessorId()

Get processor Id.

Syntax

virtual XPathPrIdType getProcessorId() const = 0;

Returns

(XPathPrIdType) Processor's Id


process()

Inherited from Processor.

Syntax

virtual XPathObject< Node>* process (
   InputSource* isrc_ptr,
   oratext* xpath_exp)
throw (XPathException) = 0;
ParameterDescription
isrc_ptr
instance document to process
xpath_exp
XPATH expression

Returns

(XPathGenObject*) XPath object


processWithBinXPath()

Evaluates compiled XPath expression against given document.

Syntax

virtual XPathObject< Node>* processWithBinXPath (
   InputSource* isrc_ptr, 
   ub2* bin_xpath)
throw (XPathException) = 0;
ParameterDescription
isrc_ptr
instance document to process
bin_xpath
compiled XPATH expression

Returns

(XPathGenObject*) XPath object


Compiler Interface

Table 8-3 summarizes the methods available through the Compiler interface.

Table 8-3 Summary of Compiler Methods; XPath Package

FunctionSummary

compile()


Compile XPath and return its compiled binary representation.

getCompilerId()


Get the compiler's Id



compile()

Compiles XPath and returns its compiled binary representation.

Syntax

virtual ub2* compile (
   oratext* xpath_exp)
throw (XPathException) = 0;
ParameterDescription
xpath_exp
XPATH expression

Returns

(ub2) XPath expression in compiled binary representation


getCompilerId()

Get compiler's id.

Syntax

virtual XPathCompIdType getCompilerId() const = 0;

Returns

(XPathCompIdType) Compiler's Id


NodeSet Interface

Table 8-4 summarizes the methods available through the NodeSet interface.

Table 8-4 Summary of NodeSet Methods; XPath Package

FunctionSummary

getNode()


Get node given its index.

getSize()


Get NodeSet size.



getNode()

Returns a reference to the node.

Syntax

NodeRef< Node>* getNode(
   ub4 idx) const;
ParameterDescription
idx
index of the node in the set

Returns

(NodeRef) reference to the node


getSize()

The size of the node set.

Syntax

ub4 getSize() const;

Returns

(ub4) node set size


Processor Interface

Table 8-5 summarizes the methods available through the Processor interface.

Table 8-5 Summary of Processor Methods; XPath Package

FunctionSummary

getProcessorId()


Get processor's Id.

process()


Evaluate XPath expression against given document.



getProcessorId()

Get processor Id.

Syntax

virtual XPathPrIdType getProcessorId() const = 0;

Returns

(XPathPrIdType) Processor's Id


process()

Evaluates XPath expression against given document and returns result XPath object.

Syntax

virtual XPathObject< Node>* process (
   InputSource* isrc_ptr,
   oratext* xpath_exp)
throw (XPathException) = 0;
ParameterDescription
isrc_ptr
instance document to process
xpath_exp
XPath expression

Returns

(XPathGenObject*) XPath object


XPathException Interface

Table 8-6 summarizes the methods available through the XPathException interface.

Table 8-6 Summary of XPathException Methods; XPath Package

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.

getXPathCode()


Get XPath exception code embedded in the exception.



getCode()

Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getXPathCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning XPath processor and compiler exception codes, defined in XPathExceptionCode, of the exceptional situations during execution.

Syntax

virtual XPathExceptionCode getXPathCode() const = 0;

Returns

(XPathExceptionCode) exception code


XPathObject Interface

Table 8-7 summarizes the methods available through the XPathObject interface.

Table 8-7 Summary of XPathObject Methods; XPath Package

FunctionSummary

XPathObject()


Copy constructor.

getNodeSet()


Get the node set.

getObjBoolean()


Get boolean from object.

getObjNumber()


Get number from object.

getObjString()


Get string from object.

getObjType()


Get type from object.



XPathObject()

Copy constructor.

Syntax

XPathObject( 
   XPathObject< Node>& src);
ParameterDescription
src
reference to the object to be copied

Returns

(XPathObject) new object


getNodeSet()

Get the node set.

Syntax

NodeSet< Node>* getNodeSet() const;

getObjBoolean()

Get the boolean from the object.

Syntax

boolean getObjBoolean() const;

getObjNumber()

Get the number from the object.

Syntax

double getObjNumber() const;

getObjString()

Get the string from the object.

Syntax

oratext* getObjString() const;

getObjType()

Get the type from the object.

Syntax

XPathObjType getObjType() const;
PKl>}9}PKX*A OEBPS/dom.htm Package Dom APIs for C++

2 Package Dom APIs for C++

Interfaces in this package represent DOM level 2 Core interfaces according to http://www.w3.org/TR/DOM-Level-2-Core/.

This chapter contains the following sections:


Using Dom

DOM interfaces are represented as generic references to different implementations of the DOM specifications. They are parameterized by Node, which supports various specializations and instantiations. Of them, the most important is xmlnode that corresponds to the current C implementation.

These generic references do not have a NULL-like value. Any implementation should never create a stateless reference. If there is need to signal that something has no state, an exception should be thrown.

Many methods might throw the SYNTAX_ERR exception, if the DOM tree is incorrectly formed, or UNDEFINED_ERR, in the case of wrong parameters or unexpected NULL pointers. If these are the only errors that a particular method might throw, it is not reflected in the method signature.

Actual DOM trees do not dependent on the context (TCtx). However, manipulations on DOM trees in the current, xmlctx based implementation require access to the current context (TCtx). This is accomplished by passing the context pointer to the constructor of DOMImplRef. In multithreaded environment DOMImplRef is always created in the thread context and, so, has the pointer to the right context.

DOMImplRef providea a way to create DOM trees. DomImplRef is a reference to the actual DOMImplementation object that is created when a regular, non-copy constructor of DomImplRef is invoked. This works well in multithreaded environment where DOM trees need to be shared, and each thread has a separate TCtx associated with it. This works equally well in a single threaded environment.

DOMString is only one of encodings supported by Oracle implementations. The support of other encodings is Oracle's extension. The oratext* data type is used for all encodings.


Dom Datatypes

Table 2-1 summarizes the datatypes of the Dom package.

Table 2-1 Summary of Datatypes; Dom Package

DatatypeDescription

AcceptNodeCodes


Defines values returned by node filters.

CompareHowCode


Defines type of comparison.

DOMNodeType


Defines type of node.

DOMExceptionCode


Defines codes for DOM exception.

WhatToShowCode


Defines codes for filtering.

RangeExceptionCode


Codes for DOM Range exceptions.



AcceptNodeCodes

Defines values returned by node filters. Used by node iterators and tree walkers.

Definition

typedef enum AcceptNodeCode {
   FILTER_ACCEPT   = 1,
   FILTER_REJECT   = 2,
   FILTER_SKIP     = 3
    } AcceptNodeCode;

CompareHowCode

Defines type of comparison.

Definition

typedef enum CompareHowCode {
   START_TO_START = 0,
   START_TO_END = 1, 
   END_TO_END = 2, 
   END_TO_START = 3 }
CompareHowCode;

DOMNodeType

Defines type of node.

Definition

typedef enum DOMNodeType {
   UNDEFINED_NODE = 0,
   ELEMENT_NODE = 1, 
   ATTRIBUTE_NODE = 2, 
   TEXT_NODE = 3, 
   CDATA_SECTION_NODE = 4, 
   ENTITY_REFERENCE_NODE = 5, 
   ENTITY_NODE = 6, 
   PROCESSING_INSTRUCTION_NODE = 7, 
   COMMENT_NODE = 8, 
   DOCUMENT_NODE = 9, 
   DOCUMENT_TYPE_NODE = 10, 
   DOCUMENT_FRAGMENT_NODE = 11, 
   NOTATION_NODE = 12 
} DOMNodeType;

DOMExceptionCode

Defines codes for DOM exception.

Definition

typedef enum DOMExceptionCode {
   UNDEFINED_ERR               = 0,
   INDEX_SIZE_ERR              = 1,
   DOMSTRING_SIZE_ERR          = 2,
   HIERARCHY_REQUEST_ERR       = 3,
   WRONG_DOCUMENT_ERR          = 4,
   INVALID_CHARACTER_ERR       = 5,
   NO_DATA_ALLOWED_ERR         = 6,
   NO_MODIFICATION_ALLOWED_ERR = 7,
   NOT_FOUND_ERR               = 8,
   NOT_SUPPORTED_ERR           = 9,
   INUSE_ATTRIBUTE_ERR         = 10,
   INVALID_STATE_ERR           = 11,
   SYNTAX_ERR                  = 12,
   INVALID_MODIFICATION_ERR    = 13,
   NAMESPACE_ERR               = 14,
   INVALID_ACCESS_ERR          = 15
} DOMExceptionCode;

WhatToShowCode

Defines codes for filtering.

Definition

typedef unsigned long WhatToShowCode; 
   const unsigned long SHOW_ALL = 0xFFFFFFFF; c
   onst unsigned long SHOW_ELEMENT = 0x00000001; 
   const unsigned long SHOW_ATTRIBUTE = 0x00000002; 
   const unsigned long SHOW_TEXT = 0x00000004; 
   const unsigned long SHOW_CDATA_SECTION = 0x00000008; 
   const unsigned long SHOW_ENTITY_REFERENCE = 0x00000010; 
   const unsigned long SHOW_ENTITY = 0x00000020; 
   const unsigned long SHOW_PROCESSING_INSTRUCTION = 0x00000040; 
   const unsigned long SHOW_COMMENT = 0x00000080; 
   const unsigned long SHOW_DOCUMENT = 0x00000100; 
   const unsigned long SHOW_DOCUMENT_TYPE = 0x00000200; 
   const unsigned long SHOW_DOCUMENT_FRAGMENT = 0x00000400; 
   const unsigned long SHOW_NOTATION = 0x00000800;

RangeExceptionCode

Codes for DOM Range exceptions.

Definition

typedef enum RangeExceptionCode {
   RANGE_UNDEFINED_ERR         = 0,
   BAD_BOUNDARYPOINTS_ERR      = 1,
   INVALID_NODE_TYPE_ERR       = 2
} RangeExceptionCode;
 

AttrRef Interface

Table 2-2 summarizes the methods available through AttrRef interface.

Table 2-2 Summary of AttrRef Methods; Dom Package

FunctionSummary

AttrRef()


Constructor.

getName()


Return attribute's name.

getOwnerElement()


Return attribute's owning element.

getSpecified()


Return boolean indicating if an attribute was explicitly created.

getValue()


Return attribute's value.

setValue()


Set attribute's value.

~AttrRef()


Public default destructor.



AttrRef()

Class constructor.

SyntaxDescription
AttrRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given attribute node after a call to createAttribute.
AttrRef(
   const AttrRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(AttrRef) Node reference object


getName()

Returns the fully-qualified name of an attribute (in the data encoding) as a NULL-terminated string.

Syntax

 oratext* getName() const;

Returns

(oratext *) name of attribute


getOwnerElement()

Returns attribute's owning element

Syntax

Node* getOwnerElement();

Returns

(Node*) attribute's owning element node.


getSpecified()

Returns the 'specified' value for an attribute. If the attribute was explicitly given a value in the original document, it is TRUE; otherwise, it is FALSE. If the node is not an attribute, returns FALSE. If the user sets attribute's value through DOM, its 'specified' value will be TRUE.

Syntax

boolean getSpecified() const;

Returns

(boolean) attribute's "specified" value


getValue()

Returns the "value" (character data) of an attribute (in the data encoding) as NULL-terminated string. Character and general entities will have been replaced.

Syntax

oratext* getValue() const;

Returns

(oratext*) attribute's value


setValue()

Sets the given attribute's value to data. The new value must be in the data encoding. It is not verified, converted, or checked. The attribute's 'specified' flag will be TRUE after setting a new value.

Syntax

void setValue(
   oratext* data) 
throw (DOMException);
ParameterDescription
data
new value of attribute


~AttrRef()

This is the default destructor.

Syntax

~AttrRef();

CDATASectionRef Interface

Table 2-3 summarizes the methods available through CDATASectionRef interface.

Table 2-3 Summary of CDATASectionRef Methods; Dom Package

FunctionSummary

CDATASectionRef()


Constructor.

~CDATASectionRef()


Public default destructor.



CDATASectionRef()

Class constructor.

SyntaxDescription
CDATASectionRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given CDATA node after a call to createCDATASection.
CDATASectionRef(
   const CDATASectionRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(CDATASectionRef) Node reference object


~CDATASectionRef()

This is the default destructor.

Syntax

~CDATASectionRef();

CharacterDataRef Interface

Table 2-4 summarizes the methods available through CharacterDataRef interface.

Table 2-4 Summary of CharacterDataRef Methods; Dom Package

FunctionSummary

appendData()


Append data to end of node's current data.

deleteData()


Remove part of node's data.

freeString()


Deallocate the string allocated by substringData.

getData()


Return node's data.

getLength()


Return length of node's data.

insertData()


Insert string into node's current data.

replaceData()


Replace part of node's data.

setData()


Set node's data.

substringData()


Get substring of node's data.



appendData()

Append a string to the end of a CharacterData node's data. The appended data should be in the data encoding. It will not be verified, converted, or checked.

Syntax

void appendData( 
   oratext* data) 
throw (DOMException);
ParameterDescription
data
data to append


deleteData()

Remove a range of characters from a CharacterData node's data. The offset is zero-based, so offset zero refers to the start of the data. Both offset and count are in characters, not bytes. If the sum of offset and count exceeds the data length then all characters from offset to the end of the data are deleted.

Syntax

void deleteData( 
   ub4 offset, 
   ub4 count) 
throw (DOMException);
ParameterDescription
offset
character offset where deletion starts
count
number of characters to delete


freeString()

Deallocates the string allocated by substringData(). It is Oracle's extension.

Syntax

void freeString( 
   oratext* str);
ParameterDescription
str
string


getData()

Returns the data for a CharacterData node (type text, comment or CDATA) in the data encoding.

Syntax

oratext* getData() const;

Returns

(oratext*) node's data


getLength()

Returns the length of the data for a CharacterData node (type Text, Comment or CDATA) in characters (not bytes).

Syntax

ub4 getLength() const;

Returns

(ub4) length in characters (not bytes!) of node's data


insertData()

Insert a string into a CharacterData node's data at the specified position. The inserted data must be in the data encoding. It will not be verified, converted, or checked. The offset is specified as characters, not bytes. The offset is zero-based, so inserting at offset zero prepends the data.

Syntax

void insertData( 
   ub4 offset,
   oratext* data) 
throw (DOMException);
ParameterDescription
offset
character offset where insertion starts
data
data to insert


replaceData()

Replaces a range of characters in a CharacterData node's data with a new string. The offset is zero-based, so offset zero refers to the start of the data. The replacement data must be in the data encoding. It will not be verified, converted, or checked. The offset and count are both in characters, not bytes. If the sum of offset and count exceeds length, then all characters to the end of the data are replaced.

Syntax

void replaceData( 
   ub4 offset, 
   ub4 count, 
   oratext* data)
throw (DOMException);
ParameterDescription
offset
offset
count
number of characters to replace
data
data


setData()

Sets data for a CharacterData node (type text, comment or CDATA), replacing the old data. The new data is not verified, converted, or checked -- it should be in the data encoding.

Syntax

void setData( 
   oratext* data) 
throw (DOMException);
ParameterDescription
data
data


substringData()

Returns a range of character data from a CharacterData node (type Text, Comment or CDATA). Since the data is in the data encoding, offset and count are in characters, not bytes. The beginning of the string is offset 0. If the sum of offset and count exceeds the length, then all characters to the end of the data are returned. The substring is permanently allocated in the context managed memory and should be explicitly deallocated by freeString

Syntax

oratext* substringData( 
   ub4 offset, 
   ub4 count) 
throw (DOMException);
ParameterDescription
offset
offset
count
number of characters to extract

Returns

(oratext *) specified substring


CommentRef Interface

Table 2-5 summarizes the methods available through CommentRef interface.

Table 2-5 Summary of CommentRef Methods; Dom Package

FunctionSummary

CommentRef()


Constructor.

~CommentRef()


Public default destructor.



CommentRef()

Class constructor.

SyntaxDescription
CommentRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given comment node after a call to createComment.
CommentRef(
   const CommentRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(CommentRef) Node reference object


~CommentRef()

This is the default destructor.

Syntax

~CommentRef();

DOMException Interface

Table 2-6 summarizes the methods available through the DOMException interface.

Table 2-6 Summary of DOMException Methods; Dom Package

FunctionSummary

getDOMCode()


Get DOM exception code embedded in the exception.

getMesLang()


Get current language encoding of error messages.

getMessage()


Get Oracle XML error message.



getDOMCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning DOM exception codes, defined in DOMExceptionCode, of the exceptional situations during execution

Syntax

virtual DOMExceptionCode getDOMCode() const = 0;

Returns

(DOMExceptionCode) exception code


getMesLang()

Virtual member function inherited from XmlException

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


DOMImplRef Interface

Table 2-7 summarizes the methods available through DOMImplRef interface.

Table 2-7 Summary of DOMImplRef Methods; Dom Package

FunctionSummary

DOMImplRef()


Constructor.

createDocument()


Create document reference.

createDocumentType()


Create DTD reference.

formDocument()


Forms document reference given a document pointer.

getImplementation()


Get DOMImplementation object associated with the document.

getNoMod()


Get the 'no modification allowed' flag value.

hasFeature()


Determine if DOM feature is implemented.

setContext()


Set another context to a node.

~DOMImplRef()


Public default destructor.



DOMImplRef()

Class constructor.

SyntaxDescription
DOMImplRef(
   Context* ctx_ptr,
   DOMImplementation< Node>* impl_ptr);
Creates reference object to DOMImplementation object in a given context. Returns reference to the implementation object.
DOMImplRef(
   const DOMImplRef< Context, Node>& iref);
It is needed to create other references to the implementation object; deletion flags are not copied.
DOMImplRef(
   const DOMImplRef< Context, Node>& iref,
   Context* ctx_ptr);
It is needed to create references to the implementation object in a different context; deletion flags are not copied.

ParameterDescription
ctx_ptr
context pointer
impl_ptr
implementation

Returns

(DOMImplRef) reference to the implementation object


createDocument()

Creates document reference

Syntax

DocumentRef< Node>* createDocument(
   oratext* namespaceURI,
   oratext* qualifiedName,
   DocumentTypeRef< Node>& doctype)
throw (DOMException);
ParameterDescription
namespaceURI
namespace URI of root element
qualifiedName
qualified name of root element
doctype
associated DTD node

Returns

(DocumentRef< Node>*) document reference


createDocumentType()

Creates DTD reference

Syntax

DocumentTypeRef< Node>* createDocumentType(
   oratext* qualifiedName,
   oratext* publicId,
   oratext* systemId)
throw (DOMException);
ParameterDescription
qualifiedName
qualified name
publicId
external subset public Id
systemId
external subset system Id

Returns

(DocumentTypeRef< Node>*) DTD reference


formDocument()

Forms a document reference given a document pointer.

Syntax

DocumentRef< Node>* formDocument( Node* node);
ParameterDescription
node
pointer to the document node

Returns

(DocumentRef< Node>*) pointer to the document reference


getImplementation()

Returns DOMImplementation object that was used to create this document. When the DOMImplementation object is destructed, all document trees associated with it are also destructed.

Syntax

DOMImplementation< Node>* getImplementation() const;

Returns

(DOMImplementation) DOMImplementation reference object


getNoMod()

Get the 'no modification allowed' flag value. This is an Oracle extension.

Syntax

boolean getNoMod() const;

Returns

TRUE if flag's value is TRUE, FALSE otherwise


hasFeature()

Determine if a DOM feature is implemented. Returns TRUE if the feature is implemented in the specified version, FALSE otherwise.

In level 1, the legal values for package are 'HTML' and 'XML' (case-insensitive), and the version is the string "1.0". If the version is not specified, supporting any version of the feature will cause the method to return TRUE.

DOM 1.0 features are "XML" and "HTML".

DOM 2.0 features are "Core", "XML", "HTML", "Views", "StyleSheets", "CSS", "CSS2", "Events", "UIEvents", "MouseEvents", "MutationEvents", "HTMLEvents", "Range", "Traversal"

Syntax

boolean hasFeature(
   oratext* feature, 
   oratext* version);
ParameterDescription
feature
package name of feature
version
version of package

Returns

(boolean) is feature implemented?


setContext()

It is needed to create node references in a different context

Syntax

void setContext(
   NodeRef< Node>& nref, 
   Context* ctx_ptr);
ParameterDescription
nref
reference node
ctx_ptr
context pointer


~DOMImplRef()

This is the default destructor. It cleans the reference to the implementation object. It is usually called by the environment. But it can be called by the user directly if necessary.

Syntax

~DOMImplRef(); 

DOMImplementation Interface

Table 2-8 summarizes the methods available through DOMImplementation interface.

Table 2-8 Summary of DOMImplementation Methods; Dom Package

FunctionSummary

DOMImplementation()


Constructor.

getNoMod()


Get the 'nomodificationallowed' flag value.

~DOMImplementation()


Public default destructor.



DOMImplementation()

Creates DOMImplementation object. Sets the 'no modifications allowed' flag to the parameter value.

Syntax

DOMImplementation( 
   boolean no_mod);
ParameterDescription
no_mod
whether modifications are allowed (FALSE) or not allowed (TRUE)

Returns

(DOMImplementation) implementation object


getNoMod()

Get the 'no modification allowed' flag value. This is an Oracle extension.

Syntax

boolean getNoMod() const; 

Returns

TRUE if flag's value is TRUE, FALSE otherwise


~DOMImplementation()

This is the default destructor. It removes all DOM trees associated with this object.

Syntax

~DOMImplementation(); 

DocumentFragmentRef Interface

Table 2-9 summarizes the methods available through DocumentFragmentRef interface.

Table 2-9 Summary of DocumentFragmentRef Methods; Dom Package

FunctionSummary

DocumentFragmentRef()


Constructor.

~DocumentFragmentRef()


Public default destructor.



DocumentFragmentRef()

Class constructor.

SyntaxDescription
DocumentFragmentRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given fragment node after a call to createDocumentFragment.
DocumentFragmentRef(
   const DocumentFragmentRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(DocumentFragmentRef) Node reference object


~DocumentFragmentRef()

This is the default destructor.

Syntax

~DocumentFragmentRef() {}

DocumentRange Interface

Table 2-10 summarizes the methods available through DocumentRange interface.

Table 2-10 Summary of DocumentRange Methods; Dom Package

FunctionSummary

DocumentRange()


Constructor.

createRange()


Create new range object.

destroyRange()


Destroys Range object.

~DocumentRange()


Default destructor.



DocumentRange()

Constructs the factory.

Syntax

DocumentRange();

Returns

(DocumentRange) new factory object


createRange()

Create new range object.

Syntax

Range< Node>* createRange( 
   DocumentRef< Node>& doc);
ParameterDescription
doc
reference to document node

Returns

(Range*) Pointer to new range


destroyRange()

Destroys range object.

Syntax

void destroyRange( 
   Range< Node>* range)
throw (DOMException);
ParameterDescription
range
range


~DocumentRange()

Default destructor.

Syntax

~DocumentRange();

DocumentRef Interface

Table 2-11 summarizes the methods available through DocumentRef interface.

Table 2-11 Summary of DocumentRef Methods; Dom Package

FunctionSummary

DocumentRef()


Constructor.

createAttribute()


Create an attribute node.

createAttributeNS()


Create an attribute node with namespace information.

createCDATASection()


Create a CDATA node.

createComment()


Create a comment node.

createDocumentFragment()


Create a document fragment.

createElement()


Create an element node.

createElementNS()


Create an element node with names pace information.

createEntityReference()


Create an entity reference node.

createProcessingInstruction()


Create a ProcessingInstruction node

createTextNode()


Create a text node.

getDoctype()


Get DTD associated with the document.

getDocumentElement()


Get top-level element of this document.

getElementById()


Get an element given its ID.

getElementsByTagName()


Get elements in the document by tag name.

getElementsByTagNameNS()


Get elements in the document by tag name (namespace aware version).

getImplementation()


Get DOMImplementation object associated with the document.

importNode()


Import a node from another DOM.s

~DocumentRef()


Public default destructor.



DocumentRef()

This is a constructor.

SyntaxDescription
DocumentRef(
   const NodeRef< Node>& nref,
   Node* nptr);
Default constructor.
DocumentRef(
   const DocumentRef< Node>& nref);
Copy constructor.

ParameterDescription
nref
reference to provide the context
nptr
referenced node

Returns

(DocumentRef) Node reference object


createAttribute()

Creates an attribute node with the given name. This is the non-namespace aware function. The new attribute will have NULL namespace URI and prefix, and its local name will be the same as its name, even if the name specified is a qualified name. The new node is an orphan with no parent. The name is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createAttribute( 
   oratext* name) 
throw (DOMException);
ParameterDescription
name
name

Returns

(Node*) New attribute node


createAttributeNS()

Creates an attribute node with the given namespace URI and qualified name. The new node is an orphan with no parent. The URI and qualified name are not copied, their pointers are just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createAttributeNS( 
   oratext* namespaceURI,
   oratext* qualifiedName)
   throw (DOMException);
ParameterDescription
namespaceURI
namespace URI
qualifiedName
qualified name

Returns

(Node*) New attribute node


createCDATASection()

Creates a CDATA section node with the given initial data (which should be in the data encoding). A CDATA section is considered verbatim and is never parsed; it will not be joined with adjacent text nodes by the normalize operation. The initial data may be NULL, if provided; it is not verified, converted, or checked. The name of a CDATA node is always "#cdata-section". The new node is an orphan with no parent. The CDATA is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createCDATASection(
   oratext* data)
throw (DOMException);
ParameterDescription
data
data for new node

Returns

(Node*) New CDATA node


createComment()

Creates a comment node with the given initial data (which must be in the data encoding). The data may be NULL, if provided; it is not verified, converted, or checked. The name of the comment node is always "#comment". The new node is an orphan with no parent. The comment data is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createComment( 
   oratext* data)
throw (DOMException);
ParameterDescription
data
data for new node

Returns

(Node*) New comment node


createDocumentFragment()

Creates an empty Document Fragment node. A document fragment is treated specially when it is inserted into a DOM tree: the children of the fragment are inserted in order instead of the fragment node itself. After insertion, the fragment node will still exist, but have no children. The name of a fragment node is always "#document-fragment".

Syntax

Node* createDocumentFragment()
throw (DOMException);

Returns

(Node*) new document fragment node


createElement()

Creates an element node with the given tag name (which should be in the data encoding). The new node is an orphan with no parent. The tagname is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

Note that the tag name of an element is case sensitive. This is the non-namespace aware function: the new node will have NULL namespace URI and prefix, and its local name will be the same as its tag name, even if the tag name specified is a qualified name.

Syntax

Node* createElement(
   oratext* tagname)
throw (DOMException);
ParameterDescription
tagname
tag name

Returns

(Node*) New element node


createElementNS()

Creates an element with the given namespace URI and qualified name. The new node is an orphan with no parent. The URI and qualified name are not copied, their pointers are just stored. The user is responsible for persistence and freeing of that data.

Note that element names are case sensitive, and the qualified name is required though the URI may be NULL. The qualified name will be split into prefix and local parts. The tagName will be the full qualified name.

Syntax

Node* createElementNS(
   oratext* namespaceURI,
   oratext* qualifiedName)
throw (DOMException);
ParameterDescription
namespaceURI
namespace URI
qualifiedName
qualified name

Returns

(Node*) New element node


createEntityReference()

Creates an entity reference node; the name (which should be in the data encoding) is the name of the entity to be referenced. The named entity does not have to exist. The name is not verified, converted, or checked. The new node is an orphan with no parent. The entity reference name is not copied; its pointer is just stored. The user is responsible for persistence and freeing of that data.

Note that entity reference nodes are never generated by the parser; instead, entity references are expanded as encountered. On output, an entity reference node will turn into a "&name;" style reference.

Syntax

Node* createEntityReference(
   oratext* name)
throw (DOMException);
ParameterDescription
name
name

Returns

(Node*) New entity reference node


createProcessingInstruction()

Creates a processing instruction node with the given target and data (which should be in the data encoding). The data may be NULL, but the target is required and cannot be changed. The target and data are not verified, converted, or checked. The name of the node is the same as the target. The new node is an orphan with no parent. The target and data are not copied; their pointers are just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createProcessingInstruction(
   oratext* target,
   oratext* data)
throw (DOMException);
ParameterDescription
target
target
data
data for new node

Returns

(Node*) New PI node


createTextNode()

Creates a text node with the given initial data (which must be non-NULL and in the data encoding). The data may be NULL; if provided, it is not verified, converted, checked, or parsed (entities will not be expanded). The name of the node is always "#text". The new node is an orphan with no parent. The text data is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

Syntax

Node* createTextNode(
   oratext* data)
throw (DOMException);
ParameterDescription
data
data for new text node

Returns

(Node*) new text node


getDoctype()

Returns the DTD node associated with this document. After this call, a DocumentTypeRef object needs to be created with an appropriate constructor in order to call its member functions. The DTD tree cannot be edited.

Syntax

Node* getDoctype() const;

Returns

(Node*) DTD node


getDocumentElement()

Returns the root element (node) of the DOM tree. Each document has only one uppermost Element node, called the root element. If there is no root element, NULL is returned. This can happen when the document tree is being constructed.

Syntax

Node* getDocumentElement() const;

Returns

(Node*) Root element


getElementById()

Returns the element node which has the given ID. Throws NOT_FOUND_ERR if no element is found. The given ID should be in the data encoding or it might not match.

Note that attributes named "ID" are not automatically of type ID; ID attributes (which can have any name) must be declared as type ID in the DTD or XML schema associated with the document.

Syntax

Node* getElementById(
   oratext* elementId);
ParameterDescription
elementId
element id

Returns

(Node*)Element node


getElementsByTagName()

Returns a list of all elements in the document with a given tag name, in document order (the order in which they would be encountered in a preorder traversal of the tree). The list should be freed by the user when it is no longer needed. The list is not live, it is a snapshot. That is, if a new node which matched the tag name were added to the DOM after the list was returned, the list would not automatically be updated to include the node.

The special name "*" matches all tag names; a NULL name matches nothing. Note that tag names are case sensitive, and should be in the data encoding or a mismatch might occur.

This function is not namespace aware; the full tag names are compared. If two qualified names with two different prefixes both of which map to the same URI are compared, the comparison will fail.

Syntax

NodeList< Node>* getElementsByTagName( 
   oratext* tagname) const;
ParameterDescription
tagname
tag name

Returns

(NodeList< Node>*) List of nodes


getElementsByTagNameNS()

Returns a list of all elements in the document with a given namespace URI and local name, in document order (the order in which they would be encountered in a preorder traversal of the tree). The list should be freed by the user when it is no longer needed. The list is not live, it is a snapshot. That is, if a new node which matches the URI and local name were added to the DOM after the list was returned, the list would not automatically be updated to include the node.

The URI and local name should be in the data encoding. The special name "*" matches all local names; a NULL local name matches nothing. Namespace URIs must always match, however, no wildcard is allowed. Note that comparisons are case sensitive.

Syntax

NodeList< Node>* getElementsByTagNameNS(
   oratext* namespaceURI,
   oratext* localName);
ParameterDescription
namespaceURI
namespace URI to match
localName
local name to match

Returns

(NodeList< Node>*) List of nodes


getImplementation()

Returns DOMImplementation object that was used to create this document. When the DOMImplementation object is destructed, all document trees associated with it are also destructed.

Syntax

DOMImplementation< Node>* getImplementation() const;

Returns

(DOMImplementation) DOMImplementation reference object


importNode()

Imports a node from one Document to another. The new node is an orphan and has no parent. The original node is not modified in any way or removed from its document; instead, a new node is created with copies of all the original node's qualified name, prefix, namespace URI, and local name.

The deep parameter controls whether the children of the node are recursively imported. If FALSE, only the node itself is imported, and it will have no children. If TRUE, all descendents of the node will be imported as well, and an entire new subtree created. Elements will have only their specified attributes imported; non-specified (default) attributes are omitted. New default attributes (for the destination document) are then added. Document and DocumentType nodes cannot be imported.

Syntax

Node* importNode( 
   NodeRef< Node>& importedNode,
   boolean deep) const
throw (DOMException);
ParameterDescription
importedNode
node to import
deep
indicator for recursively importing the subtree

Returns

(Node*) New imported node


~DocumentRef()

This is the default destructor. It cleans the reference to the node. If the document node is marked for deletion, the destructor deletes the node and the tree under it. It is always deep deletion in the case of a document node. The destructor can be called by the environment or by the user directly.

Syntax

~DocumentRef();

DocumentTraversal Interface

Table 2-12 summarizes the methods available through DocumentTraversal interface.

Table 2-12 Summary of DocumentTraversal Methods; Dom Package

FunctionSummary

DocumentTraversal()


Constructor.

createNodeIterator()


Create new NodeIterator object.

createTreeWalker()


Create new TreeWalker object.

destroyNodeIterator()


Destroys NodeIterator object.

destroyTreeWalker()


Destroys TreeWalker object.

~DocumentTraversal()


Default destructor.



DocumentTraversal()

Constructs the factory.

Syntax

DocumentTraversal();

Returns

(DocumentTraversal) new factory object


createNodeIterator()

Create new iterator object.

Syntax

NodeIterator< Node>* createNodeIterator(
   NodeRef< Node>& root,
   WhatToShowCode whatToShow,
   boolean entityReferenceExpansion)
throw (DOMException);
ParameterDescription
root
root of subtree, for iteration
whatToShow
node types filter
entityReferenceExpansion
if TRUE, expand entity references

Returns

(NodeIterator*) Pointer to new iterator


createTreeWalker()

Create new TreeWalker object.

Syntax

TreeWalker< Node>* createTreeWalker(
   NodeRef< Node>& root,
   WhatToShowCode whatToShow,
   boolean entityReferenceExpansion)
throw (DOMException);
ParameterDescription
root
root of subtree, for traversal
whatToShow
node types filter
entityReferenceExpansion
if TRUE, expand entity references

Returns

(TreeWalker*) Pointer to new tree walker


destroyNodeIterator()

Destroys node iterator object.

Syntax

void destroyNodeIterator(
   NodeIterator< Node>* iter)
throw (DOMException);
ParameterDescription
iter
iterator


destroyTreeWalker()

Destroys TreeWalker object.

Syntax

void destroyTreeWalker(
   TreeWalker< Node>* walker)
throw (DOMException);
ParameterDescription
walker
TreeWalker


~DocumentTraversal()

Default destructor.

Syntax

~DocumentTraversal();

DocumentTypeRef Interface

Table 2-13 summarizes the methods available through DocumentTypeRef interface.

Table 2-13 Summary of DocumentTypeRef Methods; Dom Package

FunctionSummary

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.

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

ParameterDescription
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);
ParameterDescription
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();

ElementRef Interface

Table 2-14 summarizes the methods available through ElementRef interface.

Table 2-14 Summary of ElementRef Methods; Dom Package

FunctionSummary

ElementRef()


Constructor.

getAttribute()


Get attribute's value given its name.

getAttributeNS()


Get attribute's value given its URI and local name.

getAttributeNode()


Get the attribute node given its name.

getElementsByTagName()


Get elements with given tag name.

getTagName()


Get element's tag name.

hasAttribute()


Check if named attribute exists.

hasAttributeNS()


Check if named attribute exists (namespace aware version).

removeAttribute()


Remove attribute with specified name.

removeAttributeNS()


Remove attribute with specified URI and local name.

removeAttributeNode()


Remove attribute node

setAttribute()


Set new attribute for this element and/or new value.

setAttributeNS()


Set new attribute for the element and/or new value.

setAttributeNode()


Set attribute node.

~ElementRef()


Public default destructor.



ElementRef()

Class constructor.

SyntaxDescription
ElementRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given element node after a call to createElement.
ElementRef(
   const ElementRef< Node>& node_ref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(ElementRef) Node reference object


getAttribute()

Returns the value of an element's attribute (specified by name). Note that an attribute may have the empty string as its value, but cannot be NULL.

Syntax

oratext* getAttribute(
   oratext* name) const;
ParameterDescription
name
name of attribute (data encoding)

Returns

(oratext*) named attribute's value (in data encoding)


getAttributeNS()

Returns the value of an element's attribute (specified by URI and local name). Note that an attribute may have the empty string as its value, but cannot be NULL.

Syntax

oratext* getAttributeNS(
   oratext* namespaceURI,
   oratext* localName);
ParameterDescription
namespaceURI
namespace URI of attribute (data encoding)
localName
local name of attribute (data encoding)

Returns

(oratext *) named attribute's value (in data encoding)


getAttributeNode()

Returns the attribute node given its name.

Syntax

Node* getAttributeNode(
   oratext* name) const;
ParameterDescription
name
name of attribute (data encoding)

Returns

(Node*) the attribute node


getElementsByTagName()

Returns a list of all elements with a given tag name, in the order in which they would be encountered in a preorder traversal of the subtree. The tag name should be in the data encoding. The special name "*" matches all tag names; a NULL name matches nothing. Tag names are case sensitive. This function is not namespace aware; the full tag names are compared. The returned list should be freed by the user.

Syntax

NodeList< Node>* getElementsByTagName(
   oratext* name);
ParameterDescription
name
tag name to match (data encoding)

Returns

(NodeList< Node>*) the list of elements


getTagName()

Returns the tag name of an element node which is supposed to have the same value as the node name from the node interface

Syntax

oratext* getTagName() const;

Returns

(oratext*) element's name [in data encoding]


hasAttribute()

Determines if an element has a attribute with the given name

Syntax

boolean hasAttribute(
   oratext* name);
ParameterDescription
name
name of attribute (data encoding)

Returns

(boolean) TRUE if element has attribute with given name


hasAttributeNS()

Determines if an element has a attribute with the given URI and local name

Syntax

boolean hasAttributeNS(
   oratext* namespaceURI,
   oratext* localName);
ParameterDescription
namespaceURI
namespace URI of attribute (data encoding)
localName
local name of attribute (data encoding)

Returns

(boolean) TRUE if element has such attribute


removeAttribute()

Removes an attribute specified by name. The attribute is removed from the element's list of attributes, but the attribute node itself is not destroyed.

Syntax

void removeAttribute(
   oratext* name) throw (DOMException);
ParameterDescription
name
name of attribute (data encoding)


removeAttributeNS()

Removes an attribute specified by URI and local name. The attribute is removed from the element's list of attributes, but the attribute node itself is not destroyed.

Syntax

void removeAttributeNS(
   oratext* namespaceURI,
   oratext* localName)
throw (DOMException);
ParameterDescription
namespaceURI
namespace URI of attribute (data encoding)
localName
local name of attribute (data encoding)


removeAttributeNode()

Removes an attribute from an element. Returns a pointer to the removed attribute or NULL

Syntax

Node* removeAttributeNode(
   AttrRef< Node>& oldAttr)
throw (DOMException);
ParameterDescription
oldAttr
old attribute node

Returns

(Node*) the attribute node (old) or NULL


setAttribute()

Creates a new attribute for an element with the given name and value (which should be in the data encoding). If the named attribute already exists, its value is simply replaced. The name and value are not verified, converted, or checked. The value is not parsed, so entity references will not be expanded.

Syntax

void setAttribute( 
   oratext* name, 
   oratext* value)
throw (DOMException);
ParameterDescription
name
names of attribute (data encoding)
value
value of attribute (data encoding)


setAttributeNS()

Creates a new attribute for an element with the given URI, local name and value (which should be in the data encoding). If the named attribute already exists, its value is simply replaced. The name and value are not verified, converted, or checked. The value is not parsed, so entity references will not be expanded.

Syntax

void setAttributeNS( 
   oratext* namespaceURI,
   oratext* qualifiedName, 
   oratext* value)
throw (DOMException);
ParameterDescription
namespaceURI
namespace URI of attribute (data encoding)
qualifiedName
qualified name of attribute(data encoding)
value
value of attribute(data encoding)


setAttributeNode()

Adds a new attribute to an element. If an attribute with the given name already exists, it is replaced and a pointer to the old attribute returned. If the attribute is new, it is added to the element's list and a pointer to the new attribute is returned.

Syntax

Node* setAttributeNode( 
   AttrRef< Node>& newAttr)
throw (DOMException);
ParameterDescription
newAttr
new node

Returns

(Node*) the attribute node (old or new)


~ElementRef()

This is the default destructor.

Syntax

~ElementRef();

EntityRef Interface

Table 2-15 summarizes the methods available through EntityRef interface.

Table 2-15 Summary of EntityRef Methods; Dom Package

FunctionSummary

EntityRef()


Constructor.

getNotationName()


Get entity's notation.

getPublicId()


Get entity's public ID.

getSystemId()


Get entity's system ID.

getType()


Get entity's type.

~EntityRef()


Public default destructor.



EntityRef()

Class constructor.

SyntaxDescription
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.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(EntityRef) Node reference object


getNotationName()

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


getPublicId()

Returns an entity's public identifier (in the data encoding).

Syntax

oratext* getPublicId() const;

Returns

(oratext*) entity's public identifier


getSystemId()

Returns an entity's system identifier (in the data encoding).

Syntax

oratext* getSystemId() const;

Returns

(oratext*) entity's system identifier


getType()

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


~EntityRef()

This is the default destructor.

Syntax

~EntityRef();

EntityReferenceRef Interface

Table 2-16 summarizes the methods available through EntityReferenceRef interface.

Table 2-16 Summary of EntityReferenceRef Methods; Dom Package

FunctionSummary

EntityReferenceRef()


Constructor.

~EntityReferenceRef()


Public default destructor.



EntityReferenceRef()

Class constructor.

SyntaxDescription
EntityReferenceRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given entity reference node after a call to create EntityReference.
EntityReferenceRef(
   const EntityReferenceRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(EntityReferenceRef) Node reference object


~EntityReferenceRef()

This is the default destructor.

Syntax

~EntityReferenceRef();

NamedNodeMapRef Interface

Table 2-17 summarizes the methods available through NamedNodeMapRef interface.

Table 2-17 Summary of NamedNodeMapRef Methods; Dom Package

FunctionSummary

NamedNodeMapRef()


Constructor

getLength()


Get map's length

getNamedItem()


Get item given its name

getNamedItemNS()


Get item given its namespace URI and local name.

item()


Get item given its index.

removeNamedItem()


Remove an item given its name.

removeNamedItemNS()


Remove the item from the map.

setNamedItem()


Add new item to the map.

setNamedItemNS()


Set named item to the map.

~NamedNodeMapRef()


Default destructor.



NamedNodeMapRef()

Class constructor.

SyntaxDescription
NamedNodeMapRef(
   const NodeRef< Node>& node_ref,
   NamedNodeMap< Node>* mptr);
Used to create references to a given NamedNodeMap node.
NamedNodeMapRef(
   const NamedNodeMapRef< Node>& mref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(NamedNodeMapRef) Node reference object


getLength()

Get the length of the map.

Syntax

ub4 getLength() const;

Returns

(ub4) map's length


getNamedItem()

Get the name of the item, given its name.

Syntax

Node* getNamedItem( oratext* name) const;
ParameterDescription
name
name of item

Returns

(Node*) pointer to the item


getNamedItemNS()

Get the name of the item, given its namespace URI and local name.

Syntax

Node* getNamedItemNS( 
   oratext* namespaceURI,
   oratext* localName) const;
ParameterDescription
namespaceURI
namespace URI of item
localName
local name of item

Returns

(Node*) pointer to the item


item()

Get item, given its index.

Syntax

Node* item( 
   ub4 index) const;
ParameterDescription
index
index of item

Returns

(Node*) pointer to the item


removeNamedItem()

Remove the item from the map, given its name.

Syntax

Node* removeNamedItem( 
   oratext* name) 
throw (DOMException);
ParameterDescription
name
name of item

Returns

(Node*) pointer to the removed item


removeNamedItemNS()

Remove the item from the map, given its namespace URI and local name.

Syntax

Node* removeNamedItemNS( 
   oratext* namespaceURI,
   oratext* localName)
throw (DOMException);
ParameterDescription
namespaceURI
namespace URI of item
localName
local name of item

Returns

(Node*) pointer to the removed item


setNamedItem()

Add new item to the map.

Syntax

Node* setNamedItem(
   NodeRef< Node>& newItem)
throw (DOMException);
ParameterDescription
newItem
item set to the map

Returns

(Node*) pointer to new item


setNamedItemNS()

Set named item, which is namespace aware, to the map.

Syntax

Node* setNamedItemNS(
   NodeRef< Node>& newItem)
throw (DOMException);
ParameterDescription
newItem
item set to the map

Returns

(Node*) pointer to the item


~NamedNodeMapRef()

Default destructor.

Syntax

~NamedNodeMapRef();

NodeFilter Interface

Table 2-18 summarizes the methods available through NodeFilter interface.

Table 2-18 Summary of NodeFilter Methods; Dom Package

FunctionSummary

acceptNode()


Execute it for a given node and use its return value.



acceptNode()

This function is used as a test by NodeIterator and TreeWalker.

Syntax

template< typename Node> AcceptNodeCode AcceptNode(
   NodeRef< Node>& nref);
ParameterDescription
nref
reference to the node to be tested.

Returns

(AcceptNodeCode) result returned by the filter function


NodeIterator Interface

Table 2-19 summarizes the methods available through NodeIterator interface.

Table 2-19 Summary of NodeIterator Methods; Dom Package

FunctionSummary

adjustCtx()


Attach this iterator to the another context.

detach()


Invalidate the iterator.

nextNode()


Go to the next node.

previousNode()


Go to the previous node.



adjustCtx()

Attaches this iterator to the context associated with a given node reference

Syntax

void adjustCtx( 
   NodeRef< Node>& nref);
ParameterDescription
nref
reference node


detach()

Invalidates the iterator.

Syntax

void detach();

nextNode()

Go to the next node.

Syntax

Node* nextNode() throw (DOMException);

Returns

(Node*) pointer to the next node


previousNode()

Go to the previous node.

Syntax

Node* previousNode() throw (DOMException);

Returns

(Node*) pointer to the previous node


NodeListRef Interface

Table 2-20 summarizes the methods available through NodeListRef interface.

Table 2-20 Summary of NodeListRef Methods; Dom Package

FunctionSummary

NodeListRef()


Constructor.

getLength()


Get list's length.

item()


Get item given its index.

~NodeListRef()


Default destructor.



NodeListRef()

Class constructor.

SyntaxDescription
NodeListRef(
   const NodeRef< Node>& node_ref,
   NodeList< Node>* lptr);
Used to create references to a given NodeList node.
NodeListRef(
   const NodeListRef< Node>& lref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
lptr
referenced list

Returns

(NodeListRef) Node reference object


getLength()

Get the length of the list.

Syntax

ub4 getLength() const;

Returns

(ub4) list's length


item()

Get the item, given its index.

Syntax

Node* item( 
   ub4 index) const;
ParameterDescription
index
index of item

Returns

(Node*) pointer to the item


~NodeListRef()

Destructs the object.

Syntax

~NodeListRef();

NodeRef Interface

Table 2-21 summarizes the methods available through NodeRef interface.

Table 2-21 Summary of NodeRef Methods; Dom Package

FunctionSummary

NodeRef()


Constructor.

appendChild()


Append new child to node's list of children.

cloneNode()


Clone this node.

getAttributes()


Get attributes of this node.

getChildNodes()


Get children of this node.

getFirstChild()


Get the first child node of this node.

getLastChild()


Get the last child node of this node.

getLocalName()


Get local name of this node.

getNamespaceURI()


Get namespace URI of this node as a NULL-terminated string.

getNextSibling()


Get the next sibling node of this node.

getNoMod()


Tests if no modifications are allowed for this node.

getNodeName()


Get node's name as NULL-terminated string.

getNodeType()


Get DOMNodeType of the node.

getNodeValue()


Get node's value as NULL-terminated string.

getOwnerDocument()


Get the owner document of this node.

getParentNode()


Get parent node of this node.

getPrefix()


Get namespace prefix of this node.

getPreviousSibling()


Get the previous sibling node of this node.

hasAttributes()


Tests if this node has attributes.

hasChildNodes()


Test if this node has children.

insertBefore()


Insert new child into node's list of children.

isSupported()


Tests if specified feature is supported by the implementation.

markToDelete()


Sets the mark to delete the referenced node.

normalize()


Merge adjacent text nodes.

removeChild()


Remove an existing child node.

replaceChild()


Replace an existing child of a node.

resetNode()


Reset NodeRef to reference another node.

setNodeValue()


Set node's value as NULL-terminated string.

setPrefix()


Set namespace prefix of this node.

~NodeRef()


Public default destructor.



NodeRef()

Class constructor.

SyntaxDescription
NodeRef(
   const NodeRef< Node>& nref,
   Node* nptr);
Used to create references to a given node when at least one reference to this node or another node is already available. The node deletion flag is not copied and is set to FALSE.
NodeRef(
   const NodeRef< Node>& nref);
Copy constructor. Used to create additional references to the node when at least one reference is already available. The node deletion flag is not copied and is set to FALSE.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(NodeRef) Node reference object


appendChild()

Appends the node to the end of this node's list of children and returns the new node. If newChild is a DocumentFragment, all of its children are appended in original order; the DocumentFragment node itself is not. If newChild is already in the DOM tree, it is first removed from its current position.

Syntax

Node* appendChild( 
   NodeRef& newChild) 
throw (DOMException);
ParameterDescription
newChild
reference node

Returns

(Node*) the node appended


cloneNode()

Creates and returns a duplicate of this node. The duplicate node has no parent. Cloning an Element copies all attributes and their values, including those generated by the XML processor to represent defaulted attributes, but it does not copy any text it contains unless it is a deep clone, since the text is contained in a child Text node. Cloning any other type of node simply returns a copy of the node. If deep is TRUE, all children of the node are recursively cloned, and the cloned node will have cloned children; a non-deep clone will have no children. If the cloned node is not inserted into another tree or fragment, it probably should be marked, through its reference, for deletion (by the user).

Syntax

Node* cloneNode( 
   boolean deep);
ParameterDescription
deep
whether to clone the entire node hierarchy beneath the node (TRUE), or just the node itself (FALSE)

Returns

(Node*) duplicate (cloned) node


getAttributes()

Returns NamedNodeMap of attributes of this node, or NULL if it has no attributes. Only element nodes can have attribute nodes. For other node kinds, NULL is always returned. In the current implementation, the node map of child nodes is live; all changes in the original node are reflected immediately. Because of this, side effects can be present for some DOM tree manipulation styles, in particular, in multithreaded environments.

Syntax

NamedNodeMap< Node>* getAttributes() const;

Returns

(NamedNodeMap*) NamedNodeMap of attributes


getChildNodes()

Returns the list of child nodes, or NULL if this node has no children. Only Element, Document, DTD, and DocumentFragment nodes may have children; all other types will return NULL. In the current implementation, the list of child nodes is live; all changes in the original node are reflected immediately. Because of this, side effects can be present for some DOM tree manipulation styles, in particular, in multithreaded environments.

Syntax

NodeList< Node>* getChildNodes() const;

Returns

(NodeList*) the list of child nodes


getFirstChild()

Returns the first child node, or NULL, if this node has no children

Syntax

Node* getFirstChild() const;

Returns

(Node*) the first child node, or NULL


getLastChild()

Returns the last child node, or NULL, if this node has no children

Syntax

Node* getLastChild() const;

Returns

(Node*) the last child node, or NULL


getLocalName()

Returns local name (local part of the qualified name) of this node (in the data encoding) as a NULL-terminated string. If this node's name is not fully qualified (has no prefix), then the local name is the same as the name.

Syntax

oratext* getLocalName() const;

Returns

(oratext*) local name of this node


getNamespaceURI()

Returns the namespace URI of this node (in the data encoding) as a NULL-terminated string. If the node's name is not qualified (does not contain a namespace prefix), it will have the default namespace in effect when the node was created (which may be NULL).

Syntax

oratext* getNamespaceURI() const;

Returns

(oratext*) namespace URI of this node


getNextSibling()

Returns the next sibling node, or NULL, if this node has no next sibling

Syntax

Node* getNextSibling() const;

Returns

(Node*) the next sibling node, or NULL


getNoMod()

Tests if no modifications are allowed for this node and the DOM tree it belongs to. This member function is Oracle extension.

Syntax

boolean getNoMod() const;

Returns

(boolean) TRUE if no modifications are allowed


getNodeName()

Returns the (fully-qualified) name of the node (in the data encoding) as a NULL-terminated string, for example "bar\0" or "foo:bar\0". Some node kinds have fixed names: "#text", "#cdata-section", "#comment", "#document", "#document-fragment". The name of a node cannot changed once it is created.

Syntax

oratext* getNodeName() const;

Returns

(oratext*) name of node in data encoding


getNodeType()

Returns DOMNodeType of the node

Syntax

DOMNodeType getNodeType() const;

Returns

(DOMNodeType) of the node


getNodeValue()

Returns the "value" (associated character data) for a node as a NULL-terminated string. Character and general entities will have been replaced. Only Attr, CDATA, Comment, ProcessingInstruction and Text nodes have values, all other node types have NULL value.

Syntax

oratext* getNodeValue() const;

Returns

(oratext *) value of node


getOwnerDocument()

Returns the document node associated with this node. It is assumed that the document node type is derived from the node type. Each node may belong to only one document, or may not be associated with any document at all, such as immediately after it was created on user's request. The "owning" document [node] is returned, or the WRONG_DOCUMENT_ERR exception is thrown.

Syntax

Node* getOwnerDocument() const throw (DOMException);

Returns

(Node*) the owning document node


getParentNode()

Returns the parent node, or NULL, if this node has no parent

Syntax

Node* getParentNode() const;

Returns

(Node*) the parent node, or NULL


getPrefix()

Returns the namespace prefix of this node (in the data encoding) (as a NULL-terminated string). If this node's name is not fully qualified (has no prefix), NULL is returned.

Syntax

oratext* getPrefix() const;

Returns

(oratext*) namespace prefix of this node


getPreviousSibling()

Returns the previous sibling node, or NULL, if this node has no previous siblings

Syntax

Node* getPreviousSibling() const;

Returns

(Node*) the previous sibling node, or NULL


hasAttributes()

Returns TRUE if this node has attributes, if it is an element. Otherwise, it returns FALSE. Note that for nodes that are not elements, it always returns FALSE.

Syntax

boolean hasAttributes() const;

Returns

(boolean) TRUE is this node is an element and has attributes


hasChildNodes()

Tests if this node has children. Only Element, Document, DTD, and DocumentFragment nodes may have children.

Syntax

boolean hasChildNodes() const;

Returns

(boolean) TRUE if this node has any children


insertBefore()

Inserts the node newChild before the existing child node refChild in this node. refChild must be a child of this node. If newChild is a DocumentFragment, all of its children are inserted (in the same order) before refChild; the DocumentFragment node itself is not. If newChild is already in the DOM tree, it is first removed from its current position.

Syntax

Node* insertBefore( 
   NodeRef& newChild, 
   NodeRef& refChild)
throw (DOMException);
ParameterDescription
newChild
new node
refChild
reference node

Returns

(Node*) the node being inserted


isSupported()

Tests if the feature, specified by the arguments, is supported by the DOM implementation of this node.

Syntax

boolean isSupported( 
   oratext* feature, 
   oratext* version) const;
ParameterDescription
feature
package name of feature
version
version of package

Returns

(boolean) TRUE is specified feature is supported


markToDelete()

Sets the mark indicating that the referenced node should be deleted at the time when destructor of this reference is called. All other references to the node become invalid. This behavior is inherited by all other reference classes. This member function is Oracle extension.

Syntax

void markToDelete();

normalize()

"Normalizes" the subtree rooted at an element, merges adjacent Text nodes children of elements. Note that adjacent Text nodes will never be created during a normal parse, only after manipulation of the document with DOM calls.

Syntax

void normalize();

removeChild()

Removes the node from this node's list of children and returns it. The node is orphaned; its parent will be NULL after removal.

Syntax

Node* removeChild( 
   NodeRef& oldChild) 
throw (DOMException);
ParameterDescription
oldChild
old node

Returns

(Node*) node removed


replaceChild()

Replaces the child node oldChild with the new node newChild in this node's children list, and returns oldChild (which is now orphaned, with a NULL parent). If newChild is a DocumentFragment, all of its children are inserted in place of oldChild; the DocumentFragment node itself is not. If newChild is already in the DOM tree, it is first removed from its current position.

Syntax

Node* replaceChild( 
   NodeRef& newChild, 
   NodeRef& oldChild)
throw (DOMException);
ParameterDescription
newChild
new node
oldChild
old node

Returns

(Node*) the node replaced


resetNode()

This function resets NodeRef to reference Node given as an argument

Syntax

void resetNode( 
   Node* nptr);
ParameterDescription
nptr
reference node


setNodeValue()

Sets a node's value (character data) as a NULL-terminated string. Does not allow setting the value to NULL. Only Attr, CDATA, Comment, ProcessingInstruction, and Text nodes have values. Trying to set the value of another kind of node is a no-op. The new value must be in the data encoding! It is not verified, converted, or checked. The value is not copied, its pointer is just stored. The user is responsible for persistence and freeing of that data.

It throws the NO_MODIFICATION_ALLOWED_ERR exception, if no modifications are allowed, or UNDEFINED_ERR, with an appropriate Oracle XML error code (see xml.h), in the case of an implementation defined error.

Syntax

void setNodeValue( 
   oratext* data) 
throw (DOMException);
ParameterDescription
data
new value for node


setPrefix()

Sets the namespace prefix of this node (as NULL-terminated string). Does not verify the prefix is defined! And does not verify that the prefix is in the current data encoding. Just causes a new qualified name to be formed from the new prefix and the old local name.

It throws the NO_MODIFICATION_ALLOWED_ERR exception, if no modifications are allowed. Or it throws NAMESPACE_ERR if the namespaceURI of this node is NULL, or if the specified prefix is "xml" and the namespaceURI of this node is different from "http://www.w3.org/XML/1998/namespace", or if this node is an attribute and the specified prefix is "xmlns" and the namespaceURI of this node is different from "http://www.w3.org/2000/xmlns/". Note that the INVALID_CHARACTER_ERR exception is never thrown since it is not checked how the prefix is formed

Syntax

void setPrefix( 
   oratext* prefix) 
throw (DOMException);
ParameterDescription
prefix
new namespace prefix


~NodeRef()

This is the default destructor. It cleans the reference to the node and, if the node is marked for deletion, deletes the node. If the node was marked for deep deletion, the tree under the node is also deleted (deallocated). It is usually called by the environment. But it can be called by the user directly if necessary.

Syntax

~NodeRef();

NotationRef Interface

Table 2-22 summarizes the methods available through NotationRef interface.

Table 2-22 Summary of NotationRef Methods; Dom Package

FunctionSummary

NotationRef()


Constructor.

getPublicId()


Get public ID.

getSystemId()


Get system ID.

~NotationRef()


Public default destructor.



NotationRef()

Class constructor.

SyntaxDescription
NotationRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given notation node after a call to create Notation.
NotationRef(
   const NotationRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(NotationRef) Node reference object


getPublicId()

Get public id.

Syntax

oratext* getPublicId() const;

Returns

(oratext*) public ID


getSystemId()

Get system id.

Syntax

oratext* getSystemId() const;

Returns

(oratext*) system ID


~NotationRef()

This is the default destructor.

Syntax

~NotationRef();

ProcessingInstructionRef Interface

Table 2-23 summarizes the methods available through ProcessingInstructionRef interface.

Table 2-23 Summary of ProcessingInstructionRef Methods; Dom Package

FunctionSummary

ProcessingInstructionRef()


Constructor.

getData()


Get processing instruction's data.

getTarget()


Get processing instruction's target.

setData()


Set processing instruction's data.

~ProcessingInstructionRef()


Public default destructor.



ProcessingInstructionRef()

Class constructor.

SyntaxDescription
ProcessingInstructionRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given ProcessingInstruction node after a call to create ProcessingInstruction.
ProcessingInstructionRef(
   const ProcessingInstructionRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(ProcessingInstructionRef) Node reference object


getData()

Returns the content (data) of a processing instruction (in the data encoding). The content is the part from the first non-whitespace character after the target until the ending "?>".

Syntax

oratext* getData() const;

Returns

(oratext*) processing instruction's data


getTarget()

Returns a processing instruction's target string. The target is the first token following the markup that begins the ProcessingInstruction. All ProcessingInstructions must have a target, though the data part is optional.

Syntax

oratext* getTarget() const;

Returns

(oratext*) processing instruction's target


setData()

Sets processing instruction's data (content), which must be in the data encoding. It is not permitted to set the data to NULL. The new data is not verified, converted, or checked.

Syntax

void setData( 
   oratext* data) 
throw (DOMException);
ParameterDescription
data
new data


~ProcessingInstructionRef()

This is the default destructor.

Syntax

~ProcessingInstructionRef();

Range Interface

Table 2-24 summarizes the methods available through Range interface.

Table 2-24 Summary of Range Methods; Dom Package

FunctionSummary

CompareBoundaryPoints()



cloneContent()



cloneRange()



deleteContents()



detach()


Invalidate the range.

extractContent()



getCollapsed()


Check if the range is collapsed.

getCommonAncestorContainer()


Get the deepest common ancestor node.

getEndContainer()


Get end container node.

getEndOffset()


Get offset of the end point.

getStartContainer()


Get start container node.

getStartOffset()


Get offset of the start point.

insertNode()



selectNodeContent()



selectNode()



setEnd()


Set end point.

setEndAfter()



setEndBefore()



setStart()


Set start point.

setStartAfter()



setStartBefore()



surroundContents()



toString()





CompareBoundaryPoints()

Compares boundary points.

Syntax

CompareHowCode compareBoundaryPoints( 
   unsigned short how,
   Range< Node>* sourceRange)
throw (DOMException);
ParameterDescription
how
how to compare
sourceRange
range of comparison

Returns

(CompareHowCode) result of comparison


cloneContent()

Makes a clone of the node, including its children.

Syntax

Node* cloneContents() throw (DOMException);

Returns

(Node*) subtree cloned


cloneRange()

Clones a range of nodes.

Syntax

Range< Node>* cloneRange();

Returns

(Range< Node>*) new cloned range


deleteContents()

Deletes contents of the node.

Syntax

void deleteContents() throw (DOMException);

detach()

Invalidates the range. It is not recommended to use this method since it leaves the object in invalid state. The preferable way is to call the destructor.

Syntax

void detach();

extractContent()

Extract the node.

Syntax

Node* extractContents() throw (DOMException);

Returns

(Node*) subtree extracted


getCollapsed()

Checks if the range is collapsed.

Syntax

boolean getCollapsed() const;

Returns

(boolean) TRUE if the range is collapsed, FALSE otherwise


getCommonAncestorContainer()

Get the deepest common ancestor of the node.

Syntax

Node* getCommonAncestorContainer() const;

Returns

(Node*) common ancestor node


getEndContainer()

Gets the container node.

Syntax

Node* getEndContainer() const;

Returns

(Node*) end container node


getEndOffset()

Get offset of the end point.

Syntax

long getEndOffset() const;

Returns

(long) offset


getStartContainer()

Get start container node.

Syntax

Node* getStartContainer() const;

Returns

(Node*) start container node


getStartOffset()

Get offset of the start point.

Syntax

long getStartOffset() const;

Returns

(long) offset


insertNode()

Inserts a node.

Syntax

void insertNode( 
   NodeRef< Node>& newNode)
throw (RangeException, DOMException);
ParameterDescription
newNode
inserted node


selectNodeContent()

Selects node content by its reference.

Syntax

void selectNodeContent( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


selectNode()

Selects a node.

Syntax

void selectNode( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


setEnd()

Sets an end point.

Syntax

void setEnd( 
   NodeRef< Node>& refNode, 
   long offset)
throw (RangeException, DOMException);
ParameterDescription
refNode
reference node
offset
offset


setEndAfter()

Sets the end pointer after a specified node.

Syntax

void setEndAfter( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


setEndBefore()

Set the end before a specified node.

Syntax

void setEndBefore( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


setStart()

Sets start point.

Syntax

void setStart( 
   NodeRef< Node>& refNode, 
   long offset)
throw (RangeException, DOMException);
ParameterDescription
refNode
reference node
offset
offset


setStartAfter()

Sets start pointer after a specified node.

Syntax

void setStartAfter( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


setStartBefore()

Sets start pointer before a specified node.

Syntax

void setStartBefore( 
   NodeRef< Node>& refNode)
throw (RangeException);
ParameterDescription
refNode
reference node


surroundContents()

Makes a node into a child of the specified node.

Syntax

void surroundContents( 
   NodeRef< Node>& newParent)
throw (RangeException, DOMException);
ParameterDescription
newParent
parent node


toString()

Converts an item into a string.

Syntax

oratext* toString();

Returns

(oratext*) string representation of the range


RangeException Interface

Table 2-25 summarizes the methods available through RangeException interface.

Table 2-25 Summary of RangeException Methods; Dom Package

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.

getRangeCode()


Get Range exception code embedded in the exception.



getCode()

Gets Oracle XML error code embedded in the exception. Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Gets the current language encoding of error messages. Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Get XML error message. Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getRangeCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning Range exception codes, defined in RangeExceptionCode, of the exceptional situations during execution.

Syntax

virtual RangeExceptionCode getRangeCode() const = 0;

Returns

(RangeExceptionCode) exception code


TextRef Interface

Table 2-26 summarizes the methods available through TextRef interface.

Table 2-26 Summary of TextRef Methods; Dom Package

FunctionSummary

TextRef()


Constructor.

splitText()


Split text node into two.

~TextRef()


Public default destructor.



TextRef()

Class constructor.

SyntaxDescription
TextRef(
   const NodeRef< Node>& node_ref,
   Node* nptr);
Used to create references to a given text node after a call to createtext.
TextRef(
   const TextRef< Node>& nref);
Copy constructor.

ParameterDescription
node_ref
reference to provide the context
nptr
referenced node

Returns

(TextRef) Node reference object


splitText()

Splits a single text node into two text nodes; the original data is split between them. The offset is zero-based, and is in characters, not bytes. The original node is retained, its data is just truncated. A new text node is created which contains the remainder of the original data, and is inserted as the next sibling of the original. The new text node is returned.

Syntax

Node* splitText( 
   ub4 offset) 
throw (DOMException);
ParameterDescription
offset
character offset where to split text

Returns

(Node*) new node


~TextRef()

This is the default destructor.

Syntax

~TextRef();

TreeWalker Interface

Table 2-27 summarizes the methods available through TreeWalker interface.

Table 2-27  Summary of TreeWalker Methods; Dom Package

FunctionSummary

adjustCtx()


Attach this tree walker to another context.

firstChild()


Get the first child of the current node.

lastChild()


Get the last child of the current node.

nextNode()


Get the next node.

nextSibling()


Get the next sibling node.

parentNode()


Get the parent of the current node.

previousNode()


Get the previous node.

previousSibling()


Get the previous sibling node.



adjustCtx()

Attaches this tree walker to the context associated with a given node reference

Syntax

void adjustCtx( 
   NodeRef< Node>& nref);
ParameterDescription
nref
reference to provide the context


firstChild()

Get the first child of the current node.

Syntax

Node* firstChild();

Returns

(Node*) pointer to first child node


lastChild()

Get the last child of the current node.

Syntax

Node* lastChild();

Returns

(Node*) pointer to last child node


nextNode()

Get the next node.

Syntax

Node* nextNode();

Returns

(Node*) pointer to the next node


nextSibling()

Get the next sibling node.

Syntax

Node* nextSibling();

Returns

(Node*) pointer to the next sibling node


parentNode()

Get the parent of the current node.

Syntax

Node* parentNode();

Returns

(Node*) pointer to the parent node


previousNode()

Get the previous node.

Syntax

Node* previousNode();

Returns

(Node*) pointer to previous node


previousSibling()

Get the previous sibling node.

Syntax

Node* previousSibling();

Returns

(Node*) pointer to the previous sibling node

PK6m䞲lPKX*A OEBPS/toc.ncx8 Oracle® Database XML C++ API Reference, 11g Release 2 (11.2) Cover Table of Contents List of Tables Oracle Database XML C++ API Reference, 11g Release 2 (11.2) Preface Package Ctx APIs for C++ Package Dom APIs for C++ Package IO APIs for C++ Package OracleXml APIs for C++ Package Parser APIs for C++ Package SOAP APIs for C++ Package Tools APIs for C++ Package XPath APIs for C++ Package XPointer APIs for C++ Package Xsl APIs for C++ Index Copyright PK=VJ= 8 PKX*A OEBPS/io.htm Package IO APIs for C++

3 Package IO APIs for C++

This chapter contains these sections:


IO Datatypes

Table 3-1 summarizes the datatypes of the IO package.

Table 3-1 Summary of Datatypes; IO Package

DatatypeDescription

InputSourceType


Defines input source types.



InputSourceType

Defines input source types.

Definition

typedef enum InputSourceType {
   ISRC_URI = 1, 
   ISRC_FILE = 2, 
   ISRC_BUFFER = 3, 
   ISRC_DOM = 4, 
   ISRC_CSTREAM = 5 } 
InputSourceType;

InputSource Interface

Table 3-2 summarizes the methods available through the IO interface

Table 3-2 Summary of IO Package Interfaces

FunctionSummary

getBaseURI()


Get the base URI.

getISrcType()


Get the input source type.

setBaseURI()


Set the base URI.



getBaseURI()

Gets the base URI. It is used by some input sources such as File and URI.

Syntax

oratext* getBaseURI() { return baseURI; }

Returns

(oratext*) base URI


getISrcType()

Gets the input source type.

Syntax

InputSourceType getISrcType() const { return isrctype; }

Returns

(InputSourceType) input source type


setBaseURI()

Sets the base URI. It is used by some input sources such as File and URI.

Syntax

void setBaseURI( oratext* base_URI)  baseURI = base_URI; }
PKF ZZPKX*AOEBPS/content.opf% Oracle® Database XML C++ API Reference, 11g Release 2 (11.2) en-US E10771-01 Oracle Corporation Oracle Corporation Oracle® Database XML C++ API Reference, 11g Release 2 (11.2) 2009-07-26T15:59:55Z Describes the C++ APIs for XML. PKCeU*%PKX*AOEBPS/dcommon/prodbig.gif GIF87a!!!)))111BBBZZZsss{{ZRRcZZ!!1!91)JB9B9)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B{1!!J9)!!Z!!c1!!kR!!s9Z!BckJs)19!!c!!ZRZ,H rrxB(Kh" DժuICiи@S z$G3TTʖ&7!f b`D 0!A  k,>SO[!\ *_t  Exr%*_}!#U #4 & ֩3|b]L ]t b+Da&R_2lEٱZ`aC)/яmvUkS r(-iPE Vv_{z GLt\2s!F A#葡JY r|AA,hB}q|B`du }00(䡆<pb,G+oB C0p/x$…– ]7 @2HFc ) @AD \0 LHG',(A` `@SC)_" PH`}Y+_|1.K8pAKMA @?3҄$[JPA)+NH I ,@8G0/@R T,`pF8Ѓ)$^$ DDTDlA@ s;PKPKX*AOEBPS/dcommon/darbbook.cssPKPKX*A!OEBPS/dcommon/O_signature_clr.JPG"(JFIF``C    $.' ",#(7),01444'9=82<.342C  2!!22222222222222222222222222222222222222222222222222" }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz ?( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (?O '~MQ$Vz;OlJi8L%\]UFjޙ%ԯS;rA]5ފ<׈]j7Ouyq$z'TQuw7Ŀ KX߁M2=S'TQt?.5w'97;~pq=" ~k?`'9q6 E|yayM^Om'fkC&<5x' ?A?Zx'jß={=SßM gVC.5+Hd֪xc^)Җufz{Cީ|D Vkznq|+Xa+{50rx{|OG.OϞ~f/ xxX[2H )c+#jpUOZYX\=SG ߨC|K@;_߆'e?LT?]:?>w ڔ`D^So~xo[Ӡ3i7B:Q8 Vc-ďoi:FM292~y_*_闱YN\Fr=xZ3鳎OwW_QEzW~c]REeaSM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&$c%9;PKː5PKX*AOEBPS/dcommon/cpyr.htm1 Oracle Legal Notices

Oracle Legal Notices

Copyright Notice

Copyright © 1994-2012, Oracle and/or its affiliates. All rights reserved.

Trademark Notice

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.

Intel and Intel Xeon are trademarks or registered trademarks of Intel Corporation. All SPARC trademarks are used under license and are trademarks or registered trademarks of SPARC International, Inc. AMD, Opteron, the AMD logo, and the AMD Opteron logo are trademarks or registered trademarks of Advanced Micro Devices. UNIX is a registered trademark of The Open Group.

License Restrictions Warranty/Consequential Damages Disclaimer

This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited.

Warranty Disclaimer

The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing.

Restricted Rights Notice

If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable:

U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are "commercial computer software" or "commercial technical data" pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms set forth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.

Hazardous Applications Notice

This software or hardware is developed for general use in a variety of information management applications. It is not developed or intended for use in any inherently dangerous applications, including applications that may create a risk of personal injury. If you use this software or hardware in dangerous applications, then you shall be responsible to take all appropriate fail-safe, backup, redundancy, and other measures to ensure its safe use. Oracle Corporation and its affiliates disclaim any liability for any damages caused by use of this software or hardware in dangerous applications.

Third-Party Content, Products, and Services Disclaimer

This software or hardware and documentation may provide access to or information on content, products, and services from third parties. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to third-party content, products, and services. Oracle Corporation and its affiliates will not be responsible for any loss, costs, or damages incurred due to your access to or use of third-party content, products, or services.

Alpha and Beta Draft Documentation Notice

If this document is in prerelease status:

This documentation is in prerelease status and is intended for demonstration and preliminary use only. It may not be specific to the hardware on which you are using the software. Oracle Corporation and its affiliates are not responsible for and expressly disclaim all warranties of any kind with respect to this documentation and will not be responsible for any loss, costs, or damages incurred due to the use of this documentation.

Oracle Logo

PKN61PKX*AOEBPS/dcommon/masterix.gif.GIF89a1ޜΌscJk1Rs!Bc1J),@IS@0"1 Ѿb$b08PbL,acr B@(fDn Jx11+\%1 p { display: none; } /* Class Selectors */ .ProductTitle { font-family: sans-serif; } .BookTitle { font-family: sans-serif; } .VersionNumber { font-family: sans-serif; } .PrintDate { font-family: sans-serif; font-size: small; } .PartNumber { font-family: sans-serif; font-size: small; } PKeӺ1,PKX*AOEBPS/dcommon/larrow.gif#GIF87a絵ƌֵƽ{{ss֜ƔZZ{{{{ZZssZZccJJJJRRBBJJJJ991111))!!{,@pH,Ȥrl:ШtpHc`  өb[.64ꑈ53=Z]'yuLG*)g^!8C?-6(29K"Ĩ0Яl;U+K9^u2,@@ (\Ȱ Ë $P`lj 8x I$4H *(@͉0dа8tA  DсSP v"TUH PhP"Y1bxDǕ̧_=$I /& .)+ 60D)bB~=0#'& *D+l1MG CL1&+D`.1qVG ( "D2QL,p.;u. |r$p+5qBNl<TzB"\9e0u )@D,¹ 2@C~KU 'L6a9 /;<`P!D#Tal6XTYhn[p]݅ 7}B a&AƮe{EɲƮiEp#G}D#xTIzGFǂEc^q}) Y# (tۮNeGL*@/%UB:&k0{ &SdDnBQ^("@q #` @1B4i@ aNȅ@[\B >e007V[N(vpyFe Gb/&|aHZj@""~ӎ)t ? $ EQ.սJ$C,l]A `8A o B C?8cyA @Nz|`:`~7-G|yQ AqA6O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9B)!)J9BH`\Ȑ:pظа"A6DBH,V@Dڹ'G"v Æ ܥ;n;!;>xAܽ[G.\rQC wr}BŊQ A9ᾑ#5Y0VȒj0l-GqF>ZpM rb ;=.ސW-WѻWo ha!}~ْ ; t 53 :\ 4PcD,0 4*_l0K3-`l.j!c Aa|2L4/1C`@@md;(H*80L0L(h*҇҆o#N84pC (xO@ A)J6rVlF r  fry†$r_pl5xhA+@A=F rGU a 1х4s&H Bdzt x#H%Rr (Ѐ7P`#Rщ'x" #0`@~i `HA'Tk?3!$`-A@1l"P LhʖRG&8A`0DcBH sq@AXB4@&yQhPAppxCQ(rBW00@DP1E?@lP1%T` 0 WB~nQ@;PKGC PKX*AOEBPS/dcommon/rarrow.gif/GIF87a絵ƌֵƽ{{ss֜ƔZZ{{{{ZZssZZccJJJJRRBBJJJJ991111))!!{,@pH,Ȥrl:ШLlԸ NCqWEd)#34vwwpN|0yhX!'+-[F 'n5 H $/14w3% C .90" qF 7&E "D mnB|,c96) I @0BW{ᢦdN p!5"D`0 T 0-]ʜ$;PKJV^PKX*AOEBPS/dcommon/mix.gifkGIF89aZZZBBBJJJkkk999sss!!!111cccֽ{{{RRR)))猌ƭ{s{sks!,@@pH,B$ 8 t:<8 *'ntPP DQ@rIBJLNPTVEMOQUWfj^!  hhG H  kCúk_a Ǥ^ h`B BeH mm  #F` I lpǎ,p B J\Y!T\(dǏ!Gdˆ R53ټ R;iʲ)G=@-xn.4Y BuU(*BL0PX v`[D! | >!/;xP` (Jj"M6 ;PK枰pkPKX*AOEBPS/dcommon/doccd_epub.jsM /* Copyright 2006, 2012, Oracle and/or its affiliates. All rights reserved. Author: Robert Crews Version: 2012.3.17 */ function addLoadEvent(func) { var oldOnload = window.onload; if (typeof(window.onload) != "function") window.onload = func; else window.onload = function() { oldOnload(); func(); } } function compactLists() { var lists = []; var ul = document.getElementsByTagName("ul"); for (var i = 0; i < ul.length; i++) lists.push(ul[i]); var ol = document.getElementsByTagName("ol"); for (var i = 0; i < ol.length; i++) lists.push(ol[i]); for (var i = 0; i < lists.length; i++) { var collapsible = true, c = []; var li = lists[i].getElementsByTagName("li"); for (var j = 0; j < li.length; j++) { var p = li[j].getElementsByTagName("p"); if (p.length > 1) collapsible = false; for (var k = 0; k < p.length; k++) { if ( getTextContent(p[k]).split(" ").length > 12 ) collapsible = false; c.push(p[k]); } } if (collapsible) { for (var j = 0; j < c.length; j++) { c[j].style.margin = "0"; } } } function getTextContent(e) { if (e.textContent) return e.textContent; if (e.innerText) return e.innerText; } } addLoadEvent(compactLists); function processIndex() { try { if (!/\/index.htm(?:|#.*)$/.test(window.location.href)) return false; } catch(e) {} var shortcut = []; lastPrefix = ""; var dd = document.getElementsByTagName("dd"); for (var i = 0; i < dd.length; i++) { if (dd[i].className != 'l1ix') continue; var prefix = getTextContent(dd[i]).substring(0, 2).toUpperCase(); if (!prefix.match(/^([A-Z0-9]{2})/)) continue; if (prefix == lastPrefix) continue; dd[i].id = prefix; var s = document.createElement("a"); s.href = "#" + prefix; s.appendChild(document.createTextNode(prefix)); shortcut.push(s); lastPrefix = prefix; } var h2 = document.getElementsByTagName("h2"); for (var i = 0; i < h2.length; i++) { var nav = document.createElement("div"); nav.style.position = "relative"; nav.style.top = "-1.5ex"; nav.style.left = "1.5em"; nav.style.width = "90%"; while (shortcut[0] && shortcut[0].toString().charAt(shortcut[0].toString().length - 2) == getTextContent(h2[i])) { nav.appendChild(shortcut.shift()); nav.appendChild(document.createTextNode("\u00A0 ")); } h2[i].parentNode.insertBefore(nav, h2[i].nextSibling); } function getTextContent(e) { if (e.textContent) return e.textContent; if (e.innerText) return e.innerText; } } addLoadEvent(processIndex); PKo"nR M PKX*AOEBPS/dcommon/toc.gifGIF89a1ΥΥ{c{Z{JkJk1Rk,@IK% 0| eJB,K-1i']Bt9dz0&pZ1o'q(؟dQ=3S SZC8db f&3v2@VPsuk2Gsiw`"IzE%< C !.hC IQ 3o?39T ҍ;PKv I PKX*AOEBPS/dcommon/topnav.gifGIF89a1ֽ筽ޭƔkZZk{Bc{,@ ) l)-'KR$&84 SI) XF P8te NRtHPp;Q%Q@'#rR4P fSQ o0MX[) v + `i9gda/&L9i*1$#"%+ ( E' n7Ȇ(,҅(L@(Q$\x 8=6 'נ9tJ&"[Epljt p#ѣHb :f F`A =l|;&9lDP2ncH R `qtp!dȐYH›+?$4mBA9 i@@ ]@ꃤFxAD*^Ŵ#,(ε  $H}F.xf,BD Z;PK1FAPKX*AOEBPS/dcommon/bp_layout.css# @charset "utf-8"; /* bp_layout.css Copyright 2007, Oracle and/or its affiliates. All rights reserved. */ body { margin: 0ex; padding: 0ex; } h1 { display: none; } #FOOTER { border-top: #0d4988 solid 10px; background-color: inherit; color: #e4edf3; clear: both; } #FOOTER p { font-size: 80%; margin-top: 0em; margin-left: 1em; } #FOOTER a { background-color: inherit; color: gray; } #LEFTCOLUMN { float: left; width: 50%; } #RIGHTCOLUMN { float: right; width: 50%; clear: right; /* IE hack */ } #LEFTCOLUMN div.portlet { margin-left: 2ex; margin-right: 1ex; } #RIGHTCOLUMN div.portlet { margin-left: 1ex; margin-right: 2ex; } div.portlet { margin: 2ex 1ex; padding-left: 0.5em; padding-right: 0.5em; border: 1px #bcc solid; background-color: #f6f6ff; color: black; } div.portlet h2 { margin-top: 0.5ex; margin-bottom: 0ex; font-size: 110%; } div.portlet p { margin-top: 0ex; } div.portlet ul { list-style-type: none; padding-left: 0em; margin-left: 0em; /* IE Hack */ } div.portlet li { text-align: right; } div.portlet li cite { font-style: normal; float: left; } div.portlet li a { margin: 0px 0.2ex; padding: 0px 0.2ex; font-size: 95%; } #NAME { margin: 0em; padding: 0em; position: relative; top: 0.6ex; left: 10px; width: 80%; } #PRODUCT { font-size: 180%; } #LIBRARY { color: #0b3d73; background: inherit; font-size: 180%; font-family: serif; } #RELEASE { position: absolute; top: 28px; font-size: 80%; font-weight: bold; } #TOOLS { list-style-type: none; position: absolute; top: 1ex; right: 2em; margin: 0em; padding: 0em; background: inherit; color: black; } #TOOLS a { background: inherit; color: black; } #NAV { float: left; width: 96%; margin: 3ex 0em 0ex 0em; padding: 2ex 0em 0ex 4%; /* Avoiding horizontal scroll bars. */ list-style-type: none; background: transparent url(../gifs/nav_bg.gif) repeat-x bottom; } #NAV li { float: left; margin: 0ex 0.1em 0ex 0em; padding: 0ex 0em 0ex 0em; } #NAV li a { display: block; margin: 0em; padding: 3px 0.7em; border-top: 1px solid gray; border-right: 1px solid gray; border-bottom: none; border-left: 1px solid gray; background-color: #a6b3c8; color: #333; } #SUBNAV { float: right; width: 96%; margin: 0ex 0em 0ex 0em; padding: 0.1ex 4% 0.2ex 0em; /* Avoiding horizontal scroll bars. */ list-style-type: none; background-color: #0d4988; color: #e4edf3; } #SUBNAV li { float: right; } #SUBNAV li a { display: block; margin: 0em; padding: 0ex 0.5em; background-color: inherit; color: #e4edf3; } #SIMPLESEARCH { position: absolute; top: 5ex; right: 1em; } #CONTENT { clear: both; } #NAV a:hover, #PORTAL_1 #OVERVIEW a, #PORTAL_2 #OVERVIEW a, #PORTAL_3 #OVERVIEW a, #PORTAL_4 #ADMINISTRATION a, #PORTAL_5 #DEVELOPMENT a, #PORTAL_6 #DEVELOPMENT a, #PORTAL_7 #DEVELOPMENT a, #PORTAL_11 #INSTALLATION a, #PORTAL_15 #ADMINISTRATION a, #PORTAL_16 #ADMINISTRATION a { background-color: #0d4988; color: #e4edf3; padding-bottom: 4px; border-color: gray; } #SUBNAV a:hover, #PORTAL_2 #SEARCH a, #PORTAL_3 #BOOKS a, #PORTAL_6 #WAREHOUSING a, #PORTAL_7 #UNSTRUCTURED a, #PORTAL_15 #INTEGRATION a, #PORTAL_16 #GRID a { position: relative; top: 2px; background-color: white; color: #0a4e89; } PK3( # PKX*AOEBPS/dcommon/bookicon.gif:GIF87a!!!)))111999BBBJJJRRRZZZccckkksss{{{ޭ{{ZRRcZZRJJJBB)!!skRB9{sν{skskcZRJ1)!֭ƽ{ZZRccZJJBBB999111)JJ9BB1ZZB!!ﭵBJJ9BB!!))Jk{)1!)BRZJ{BsR!RRJsJ!J{s!JsBkks{RsB{J{c1RBs1ZB{9BJ9JZ!1BJRRs!9R!!9Z9!1)J19JJRk19R1Z)!1B9R1RB!)J!J1R)J119!9J91!9BkksBBJ119BBR!))9!!!JB1JJ!)19BJRZckތ1)1J9B,H*\hp >"p`ƒFF "a"E|ժOC&xCRz OBtX>XE*O>tdqAJ +,WxP!CYpQ HQzDHP)T njJM2ꔀJ2T0d#+I:<жk 'ꤱF AB @@nh Wz' H|-7f\A#yNR5 /PM09u UjćT|q~Yq@&0YZAPa`EzI /$AD Al!AAal 2H@$ PVAB&c*ؠ p @% p-`@b`uBa l&`3Ap8槖X~ vX$Eh`.JhAepA\"Bl, :Hk;PKx[?:PKX*AOEBPS/dcommon/conticon.gif^GIF87a!!!)))111999BBBJJJRRRZZZccckkksss{{{ZRR޽{{ssskkkcccZ991ccRZZBBJJZck)19ZcsBJZ19J!k{k)Z1RZs1!B)!J91{k{)J!B!B911)k{cs!1s!9)s!9!B!k)k1c!)Z!R{9BJcckZZcBBJ99B119{{!!)BBRBBZ!))999R99Z!!999c1!9!)19B1)!B9R,  oua\h2SYPa aowwxYi 9SwyyxxyYSd $'^qYȵYvh ч,/?g{н.J5fe{ڶyY#%/}‚e,Z|pAܠ `KYx,ĉ&@iX9|`p ]lR1khٜ'E 6ÅB0J;t X b RP(*MÄ!2cLhPC <0Ⴁ  $4!B 6lHC%<1e H 4p" L`P!/,m*1F`#D0D^!AO@..(``_؅QWK>_*OY0J@pw'tVh;PKp*c^PKX*AOEBPS/dcommon/blafdoc.cssL@charset "utf-8"; /* Copyright 2002, 2011, Oracle and/or its affiliates. All rights reserved. Author: Robert Crews Version: 2011.10.7 */ body { font-family: Tahoma, sans-serif; /* line-height: 125%; */ color: black; background-color: white; font-size: small; } * html body { /* http://www.info.com.ph/~etan/w3pantheon/style/modifiedsbmh.html */ font-size: x-small; /* for IE5.x/win */ f\ont-size: small; /* for other IE versions */ } h1 { font-size: 165%; font-weight: bold; border-bottom: 1px solid #ddd; width: 100%; } h2 { font-size: 152%; font-weight: bold; } h3 { font-size: 139%; font-weight: bold; } h4 { font-size: 126%; font-weight: bold; } h5 { font-size: 113%; font-weight: bold; display: inline; } h6 { font-size: 100%; font-weight: bold; font-style: italic; display: inline; } a:link { color: #039; background: inherit; } a:visited { color: #72007C; background: inherit; } a:hover { text-decoration: underline; } a img, img[usemap] { border-style: none; } code, pre, samp, tt { font-family: monospace; font-size: 110%; } caption { text-align: center; font-weight: bold; width: auto; } dt { font-weight: bold; } table { font-size: small; /* for ICEBrowser */ } td { vertical-align: top; } th { font-weight: bold; text-align: left; vertical-align: bottom; } ol ol { list-style-type: lower-alpha; } ol ol ol { list-style-type: lower-roman; } td p:first-child, td pre:first-child { margin-top: 0px; margin-bottom: 0px; } table.table-border { border-collapse: collapse; border-top: 1px solid #ccc; border-left: 1px solid #ccc; } table.table-border th { padding: 0.5ex 0.25em; color: black; background-color: #f7f7ea; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; } table.table-border td { padding: 0.5ex 0.25em; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; } span.gui-object, span.gui-object-action { font-weight: bold; } span.gui-object-title { } p.horizontal-rule { width: 100%; border: solid #cc9; border-width: 0px 0px 1px 0px; margin-bottom: 4ex; } div.zz-skip-header { display: none; } td.zz-nav-header-cell { text-align: left; font-size: 95%; width: 99%; color: black; background: inherit; font-weight: normal; vertical-align: top; margin-top: 0ex; padding-top: 0ex; } a.zz-nav-header-link { font-size: 95%; } td.zz-nav-button-cell { white-space: nowrap; text-align: center; width: 1%; vertical-align: top; padding-left: 4px; padding-right: 4px; margin-top: 0ex; padding-top: 0ex; } a.zz-nav-button-link { font-size: 90%; } div.zz-nav-footer-menu { width: 100%; text-align: center; margin-top: 2ex; margin-bottom: 4ex; } p.zz-legal-notice, a.zz-legal-notice-link { font-size: 85%; /* display: none; */ /* Uncomment to hide legal notice */ } /*************************************/ /* Begin DARB Formats */ /*************************************/ .bold, .codeinlinebold, .syntaxinlinebold, .term, .glossterm, .seghead, .glossaryterm, .keyword, .msg, .msgexplankw, .msgactionkw, .notep1, .xreftitlebold { font-weight: bold; } .italic, .codeinlineitalic, .syntaxinlineitalic, .variable, .xreftitleitalic { font-style: italic; } .bolditalic, .codeinlineboldital, .syntaxinlineboldital, .titleinfigure, .titleinexample, .titleintable, .titleinequation, .xreftitleboldital { font-weight: bold; font-style: italic; } .itemizedlisttitle, .orderedlisttitle, .segmentedlisttitle, .variablelisttitle { font-weight: bold; } .bridgehead, .titleinrefsubsect3 { font-weight: bold; } .titleinrefsubsect { font-size: 126%; font-weight: bold; } .titleinrefsubsect2 { font-size: 113%; font-weight: bold; } .subhead1 { display: block; font-size: 139%; font-weight: bold; } .subhead2 { display: block; font-weight: bold; } .subhead3 { font-weight: bold; } .underline { text-decoration: underline; } .superscript { vertical-align: super; } .subscript { vertical-align: sub; } .listofeft { border: none; } .betadraft, .alphabetanotice, .revenuerecognitionnotice { color: #e00; background: inherit; } .betadraftsubtitle { text-align: center; font-weight: bold; color: #e00; background: inherit; } .comment { color: #080; background: inherit; font-weight: bold; } .copyrightlogo { text-align: center; font-size: 85%; } .tocsubheader { list-style-type: none; } table.icons td { padding-left: 6px; padding-right: 6px; } .l1ix dd, dd dl.l2ix, dd dl.l3ix { margin-top: 0ex; margin-bottom: 0ex; } div.infoboxnote, div.infoboxnotewarn, div.infoboxnotealso { margin-top: 4ex; margin-right: 10%; margin-left: 10%; margin-bottom: 4ex; padding: 0.25em; border-top: 1pt solid gray; border-bottom: 1pt solid gray; } p.notep1 { margin-top: 0px; margin-bottom: 0px; } .tahiti-highlight-example { background: #ff9; text-decoration: inherit; } .tahiti-highlight-search { background: #9cf; text-decoration: inherit; } .tahiti-sidebar-heading { font-size: 110%; margin-bottom: 0px; padding-bottom: 0px; } /*************************************/ /* End DARB Formats */ /*************************************/ @media all { /* * * { line-height: 120%; } */ dd { margin-bottom: 2ex; } dl:first-child { margin-top: 2ex; } } @media print { body { font-size: 11pt; padding: 0px !important; } a:link, a:visited { color: black; background: inherit; } code, pre, samp, tt { font-size: 10pt; } #nav, #search_this_book, #comment_form, #comment_announcement, #flipNav, .noprint { display: none !important; } body#left-nav-present { overflow: visible !important; } } PKʍPKX*AOEBPS/dcommon/rightnav.gif&GIF89a1ֽ筽ޭƔkZZk{Bc{,@ ) l)- $CҠҀ ! D1 #:aS( c4B0 AC8 ְ9!%MLj Z * ctypJBa H t>#Sb(clhUԂ̗4DztSԙ9ZQҀEPEPEPEPEPEPEPM=iԍP Gii c*yF 1׆@\&o!QY00_rlgV;)DGhCq7~..p&1c:u֫{fI>fJL$}BBP?JRWc<^j+χ5b[hֿ- 5_j?POkeQ^hֿ1L^ H ?Qi?z?+_xɔŪ\썽O]χ>)xxV/s)e6MI7*ߊޛv֗2J,;~E4yi3[nI`Ѱe9@zXF*W +]7QJ$$=&`a۾?]N T䏟'X)Ɣkf:j |>NBWzYx0t!* _KkoTZ?K Gc+UyڹgNuh^iSo5{\ܹ3Yos}.>if FqR5\/TӮ#]HS0DKu{($"2xִ{SBJ8=}Y=.|Tsц2UЫ%.InaegKo z ݎ3ֹxxwM&2S%';+I',kW&-"_¿_ Vq^ܫ6pfT2RV A^6RKetto^[{w\jPZ@ޢN4/XN#\42j\(z'j =~-I#:q[Eh|X:sp* bifp$TspZ-}NM*B-bb&*xUr#*$M|QWY ~p~- fTED6O.#$m+t$˙H"Gk=t9r娮Y? CzE[/*-{c*[w~o_?%ƔxZ:/5𨴟q}/]22p qD\H"K]ZMKR&\C3zĽ[PJm]AS)Ia^km M@dК)fT[ijW*hnu Ͳiw/bkExG£@f?Zu.s0(<`0ֹoxOaDx\zT-^ѧʧ_1+CP/p[w 9~U^[U<[tĽwPv[yzD1W='u$Oeak[^ |Gk2xv#2?¹TkSݕ| rݞ[Vi _Kz*{\c(Ck_܏|?u jVڔ6f t?3nmZ6f%QAjJf9Rq _j7Z-y.pG$Xb]0')[_k;$̭?&"0FOew7 z-cIX岛;$u=\an$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Sw-aO n<[YJgL#6i g5ЖDZ14cʝ!!\/M}/_AYR__>oC? _?7_G#RERW쏞KB}JxGSkǕA pƱơP m]hwB7U$Zq M95"3q1ioATߚ{g.t uu2k=;h#YB= fgS :TdLԃ!44mFK{Hrd^7oz|BVr<{)6AXգV»|>*/hS܏z͆OM=Εq (s|s׊LKQI :9NJ)P+!ʣoAF>+=@I}"x/}۠1aנc¹4emC:>p_xWKX` >R3_S½èųp3޺u3N e یbmͺ<_ mnݮ1Op?Gm)Qb%N585'%Ahs\6yw!"&Ɨ._wk)}GP;Z!#\"< *oƾ\)}N>"լ/~]Lg}pBG X?<zZ#x69S=6) jzx=y9O&>+e!!? ?s~k5Gʏ)?*ce7Ox~k5􇔾Q/e7/Ԑ#3OgNC0] ;_FiRl>Q.g>!%k#ú:Kn'&}?U@\pџPtp)v<{_i}Oվֲ3XIYIx~b<D?(=_JXH=bbi=Oh?_ C_O)}oW쏜? %Ƶ;-RYFi`wۭ{ϖZMtQ$"c_+ԃx1*0b;ԕ݋ESQEQEQEQEQEQEQEQEQEQZ(1F)h1K@XLRE&9P (bf{RӨ&)PEPEPbԴPGKZ(iإbn(:A%S0(-&)P+ ڎԴP11F)h&:LRmQ@Q@Š(((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((((PKje88PKX*AOEBPS/dcommon/help.gif!GIF89a1εֵ֜֜{kZsBc{,@ )sƠTQ$8(4ʔ%ŌCK$A HP`$h8ŒSd+ɡ\ H@%' 6M HO3SJM /:Zi[7 \( R9r ERI%  N=aq   qƦs *q-n/Sqj D XZ;PKއ{&!PKX*A OEBPS/toc.htm*wՈ Table of Contents

Contents

List of Tables

Title and Copyright Information

Preface

1 Package Ctx APIs for C++

2 Package Dom APIs for C++

3 Package IO APIs for C++

4 Package OracleXml APIs for C++

5 Package Parser APIs for C++

6 Package SOAP APIs for C++

7 Package Tools APIs for C++

8 Package XPath APIs for C++

9 Package XPointer APIs for C++

10 Package Xsl APIs for C++

Index

PK"}S/w*wPKX*AOEBPS/xpointer.htmAL Package XPointer APIs for C++

9 Package XPointer APIs for C++

XPointer package contains XPointer processing related types and interfaces.

This chapter contains the following sections:


XPointer Datatypes

Table 9-1 summarizes the datatypes of the XPointer package.

Table 9-1 Summary of Datatypes; XPointer Package

DatatypeDescription

XppExceptionCode


Defines XPath compiler identifiers.

XppPrIdType


Defines XPointer processor identifiers.

XppLocType


Defines location types for XPointer.



XppExceptionCode

XPointer related exception codes.

Definition

typedef enum XPathCompIdType {
   XvmXPathCompCXml = 1 
} XPathCompIdType;

XppPrIdType

Defines XPointer processor identifiers.

Definition

typedef enum XppPrIdType {   XPtrPrCXml         = 1} XppPrIdType;
 

XppLocType

Defines location types for XPointer.

Definition

typedef enum XppLocType {
      XPPLOC_TYPE_UNKNOWN = 0,
      XPPLOC_TYPE_NODE    = 1,
      XPPLOC_TYPE_POINT   = 2,
      XPPLOC_TYPE_RANGE   = 3,
      XPPLOC_TYPE_BOOL    = 4,
      XPPLOC_TYPE_NUM     = 5,
      XPPLOC_TYPE_STR     = 6
    } XppLocType;

Processor Interface

Table 9-2 summarizes the methods available through the Processor interface.

Table 9-2 Summary of Processor Methods; XPointer Package

FunctionSummary

getProcessorId()


Get processor's Id.

process()


Evaluate XPointer expression against given document.



getProcessorId()

Get Processor Id.

Syntax

virtual XppPrIdType getProcessorId() const = 0;

Returns

(XppPrIdType) Processor's Id


process()

Evaluates XPointer expression against given document and returns result XPointer location set object.

Syntax

virtual XppLocSet< Node>* process (
   InputSource* isrc_ptr,
   oratext* xpp_exp)
throw (XppException) = 0;
ParameterDescription
isrc_ptr
instance document to process
xpp_exp
XPointer expression

Returns

(XppLocSet*) XPath object


XppException Interface

Table 9-3 summarizes the methods available through the XPPException interface.

Table 9-3 Summary of XppException Methods; Package XPointer

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMesLang()


Get Oracle XML error message.

getXppCode()


Get XPointer exception code embedded in the exception.



getCode()

Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getXppCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning XPointer processor and compiler exception codes, defined in XppExceptionCode, of the exceptional situations during execution.

Syntax

virtual XppExceptionCode getXppCode() const = 0;

Returns

(XppExceptionCode) exception code


XppLocation Interface

Table 9-4 summarizes the methods available through the XppLocation interface.

Table 9-4 Summary of XppLocation Methods; XPointer Package

FunctionSummary

getLocType()


Get the location type.

getNode()


Get the node.

getRange()


Get range.



getLocType()

Get the location type.

Syntax

 XppLocType getLocType() const;

getNode()

Get the node.

Syntax

 Node* getNode() const;

getRange()

Get range.

Syntax

 Range< Node>* getRange() const;

XppLocSet Interface

Table 9-5 summarizes the methods available through the XppLocSet interface.

Table 9-5 Summary of XppLocSet Methods; XPointer Package

FunctionSummary

getItem()


Get item given its index.

getSize()


Get location set size.



getItem()

Returns a reference to the item.

Syntax

XppLocation< Node>* getItem(
   ub4 index) const;
ParameterDescription
index
index of an item

Returns

(XppLocation*) reference to the item


getSize()

The size of the node set.

Syntax

ub4 getSize() const;

Returns

(ub4) node set size

PK FLALPKX*AOEBPS/tools.htm`~ Package Tools APIs for C++

7 Package Tools APIs for C++

Tools packages contains types and interfaces related to the creation and instantiation of Oracle XML tools.

This chapter contains this section:


Tools Datatypes

Table 7-1 summarizes the datatypes of the Tools package.

Table 7-1 Summary of Datatypes; Tools Package

DatatypeDescription

FactoryExceptionCode


Tool Factory exceptions.



FactoryExceptionCode

Tool Factory exceptions.

Definition

typedef enum FactoryExceptionCode {
   FACTORY_UNDEFINED_ERR = 0,
   FACTORY_OTHER_ERR = 1 
} FactoryExceptionCode;

Factory Interface

Table 7-2 summarizes the methods available through the Factory interface.

Table 7-2 Summary of Factory Methods; Tools Package

FunctionSummary

Factory()


Constructor.

createDOMParser()


Create DOM Parser.

createSAXParser()


Create SAX Parser.

createSchemaValidator()


Create schema validator.

createXPathCompProcessor()


Create extended XPath processor.

createXPathCompiler()


Create XPath compiler.

createXPathProcessor()


Create XPath processor.

createXPointerProcessor()


Create XPointer processor.

createXslCompiler()


Create Xsl compiler.

createXslExtendedTransformer()


Create XSL extended transformer.

createXslTransformer()


Create XSL transformer.

getContext()


Get factory's context.

~Factory()


Default destructor.



Factory()

Class constructor.

SyntaxDescription
Factory() 
throw (FactoryException);
Default constructor
Factory(
   Context* ctx_ptr) 
throw (FactoryException);
Creates factory object given a Context object.

ParameterDescription
ctx_ptr
pointer to a context object

Returns

(Factory) object


createDOMParser()

Creates DOM parser.

Syntax

DOMParser< Context, Node>* createDOMParser (
   DOMParserIdType id_type, 
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
parser id type
ctx_ptr
pointer to a Context object

Returns

(DOMParser*) pointer to the parser object


createSAXParser()

Creates SAX parser.

Syntax

SAXParser< Context>* createSAXParser (
   SAXParserIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
parser id type
ctx_ptr
pointer to a Context object

Returns

(SAXParser*) pointer to the parser object


createSchemaValidator()

Creates schema validator.

Syntax

SchemaValidator< Node>* createSchemaValidator (
   SchValidatorIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
validator id type
ctx_ptr
pointer to a Context object

Returns

(SchemaValidator*) pointer to the validator object


createXPathCompProcessor()

Creates extended XPath processor; takes XvmPrCXml value only.

Syntax

CompProcessor< Context, Node>* createXPathCompProcessor (
   XPathPrIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
processor id type
ctx_ptr
pointer to a Context object

Returns

(CompProcessor*) pointer to the processor object


createXPathCompiler()

Creates XPath compiler.

Syntax

XPath::Compiler< Context, Node>* createXPathCompiler (
   XPathCompIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
compiler id type
ctx_ptr
pointer to a Context object

Returns

(XPathCompiler*) pointer to the compiler object


createXPathProcessor()

Creates XPath processor.

Syntax

XPath::Processor< Context, Node>* createXPathProcessor (
   XPathPrIdType id_type, 
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
processor id type
ctx_ptr
pointer to a Context object

Returns

(Processor*) pointer to the processor object


createXPointerProcessor()

Creates XPointer processor.

Syntax

XPointer::Processor< Context, Node>* createXPointerProcessor (
   XppPrIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
processor id type
ctx_ptr
pointer to a Context object

Returns

(Processor*) pointer to the processor object


createXslCompiler()

Creates Xsl compiler.

Syntax

Xsl::Compiler< Context, Node>* createXslCompiler (
   XslCompIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
compiler id type
ctx_ptr
pointer to a Context object

Returns

(Compiler*) pointer to the compiler object


createXslExtendedTransformer()

Creates XSL extended trnasformer; takes XvmTrCXml value only.

Syntax

CompTransformer< Context, Node>* createXslExtendedTransformer (
   XslTrIdType id_type,
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
transformer id type
ctx_ptr
pointer to a Context object

Returns

(CompTrasformer*) pointer to the transformer object


createXslTransformer()

Creates XSL trnasformer.

Syntax

Transformer< Context, Node>* createXslTransformer (
   XslTrIdType id_type, 
   Context* ctx_ptr = NULL)
throw (FactoryException);
ParameterDescription
id_type
transformer id type
ctx_ptr
pointer to a Context object

Returns

(Trasformer*) pointer to the transformer object


getContext()

Returns factory's context.

Syntax

Context* getContext() const;

Returns

(Context*) pointer to the context object


~Factory()

Default destructor.

Syntax

~Factory();

FactoryException Interface

Table 7-3 summarizes the methods available through the FactoryException interface.

Table 7-3 Summary of FactoryException Methods; Tools Package

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getFactoryCode()


Get FactoryException code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.



getCode()

Gets Oracle XML error code embedded in the exception. Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getFactoryCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning exception codes specific to the Tools namespace, defined in FactoryExceptionCode, of the exceptional situations during execution

Syntax

virtual FactoryExceptionCode getFactoryCode() const = 0;

Returns

(FactoryExceptionCode) exception code


getMesLang()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message

PKea^e~`~PKX*A OEBPS/ctx.htm Package Ctx APIs for C++

1 Package Ctx APIs for C++

Ctx is the namespace for TCtx XML context related types and interfaces.

This chapter contains the following sections:


Ctx Datatypes

Table 1-1 summarizes the datatypes of the Ctx package.

Table 1-1 Summary of Datatypes; Ctx Package

DatatypeDescription

encoding


A single supported encoding.

encodings


An array of encodings.



encoding

A single supported encoding.

Definition

typedef struct encoding {
   oratext *encname;
   oratext *encvalue;
} encoding;

encodings

An array of encodings.

Definition

typedef struct encodings {
   unsigned num;
   encoding *enc; 
} encodings;

MemAllocator Interface

Table 1-2 summarizes the methods available through the MemAllocator interface.

Table 1-2 Summary of MemAllocator Methods; Ctx Package

FunctionSummary

alloc()


Allocates memory of given size.

dealloc()


Deallocate memory pointed to by the argument.

~MemAllocator()


Virtual destructor - interface level handle to actual destructors.



alloc()

This is a virtual member function that defines a prototype for user defined allocator functions

Syntax

virtual void* alloc(
   ub4 size) = 0;
ParameterDescription
size
memory size


dealloc()

This is a virtual member function that defines a prototype for user defined deallocator functions. Such deallocators are supposed to deallocate memory allocated by the alloc member functions

Syntax

virtual void dealloc(
   void* ptr) = 0;
ParameterDescription
ptr
pointer to previously allocated memory


~MemAllocator()

It provides an interface level handle to actual destructors that can be invoked without knowing their names or implementations

Syntax

virtual ~MemAllocator() {}

TCtx Interface

Table 1-3 summarizes the methods available through the TCtx interface.

Table 1-3 Summary of TCtx Methods; Ctx Package

FunctionSummary

TCtx()


Class constructor.

getEncoding()


Get data encoding in use by XML context.

getErrHandler()


Get Error Handler provided by the user.

getMemAllocator()


Get memory allocator.

isSimple()


Get a flag that indicates if data encoding is simple.

isUnicode()


Get a flag indicating if data encoding is Unicode.

~TCtx()


Destructor - clears space and destroys the implementation.



TCtx()

TCtx constructor. It throws XmlException if it fails to create a context object.

SyntaxDescription
TCtx() throw (XMLException)
This constructor creates the context object and initializes it with default values of parameters.
TCtx(
   oratext* name,
   ErrorHandler* errh = NULL,
   MemAllocator* memalloc = NULL,
   encodings* encs = NULL)
throw (XMLException)
This constructor creates the context object and initializes it with parameter values provided by the user.
TCtx(
   oratext* name,
   up4 inpblksize,
   ErrorIfs* errh = NULL,
   MemAllocator* memalloc = NULL,
   encodings* encs = NULL)
throw (XMLException)
This constructor creates the context object and initializes it with parameter values provided by the user. Takes an additional parameter for memory block size from input source.

ParameterDescription
name
user defined name of the context
errh
user defined error handler
memalloc
user defined memory allocator
encs
user specified encodings
inpblksize
memory block size for input source

Returns

(TCtx) Context object


getEncoding()

Returns data encoding in use by XML context. Ordinarily, the data encoding is chosen by the user, so this function is not needed. However, if the data encoding is not specified, and allowed to default, this function can be used to return the name of that default encoding.

Syntax

oratext* getEncoding() const;

Returns

(oratext *) name of data encoding


getErrHandler()

This member functions returns Error Handler provided by the user when the context was created, or NULL if none were provided.

Syntax

ErrorHandler* getErrHandler() const;

Returns

(ErrorHandler *) Pointer to the Error Handler object, or NULL


getMemAllocator()

This member function returns memory allocator provided by the user when the context was created, or default memory allocator. It is important that this memory allocator is used for all C level memory allocations

Syntax

MemAllocator* getMemAllocator() const;

Returns

(MemAllocator*) Pointer to the memory allocator object


isSimple()

Returns a flag saying whether the context's data encoding is "simple", single-byte for each character, like ASCII or EBCDIC.

Syntax

boolean isSimple() const;

Returns

(boolean) TRUE of data encoding is "simple", FALSE otherwise


isUnicode()

Returns a flag saying whether the context's data encoding is Unicode, UTF-16, with two-byte for each character.

Syntax

boolean isUnicode() const;

Returns

(boolean) TRUE if data encoding is Unicode, FALSE otherwise


~TCtx()

Destructor - should be called by the user the context object is no longer needed

Syntax

~Tctx();
PK;AM Package SOAP APIs for C++

6 Package SOAP APIs for C++

W3C: "SOAP is a lightweight protocol for exchange of information in a decentralized, distributed environment. It is an XML based protocol that consists of three parts: an envelope that defines a framework for describing what is in a message and how to process it, a set of encoding rules for expressing instances of application-defined datatypes, and a convention for representing remote procedure calls and responses."

The structure of a SOAP message is:

[SOAP message (XML document)
   [SOAP envelope
      [SOAP header?
            element*
      ]
      [SOAP body
           (element* | Fault)?
      ]
   ]
]

This chapter contains the following sections:


SOAP Datatypes

Table 6-1 summarizes the datatypes of the SOAP package.

Table 6-1 Summary of Datatypes; SOAP Package

DatatypeDescription

SoapExceptionCode


Defines Soap-related exception codes.

SoapBinding


Defines binding for SOAP connections.

SoapRole


Defines roles for SOAP nodes.



SoapExceptionCode

Defines Soap-related exception codes.

typedef enum SoapExceptionCode {
   SOAP_UNDEFINED_ERR       = 0,
   SOAP_OTHER_ERR           = 1} SoapExceptionCode;

SoapBinding

Defines binding for SOAP connections. HTTP is currently the only choice.

typedef enum SoapBinding {
   BIND_NONE  = 0,  /* none */
   BIND_HTTP  = 1   /* HTTP */ } SoapBinding;

SoapRole

Defines roles for SOAP nodes.

typedef enum SoapRole {
   ROLE_UNSET = 0,  /* not specified */
   ROLE_NONE  = 1,  /* "none" */
   ROLE_NEXT  = 2,  /* "next" */
   ROLE_ULT   = 3   /* "ultimateReceiver" */ } SoapRole;

SoapException Interface

Table 6-2 summarizes the methods available through the SoapException Interface.

Table 6-2 Summary of SoapException Interfaces

DatatypeDescription

getCode()

Get Oracle XML error code embedded in the exception

getMessage()

Get Oracle XML error message.

getMesLang()

Get current language encoding of error messages.

getSoapCode()

Get Soap exception code embedded in the exception.



getCode()

Get Oracle XML error code embedded in the exception. This is a virtual member function inherited from XMLException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMessage()

Get Oracle XML error message. Virtual member function inherited from XMLException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getMesLang()

Get current language encoding of error messages. Virtual member function inherited from XMLException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getSoapCode()

Get SOAP exception code embedded in the exception. This is a virtual member function that defines a prototype for implementing defined member functions that return SOAP API exception codes.

Syntax

virtual SoapExceptionCode getSoapCode() const = 0;

Returns

(SoapExceptionCode) exception code


ConnectRef Interface

Table 6-3 summarizes the methods available ConnectRef Interface.

Table 6-3 Summary of ConnectRef Interfaces

DatatypeDescription

~ConnectRef()

Destroys a SOAP connection object

call()

Send a SOAP message then waits for a response.



~ConnectRef()

Destructor. Destroys a SOAP connection object and frees any resources associated with it.

Syntax

~ConnectRef() throw (SoapException);

call()

Send a SOAP message then waits for a response.

Syntax

DocumentRef< Node>* call( 
   DocumentRef< Node>& msg) throw (SoapException);
ParameterDescription
msg
The SOAP message that is sent.

Returns

(DocumentRef) returned message


MsgFactory Interface

Table 6-4 summarizes the methods available through the MsgFactory Interface.

Table 6-4 Summary of MsgFactory Interfaces

DatatypeDescription

~MsgFactory()

Destroys the SOAP message factory instance.

MsgFactory()

Creates and returns a SOAP Message Factory instance.

addBodyElement()

Adds an element to a SOAP message body.

addFaultReason()

Add s an additional Reason to Fault

addHeaderElement()

Adds an element to SOAP header.

createConnection()

Creates a SOAP connection.

createMessage()

Creates and returns an empty SOAP message.

destroyMessage()

Destroyw a SOAP message.

getBody()

Returns a SOAP message's envelope body..

getBodyElement()

Gets an element from a SOAP body.

getEnvelope()

Returns a SOAP part's envelope.

getFault()

Returns Fault code, reason, and details.

getHeader()

Returns a SOAP message's envelope header..

getHeaderElement()

Gets an element from a SOAP header.

getMustUnderstand()

Gets mustUnderstand attribute from the SOAP header element.

getReasonNum()

Gets the number of reasons in Fault element.

getReasonLang()

Gets a language of a reason with a particular index.

getRole()

Gets role from SOAP header element.

hasFault()

Determines if a SOAP message contains a Fault object.

setFault()

Sets Fault in a SOAP message.

setMustUnderstand()

Sets mustUnderstand attribute for the SOAP header element.

setRole()

Sets the role for SOAP header element.



~MsgFactory()

Destructor. Destroys the SOAP message factory. All allocated memory is frieed and all connections are closed.

Syntax

~MsgFactory() throw (SoapException);

MsgFactory()

Creates and returns a SOAP Message Factory instance.

Syntax

MsgFactory( 
   Context* ctx_ptr) throw (SoapException);
ParameterDescription
ctx_ptr
TContext object

Returns

(MsgFactory) object


addBodyElement()

Adds an element to a SOAP message body.

Syntax

Node* addBodyElement( DocumentRef< Node>& msg,
   oratext *qname,
   oratext *uri) throw (SoapException);
ParameterDescription
msg
SOAP message
qname
QName of element to add
uri
Namespace URI of element to add

Returns

(Node*) pointer to the created element


addFaultReason()

Adds an additional Reason to Fault. The same re son text may be provided in different languages. When the fault is created, the primary language and reasonare added at that time; use this function to add additional translations of the reason.

Syntax

void addFaultReason( 
   DocumentRef< Node>& msg,
   oratext *reason, 
   oratext *lang) throw (SoapException);
ParameterDescription
msg
SOAP message
reason
Human-readable fault reason
lang
Language of reason


addHeaderElement()

Adds an element to SOAP header.

Syntax

Node* addHeaderElement( 
   DocumentRef< Node>& msg,
   oratext *qname, oratext *uri) throw (SoapException);
ParameterDescription
msg
SOAP message
qname
QName of element to add
uri
Namespace URI of element to add

Returns

(Node*) pointer to the created element


createConnection()

Creates a SOAP connection object. The connection reference object should explicitly deleted by the user.

Syntax

ConnectRef< Node>* createConnection(
   SoapBinding bind,
   void *endp,
   oratext *buf,
   ubig_ora bufsiz,
   oratext *msgbuf,
   ubig_ora msgbufsiz) throw (SoapException);
ParameterDescription
bind
connection binding
endp
connection endpoint
buf
data buffer (or NULL to have one allocated)
bufsiz
size of data buffer (or 0 for default size)
msgbuf
message buffer (or NULL to have one allocated)
msgfubsiz
size of message buffer (or 0 for default size)

Returns

(ConnectRef) connect object


createMessage()

Creates and returns an empty SOAP message. The reference object should be explicitly deleted by the user when no longer needed.

Syntax

DocumentRef< Node>* CreateMessage() throw (SoapException);

Returns

(DocumentRef*) SOAP message, or an exception


destroyMessage()

Destroys a SOAP message.

Syntax

void destroyMessage(
   DocumentRef< Node>& msg) throw (SoapException);
ParameterDescription
msg
The SOAP message.


getBody()

Returns a SOAP message's envelope body as a pointer to the body's element node.

Syntax

Node* getBody( 
   DocumentRef<Node>& msg) throw (SoapException);
ParameterDescription
msg
SOAP message

Returns

(Node*) pointer to the SOAP message's envelope body


getBodyElement()

Gets an element from a SOAP body as a pointer to its element node.

Syntax

Node* getBodyElement(
   DocumentRef< Node>& msg,
   oratext *uri,
   oratext *local) throw (SoapException);
ParameterDescription
msg
SOAP message
uri
Namespace URI of element to add
local
Local name of element to get

Returns

(Node*) pointer to the named element


getEnvelope()

Returns a SOAP part's envelope as a pointer to envelope element node.

Syntax

Node* getEnvelope( 
   DocumentRef<Node>& msg) throw (SoapException);
ParameterDescription
msg
SOAP message

Returns

(Node*) pointer to the SOAP message's envelope


getFault()

Returns Fault code, reason, and details through user variables. NULL may be supplied for any part that is not needed. For lang, if the pointed-to variable is NULL, it will be set to the default language, that of the first reason.

Syntax

Node* getFault( 
   DocumentRef< Node>& msg,
   oratext **code,
   oratext **reason,
   oratext **lang,
   oratext **node,
   oratext **role) throw (SoapException);
ParameterDescription
msg
SOAP message
code
Fault code
reason
Human-readable fault reason
lang
Desired reason language or NULL (default language, same as for the first reason)
node
Fault node
role
Role: next, none, or ulitmate receiver (not used in 1.1)

Returns

(Node) pointer to the detail


getHeader()

Returns a SOAP message's envelope header as a pointer to the header element node.

Syntax

Node* getHeader( 
   DocumentRef< Node>& msg) throw (SoapException);
ParameterDescription
msg
SOAP message

Returns

(Node*) pointer to the SOAP message's envelope header


getHeaderElement()

Gets an element from a SOAP header as a pointer to its element node.

Syntax

Node* getHeaderElement( 
   DocumentRef< Node>& msg,
   oratext *uri, 
   oratext *local) throw (SoapException);
ParameterDescription
msg
SOAP message
uri
Namespace URI of element to get
local
Local name of element to get

Returns

(Node*) pointer to the named element


getMustUnderstand()

Gets mustUnderstand attribute from SOAP header element.

Syntax

boolean getMustUnderstand( 
   ElementRef< Node>& elem) throw (SoapException);
ParameterDescription
elem
SOAP header element

Returns

(boolean) value of the mustUnderstand attribute


getReasonNum()

Determines the number of reasons in the Fault element. Returns 0 if no Fault.

Syntax

ub4 getReasonNum(
   DocumentRef< Node>& msg) throw (SoapException);
ParameterDescription
msg
SOAP message

Returns

(up4) number of reasons in Fault element


getReasonLang()

Returns the language of a reason with a particular index.

Syntax

oratext* getReasonLang( 
   DocumentRef< Node>& msg,
   ub4 idx) throw (SoapException);
ParameterDescription
msg
SOAP message
idx
index of a fault reason

Returns

(oratext *) value of property or NULL.


getRole()

Gets role from SOAP header element.

Syntax

SoapRole getRole( 
   ElementRef< Node>& elem) throw (SoapException);
ParameterDescription
elem
Reference to the header element

Returns

(SoapRole) header element's role


hasFault()

Determines if a SOAP message contains a Fault object.

Syntax

boolean hasFault( 
   DocumentRef< Node>& msg) throw (SoapException);
ParameterDescription
msg
SOAP message

Returns

(boolean) TRUE if there's a Fault, FALSE if not


setFault()

Sets Fault in a SOAP message.

Syntax

void setFault(
   DocumentRef< Node>& msg,
   oratext *node,
   oratext *code, 
   oratext *reason,
   oratext *lang,
   oratext *role,
  ElementRef< Node>& detail) throw (SoapException);
ParameterDescription
msg
SOAP message
node
URI of SOAP node which faulted
code
Fault code
reason
Human-readable fault reason
lang
Language
role
URI representing role, Role (1.2), unused (1.1)
detail
User-defined elements


setMustUnderstand()

Sets mustUnderstand attribute for the SOAP header element.

Syntax

void setMustUnderstand( 
   ElementRef< Node>& elem,
   boolean mustUnderstand) throw (SoapException);
ParameterDescription
elem
SOAP header element
mustUnderstand
mustUnderstand value (TRUE or FALSE)


setRole()

Sets the role for SOAP header element.

Syntax

void setRole( 
   ElementRef< Node>& elem, 
   SoapRole role) throw (SoapException);
ParameterDescription
elem
reference to the header element
role
role value

PKqPKX*A OEBPS/lot.htm; List of Tables

List of Tables

PKDlPKX*AOEBPS/parser.htm Package Parser APIs for C++

5 Package Parser APIs for C++

Parser interfaces include: Parser exceptions, Validator, Parser, DOMParser, and SAXParser.

This chapter contains the following sections:


Parser Datatypes

Table 5-1 summarizes the datatypes of the Parser package.

Table 5-1 Summary of Datatypes; Parser Package

DatatypeDescription

ParserExceptionCode


Parser implementation of exceptions.

DOMParserIdType


Defines parser identifiers.

SAXParserIdType


Defines type of node.

SchValidatorIdType


Defines validator identifiers.



ParserExceptionCode

Parser implementation of exceptions.

Definition

typedef enum ParserExceptionCode {
   PARSER_UNDEFINED_ERR = 0,
   PARSER_VALIDATION_ERR = 1, 
   PARSER_VALIDATOR_ERR = 2, 
   PARSER_BAD_ISOURCE_ERR = 3, 
   PARSER_CONTEXT_ERR = 4,
   PARSER_PARAMETER_ERR = 5, 
   PARSER_PARSE_ERR = 6, 
   PARSER_SAXHANDLER_SET_ERR = 7, 
   PARSER_VALIDATOR_SET_ERR = 8 } 
ParserExceptionCode;

DOMParserIdType

Defines parser identifiers.

Definition

typedef enum DOMParserIdType {      DOMParCXml         = 1    } DOMParserIdType;
ypedef enum CompareHowCode {
   START_TO_START = 0,
   START_TO_END = 1, 
   END_TO_END = 2, 
   END_TO_START = 3 }
CompareHowCode;

SAXParserIdType

Defines parser identifiers.

Definition

typedef enum SAXParserIdType {
   SAXParCXml = 1 } 
SAXParserIdType;

SchValidatorIdType

Defines validator identifiers.These identifiers are used as parameters to the XML tools factory when a particular validator object has to be created.

Definition

typedef enum SchValidatorIdType {
   SchValCXml        = 1
} SchValidatorIdType;

DOMParser Interface

Table 5-2 summarizes the methods available through the DOMParser interface.

Table 5-2 Summary of DOMParser Methods; Parser Package

FunctionSummary

getContext()


Returns parser's XML context (allocation and encodings).

getParserId()


Get parser id.

parse()


Parse the document.

parseDTD()


Parse DTD document.

parseSchVal()


Parse and validate the document.

setValidator()


Set the validator for this parser.



getContext()

Each parser object is allocated and executed in a particular Oracle XML context. This member function returns a pointer to this context.

Syntax

virtual Context* getContext() const = 0;

Returns

(Context*) pointer to parser's context


getParserId()

Syntax

virtual DOMParserIdType getParserId() const = 0;

Returns

(DOMParserIdType) Parser Id


parse()

Parses the document and returns the tree root node

Syntax

virtual DocumentRef< Node>* parse(
   InputSource* isrc_ptr,
   boolean DTDvalidate = FALSE,
   DocumentTypeRef< Node>* dtd_ptr = NULL,
   boolean no_mod = FALSE,
   DOMImplementation< Node>* impl_ptr = NULL)
throw (ParserException) = 0;
ParameterDescription
isrc_ptr
input source
DTDvalidate
TRUE if validated by DTD
dtd_ptr
DTD reference
no_mod
TRUE if no modifications allowed
impl_ptr
optional DomImplementation pointer

Returns

(DocumentRef) document tree


parseDTD()

Parse DTD document.

Syntax

virtual DocumentRef< Node>* parseDTD(
   InputSource* isrc_ptr,
   boolean no_mod = FALSE,
   DOMImplementation< Node>* impl_ptr = NULL)
throw (ParserException) = 0;
ParameterDescription
isrc_ptr
input source
no_mod
TRUE if no modifications allowed
impl_ptr
optional DomImplementation pointer

Returns

(DocumentRef) DTD document tree


parseSchVal()

Parses and validates the document. Sets the validator if the corresponding parameter is not NULL.

Syntax

virtual DocumentRef< Node>* parseSchVal(
   InputSource* src_par,
   boolean no_mod = FALSE,
   DOMImplementation< Node>* impl_ptr = NULL,
   SchemaValidator< Node>* tor_ptr = NULL)
throw (ParserException) = 0;
ParameterDescription
isrc_ptr
input source
no_mod
TRUE if no modifications allowed
impl_ptr
optional DomImplementation pointer
tor_ptr
schema validator

Returns

(DocumentRef) document tree


setValidator()

Sets the validator for all validations except when another one is given in parseSchVal

Syntax

virtual void setValidator(
SchemaValidator< Node>* tor_ptr) = 0;
ParameterDescription
tor_ptr
schema validator


GParser Interface

Table 5-3 summarizes the methods available through the GParser interface.

Table 5-3 Summary of GParser Methods; Parser Package

FunctionSummary

SetWarnDuplicateEntity()


Specifies if multiple entity declarations result in a warning.

getBaseURI()


Returns the base URI for the document.

getDiscardWhitespaces()


Checks if whitespaces between elements are discarded.

getExpandCharRefs()


Checks if character references are expanded.

getSchemaLocation()


Get schema location for this document.

getStopOnWarning()


Get if document processing stops on warnings.

getWarnDuplicateEntity()


Get if multiple entity declarations cause a warning.

setBaseURI()


Sets the base URI for the document.

setDiscardWhitespaces()


Sets if formatting whitespaces should be discarded.

setExpandCharRefs()


Get if character references are expanded.

setSchemaLocation()


Set schema location for this document.

setStopOnWarning()


Sets if document processing stops on warnings.



SetWarnDuplicateEntity()

Specifies if entities that are declared more than once will cause warnings to be issued.

Syntax

void setWarnDuplicateEntity(
   boolean par_bool);
ParameterDescription
par_bool
TRUE if multiple entity declarations cause a warning


getBaseURI()

Returns the base URI for the document. Usually only documents loaded from a URI will automatically have a base URI. Documents loaded from other sources (stdin, buffer, and so on) will not naturally have a base URI, but a base URI may have been set for them using setBaseURI, for the purposes of resolving relative URIs in inclusion.

Syntax

oratext* getBaseURI() const;

Returns

(oratext *) current document's base URI [or NULL]


getDiscardWhitespaces()

Checks if formatting whitespaces between elements, such as newlines and indentation in input documents are discarded. By default, all input characters are preserved.

Syntax

boolean getDiscardWhitespaces() const;

Returns

(boolean) TRUE if whitespace between elements are discarded


getExpandCharRefs()

Checks if character references are expanded in the DOM data. By default, character references are replaced by the character they represent. However, when a document is saved those characters entities do not reappear. To ensure they remain through load and save, they should not be expanded.

Syntax

boolean getExpandCharRefs() const;

Returns

(boolean) TRUE if character references are expanded


getSchemaLocation()

Gets schema location for this document. It is used to figure out the optimal layout when loading documents into a database.

Syntax

oratext* getSchemaLocation() const;

Returns

(oratext*) schema location


getStopOnWarning()

When TRUE is returned, warnings are treated the same as errors and cause parsing, validation, and so on, to stop immediately. By default, warnings are issued but the processing continues.

Syntax

boolean getStopOnWarning() const;

Returns

(boolean) TRUE if document processing stops on warnings


getWarnDuplicateEntity()

Get if entities which are declared more than once will cause warnings to be issued.

Syntax

boolean getWarnDuplicateEntity() const;

Returns

(boolean) TRUE if multiple entity declarations cause a warning


setBaseURI()

Sets the base URI for the document. Usually only documents that were loaded from a URI will automatically have a base URI. Documents loaded from other sources (stdin, buffer, and so on) will not naturally have a base URI, but a base URI may have been set for them using setBaseURI, for the purposes of resolving relative URIs in inclusion.

Syntax

void setBaseURI( oratext* par);
ParameterDescription
par
base URI


setDiscardWhitespaces()

Sets if formatting whitespaces between elements (newlines and indentation) in input documents are discarded. By default, ALL input characters are preserved.

Syntax

void setDiscardWhitespaces(
   boolean par_bool);
ParameterDescription
par_bool
TRUE if whitespaces should be discarded


setExpandCharRefs()

Sets if character references should be expanded in the DOM data. Ordinarily, character references are replaced by the character they represent. However, when a document is saved those characters entities do not reappear. To ensure they remain through load and save is to not expand them.

Syntax

void setExpandCharRefs( 
   boolean par_bool);
ParameterDescription
par_bool
TRUE if character references should be discarded


setSchemaLocation()

Sets schema location for this document. It is used to figure out the optimal layout when loading documents into a database.

Syntax

 void setSchemaLocation(
   oratext* par);
ParameterDescription
par
schema location


setStopOnWarning()

When TRUE is set, warnings are treated the same as errors and cause parsing, validation, and so on, to stop immediately. By default, warnings are issued but the processing continues.

Syntax

void setStopOnWarning( 
   boolean par_bool);
ParameterDescription
par_bool
TRUE if document processing should stop on warnings


ParserException Interface

Table 5-4 summarizes the methods available through the ParserException interface.

Table 5-4 Summary of ParserException Methods; Parser Package

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.

getParserCode()


Get parser exception code embedded in the exception.



getCode()

Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getParserCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning parser and validator exception codes, defined in ParserExceptionCode, of the exceptional situations during execution.

Syntax

virtual ParserExceptionCode getParserCode() const = 0;

Returns

(ParserExceptionCode) exception code


SAXHandler Interface

Table 5-5 summarizes the methods available through the SAXHandler interface.

Table 5-5 Summary of SAXHandler Methods; Parser Package

FunctionSummary

CDATA()


Receive notification of CDATA.

XMLDecl()


Receive notification of an XML declaration.

attributeDecl()


Receive notification of attribute's declaration.

characters()


Receive notification of character data.

comment()


Receive notification of a comment.

elementDecl()


Receive notification of element's declaration.

endDocument()


Receive notification of the end of the document.

endElement()


Receive notification of element's end.

notationDecl()


Receive notification of a notation declaration.

parsedEntityDecl()


Receive notification of a parsed entity declaration.

processingInstruction()


Receive notification of a processing instruction.

startDocument()


Receive notification of the start of the document.

startElement()


Receive notification of element's start.

startElementNS()


Receive namespace aware notification of element's start.

unparsedEntityDecl()


Receive notification of an unparsed entity declaration.

whitespace()


Receive notification of whitespace characters.



CDATA()

This event handles CDATA, as distinct from Text. The data will be in the data encoding, and the returned length is in characters, not bytes. This is an Oracle extension.

Syntax

virtual void CDATA( 
   oratext* data,
   ub4 size) = 0;
ParameterDescription
data
pointer to CDATA
size
size of CDATA


XMLDecl()

This event marks an XML declaration (XMLDecl). The startDocument event is always first; this event will be the second event. The encoding flag says whether an encoding was specified. For the standalone flag, -1 will be returned if it was not specified, otherwise 0 for FALSE, 1 for TRUE. This member function is an Oracle extension.

Syntax

virtual void XMLDecl( 
   oratext* version,
   boolean is_encoding,
   sword standalone) = 0;
ParameterDescription
version
version string from XMLDecl
is_encoding
whether encoding was specified
standalone
value of standalone value flag


attributeDecl()

This event marks an attribute declaration in the DTD. It is an Oracle extension; not in SAX standard

Syntax

virtual void attributeDecl(
   oratext* attr_name,
   oratext *name, 
   oratext *content) = 0;
ParameterDescription
attr_name

name

content
body of attribute declaration


characters()

This event marks character data.

Syntax

virtual void characters(
   oratext* ch,
   ub4 size) = 0;
ParameterDescription
ch
pointer to data
size
length of data


comment()

This event marks a comment in the XML document. The comment's data will be in the data encoding. It is an Oracle extension, not in SAX standard.

Syntax

virtual void comment(
   oratext* data) = 0;
ParameterDescription
data
comment's data


elementDecl()

This event marks an element declaration in the DTD. It is an Oracle extension; not in SAX standard.

Syntax

virtual void elementDecl( 
   oratext *name, 
   oratext *content) = 0;
ParameterDescription
name
element's name
content
element's content


endDocument()

Receive notification of the end of the document.

Syntax

virtual void endDocument() = 0;

endElement()

This event marks the end of an element. The name is the tagName of the element (which may be a qualified name for namespace-aware elements) and is in the data encoding.

Syntax

virtual void endElement( oratext* name) = 0;

notationDecl()

The even marks the declaration of a notation in the DTD. The notation's name, public ID, and system ID will all be in the data encoding. Both IDs are optional and may be NULL.

Syntax

virtual void notationDecl(
   oratext* name,
   oratext* public_id,
   oratext* system_id) = 0;
ParameterDescription
name
notations's name
public_id
notation's public Id
sysem_id
notation's system Id


parsedEntityDecl()

Marks a parsed entity declaration in the DTD. The parsed entity's name, public ID, system ID, and notation name will all be in the data encoding. This is an Oracle extension.

Syntax

virtual void parsedEntityDecl(
   oratext* name,
   oratext* value,
   oratext* public_id,
   oratext* system_id,
   boolean general) = 0;
ParameterDescription
name
entity's name
value
entity's value if internal
public_id
entity's public Id
sysem_id
entity's system Id
general
whether a general entity (FALSE if parameter entity)


processingInstruction()

This event marks a processing instruction. The PI's target and data will be in the data encoding. There is always a target, but the data may be NULL.

Syntax

virtual void processingInstruction( 
   oratext* target,
   oratext* data) = 0;
ParameterDescription
target
PI's target
data
PI's data


startDocument()

Receive notification of the start of document.

Syntax

virtual void startDocument() = 0;

startElement()

This event marks the start of an element.

Syntax

virtual void startElement( 
   oratext* name,
   NodeListRef< Node>* attrs_ptr) = 0;
ParameterDescription
name
element's name
attrs_ptr
list of element's attributes


startElementNS()

This event marks the start of an element. Note this is the new SAX 2 namespace-aware version. The element's qualified name, local name, and namespace URI will be in the data encoding, as are all the attribute parts.

Syntax

virtual void startElementNS(
   oratext* qname,
   oratext* local,
   oratext* ns_URI,
   NodeListRef< Node>* attrs_ptr) = 0;
ParameterDescription
qname
element's qualified name
local
element's namespace local name
ns_URI
element's namespace URI
attrs_ref
NodeList of element's attributes


unparsedEntityDecl()

Marks an unparsed entity declaration in the DTD. The unparsed entity's name, public ID, system ID, and notation name will all be in the data encoding.

Syntax

virtual void unparsedEntityDecl(
   oratext* name,
   oratext* public_id,
   oratext* system_id,
   oratext* notation_name) = 0;
};
ParameterDescription
name
entity's name
public_id
entity's public Id
sysem_id
entity's system Id
notation_name
entity's notation name


whitespace()

This event marks ignorable whitespace data such as newlines, and indentation between lines.

Syntax

virtual void whitespace(
   oratext* data,
   ub4 size) = 0;
ParameterDescription
data
pointer to data
size
length of data


SAXParser Interface

Table 5-6 summarizes the methods available through the SAXParser interface.

Table 5-6 Summary of SAXParser Methods; Parser Package

FunctionSummary

getContext()


Returns parser's XML context (allocation and encodings).

getParserId()


Returns parser Id.

parse()


Parse the document.

parseDTD()


Parse the DTD.

setSAXHandler()


Set SAX handler.



getContext()

Each parser object is allocated and executed in a particular Oracle XML context. This member function returns a pointer to this context.

Syntax

virtual Context* getContext() const = 0;

Returns

(Context*) pointer to parser's context


getParserId()

Returns the parser id.

Syntax

virtual SAXParserIdType getParserId() const = 0;

Returns

(SAXParserIdType) Parser Id


parse()

Parses a document.

Syntax

virtual void parse( 
   InputSource* src_ptr,
   boolean DTDvalidate = FALSE,
   SAXHandlerRoot* hdlr_ptr = NULL)
throw (ParserException) = 0;
ParameterDescription
src_ptr
input source
DTDValidate
TRUE if validate with DTD
hdlr_ptr
SAX handler pointer


parseDTD()

Parses a DTD.

Syntax

virtual void parseDTD( 
   InputSource* src_ptr,
   SAXHandlerRoot* hdlr_ptr = NULL)
throw (ParserException) = 0;
ParameterDescription
src_ptr
input source
hdlr_ptr
SAX handler pointer


setSAXHandler()

Sets SAX handler for all parser invocations except when another SAX handler is specified in the parser call.

Syntax

virtual void setSAXHandler(
   SAXHandlerRoot* hdlr_ptr) = 0;
ParameterDescription
hdlr_ptr
SAX handler pointer


SchemaValidator Interface

Table 5-7 summarizes the methods available through the SchemaValidator interface.

Table 5-7 Summary of SchemaValidator Methods; Parser Package

FunctionSummary

getSchemaList()


Return the Schema list.

getValidatorId()


Get validator identifier.

loadSchema()


Load a schema document.

unloadSchema()


Unload a schema document.



getSchemaList()

Return only the size of loaded schema list documents if "list" is NULL. If "list" is not NULL, a list of URL pointers is returned in the user-provided pointer buffer. Note that its user's responsibility to provide a buffer with big enough size.

Syntax

virtual ub4 getSchemaList(
   oratext **list) const = 0;
ParameterDescription
list
address of a pointer buffer

Returns

(ub4) list size and list of loaded schemas (I/O parameter)


getValidatorId()

Get the validator identifier corresponding to the implementation of this validator object.

Syntax

virtual SchValidatorIdType getValidatorId() const = 0;

Returns

(SchValidatorIdType) validator identifier


loadSchema()

Load up a schema document to be used in the next validation session. Throws an exception in the case of an error.

Syntax

virtual void loadSchema( 
   oratext* schema_URI)
throw (ParserException) = 0;
ParameterDescription
schema_URI
URL of a schema document; compiler encoding


unloadSchema()

Unload a schema document and all its descendants (included or imported in a nested manner from the validator. All previously loaded schema documents will remain loaded until they are unloaded. To unload all loaded schema documents, set schema_URI to be NULL. Throws an exception in the case of an error.

Syntax

virtual void unloadSchema(
   oratext* schema_URI)
throw (ParserException) = 0;
ParameterDescription
schema_URI
URL of a schema document; compiler encoding

PK]EEPKX*AOEBPS/oraclexml.html Package OracleXml APIs for C++

4 Package OracleXml APIs for C++

OracleXml is the namespace for all XML C++ interaces. It includes class XmlException, the root for all exceptions in XML, and these namespaces:

This chapter contains this section:


XmlException Interface

XMLException is the root interface for all XML exceptions. Table 4-1 summarizes the methods available through the OracleXml Package.

Table 4-1 Summary of OracleXml Package Interfaces

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.



getCode()

This is a virtual member function that defines a prototype for implementation defined functions returning Oracle XML error codes (like error codes defined in xml.h) of the exceptional situations during execution

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

This is a virtual member function that defines a prototype for user defined functions returning current language (encoding) of error messages for the exceptional situations during execution

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext *) Current language (encoding) of error messages


getMessage()

This is a virtual member function that defines a prototype for implementation defined functions returning Oracle XML error messages of the exceptional situations during execution.

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message

PKqlPKX*A OEBPS/xsl.htm{ Package Xsl APIs for C++

10 Package Xsl APIs for C++

Xsl package contains XSLT related types and interfaces.

This chapter contains these sections:


Xsl Datatypes

Table 10-1 summarizes the datatypes of the Xsl package.

Table 10-1 Summary of Datatypes; Xsl Package

DatatypeDescription

XslCompIdType


Defines XSL compiler identifiers.

XslExceptionCode


Defines XSLT related exceptions.

XslTrIdType


Defines XSL transformer identifiers.



XslCompIdType

Defines XSL compiler identifiers.

Definition

typedef enum XslCompIdType {
   XvmCompCXml = 1
} XslCompIdType;

XslExceptionCode

Defines XSLT related exceptions.

Definition

typedef typedef enum XslExceptionCode {
   XSL_UNDEFINED_ERR = 0,
   XSL_OTHER_ERR = 1 
} XslExceptionCode;
 

XslTrIdType

Defines XSL transformer identifiers.

Definition

typedef enum XslTrIdType {
   XslTrCXml         = 1,
   XvmTrCXml         = 2
} XslTrIdType;

Compiler Interface

Table 10-2 summarizes the methods available through the Compiler interface.

Table 10-2 Summary of Compiler Methods; Xsl Package

FunctionSummary

compile()


Compile Xsl and return its compiled binary representation.

getCompilerId()


Get compiler's Id.

getLength()


Get length of compiled XSL document.



compile()

Compiles Xsl and returns its compiled binary representation.

Syntax

virtual ub2* compile(
   InputSource* isrc_ptr)
throw (XslException) = 0;
ParameterDescription
isrc_ptr
Xsl document

Returns

(InputSource) Xsl document in compiled binary representation


getCompilerId()

Get the compiler Id.

Syntax

virtual XslCompIdType getCompilerId() const = 0;

Returns

(XslCompIdType) Compiler's Id


getLength()

Returns length of compiled XSL document

Syntax

virtual ub4 getLength( 
   ub2* binxsl_ptr)
throw (XslException) = 0;
ParameterDescription
binxsl_ptr
compiled Xsl document

Returns

(ub4) length of the document


CompTransformer Interface

Table 10-3 summarizes the methods available through the CompTransformer interface.

Table 10-3 Summary of CompTransformer Methods; Xsl Package

FunctionSummary

getTransformerId()


Get transformer's Id.

setBinXsl()


Set compiled Xsl.

setSAXHandler()


Set SAX handler.

setXSL()


Set XSLT document for this transformer.

transform()


Transform the document.



getTransformerId()

Get transformer's id.

Syntax

virtual XslTrIdType getTransformerId() const = 0;

Returns

(XslTrIdType) Transformer's Id


setBinXsl()

Sets compiled Xsl.

Syntax

virtual void setBinXsl (
   ub2* binxsl_ptr)
throw (XslException) = 0;
ParameterDescription
binxsl_ptr
compiled Xsl document


setSAXHandler()

Inherited from Transformer.

Syntax

virtual void setSAXHandler(
   SAXHandlerRoot* hdlr_ptr) = 0;
ParameterDescription
hdlr_ptr
SAX handler pointer


setXSL()

Set XSLT document for this transformer. Should be called before the transform member function is called. It is inherited from Transform.

Syntax

virtual void setXSL (
   InputSource* isrc_ptr)
throw (XslException) = 0;
ParameterDescription
isrc_ptr
instance document to process


transform()

Transforms the document. Throws an exception if an XSLT document is not set by a previous call to setXSL. Inherited from Transform.

SyntaxDescription
virtual NodeRef< Node>* transform(
   nputSource* isrc_ptr)
throw (XslException) = 0;
Transform the document and return DOM.
virtual void transform(
   InputSource* isrc_ptr,
   SAXHandlerRoot* hdlr_ptr)
throw (XslException) = 0;
Transform the document and return SAX events.

ParameterDescription
isrc_ptr
instance document to process
hdlr_ptr
SAX handler pointer

Returns

(DocumentRef) document tree of new document


Transformer Interface

Table 10-4 summarizes the methods available through the Transformer interface.

Table 10-4 Summary of Transformer Methods; Xsl Package

FunctionSummary

getTransformerId()


Get transformer's Id.

setSAXHandler()


Set SAX handler.

setXSL()


Set XSLT document for this transformer.

transform()


Transform the document and return SAX events.



getTransformerId()

Gets transformer's id.

Syntax

virtual XslTrIdType getTransformerId() const = 0;

Returns

(XslTrIdType) Transformer's Id


setSAXHandler()

Set SAX handler.

Syntax

virtual void setSAXHandler( 
   SAXHandlerRoot* hdlr_ptr) = 0;
ParameterDescription
hdlr_ptr
SAX handler pointer


setXSL()

Set XSLT document for this transformer. Should be called before the transform member function is called.

Syntax

virtual void setXSL (
   InputSource* isrc_ptr)
throw (XslException) = 0;
ParameterDescription
isrc_ptr
instance document to process


transform()

Transforms the document. Throws an exception if an XSLT document is not set by a previous call to setXSL.

SyntaxDescription
virtual NodeRef< Node>* transform(
   nputSource* isrc_ptr)
throw (XslException) = 0;
Transform the document and return DOM.
virtual void transform(
   InputSource* isrc_ptr,
   SAXHandlerRoot* hdlr_ptr)
throw (XslException) = 0;
Transform the document and return SAX events.

ParameterDescription
isrc_ptr
instance document to process
hdlr_ptr
SAX handler pointer

Returns

(DocumentRef) document tree of new document


XSLException Interface

Table 10-5 summarizes the methods available through the XSLException interface.

Table 10-5 Summary of XSLException Methods; Xsl Package

FunctionSummary

getCode()


Get Oracle XML error code embedded in the exception.

getMesLang()


Get current language (encoding) of error messages.

getMessage()


Get Oracle XML error message.

getXslCode()


Defines a prototype for implementation.



getCode()

Gets Oracle XML error code embedded in the exception. Virtual member function inherited from XmlException.

Syntax

virtual unsigned getCode() const = 0;

Returns

(unsigned) numeric error code (0 on success)


getMesLang()

Virtual member function inherited from XmlException.

Syntax

virtual oratext* getMesLang() const = 0;

Returns

(oratext*) Current language (encoding) of error messages


getMessage()

Virtual member function inherited from XmlException

Syntax

virtual oratext* getMessage() const = 0;

Returns

(oratext *) Error message


getXslCode()

This is a virtual member function that defines a prototype for implementation defined member functions returning XSL transformer and compiler exception codes, defined in XslExceptionCode, of the exceptional situations during execution.

Syntax

virtual XslExceptionCode getXslCode() const = 0;

Returns

(XslExceptionCode) exception code

PK|{PK X*Aoa,mimetypePKX*ABPK:iTunesMetadata.plistPKX*AYuMETA-INF/container.xmlPKX*A[pTOOEBPS/cover.htmPKX*AgOEBPS/title.htmPKX*AaV|wOEBPS/preface.htmPKX*A =e7OEBPS/index.htmPKX*Al>}9}~7OEBPS/xpath.htmPKX*A6m䞲l OEBPS/dom.htmPKX*A=VJ= 8 gOEBPS/toc.ncxPKX*AF ZZ JtOEBPS/io.htmPKX*ACeU*%OEBPS/content.opfPKX*A_ OEBPS/dcommon/prodbig.gifPKX*AY@ YOEBPS/dcommon/doclib.gifPKX*AxeeOEBPS/dcommon/oracle-logo.jpgPKX*AOEBPS/dcommon/contbig.gifPKX*AOEBPS/dcommon/darbbook.cssPKX*AMά""!OEBPS/dcommon/O_signature_clr.JPGPKX*APz I?OEBPS/dcommon/feedbck2.gifPKX*A-@OEBPS/dcommon/feedback.gifPKX*Aː5GOEBPS/dcommon/booklist.gifPKX*AN61IOEBPS/dcommon/cpyr.htmPKX*A!:3.[OEBPS/dcommon/masterix.gifPKX*AeӺ1,]OEBPS/dcommon/doccd.cssPKX*A7 _OEBPS/dcommon/larrow.gifPKX*A#aOEBPS/dcommon/indxicon.gifPKX*AS'"dOEBPS/dcommon/leftnav.gifPKX*Ahu,eOEBPS/dcommon/uarrow.gifPKX*Al-OJhOEBPS/dcommon/oracle.gifPKX*A(4qOEBPS/dcommon/index.gifPKX*AGC zrOEBPS/dcommon/bookbig.gifPKX*AJV^|OEBPS/dcommon/rarrow.gifPKX*A枰pk~OEBPS/dcommon/mix.gifPKX*Ao"nR M hOEBPS/dcommon/doccd_epub.jsPKX*Av I OEBPS/dcommon/toc.gifPKX*A r~$POEBPS/dcommon/topnav.gifPKX*A1FAOEBPS/dcommon/prodicon.gifPKX*A3( # HOEBPS/dcommon/bp_layout.cssPKX*Ax[?:OEBPS/dcommon/bookicon.gifPKX*Ap*c^@OEBPS/dcommon/conticon.gifPKX*AʍOEBPS/dcommon/blafdoc.cssPKX*A+&OEBPS/dcommon/rightnav.gifPKX*Aje88]OEBPS/dcommon/oracle-small.JPGPKX*Aއ{&!OEBPS/dcommon/help.gifPKX*A"}S/w*w OEBPS/toc.htmPKX*A FLALrsOEBPS/xpointer.htmPKX*Aea^e~`~OEBPS/tools.htmPKX*A;AM OEBPS/ctx.htmPKX*Aq OEBPS/soap.htmPKX*ADl :f OEBPS/lot.htmPKX*A]EE> OEBPS/parser.htmPKX*Aql OEBPS/oraclexml.htmPKX*A|{ OEBPS/xsl.htmPK55 a