DTM
public class SQLDocument extends DTMDocument
DTMDefaultBaseIterators.AncestorIterator, DTMDefaultBaseIterators.AttributeIterator, DTMDefaultBaseIterators.ChildrenIterator, DTMDefaultBaseIterators.DescendantIterator, DTMDefaultBaseIterators.FollowingIterator, DTMDefaultBaseIterators.FollowingSiblingIterator, DTMDefaultBaseIterators.InternalAxisIteratorBase, DTMDefaultBaseIterators.NamespaceAttributeIterator, DTMDefaultBaseIterators.NamespaceChildrenIterator, DTMDefaultBaseIterators.NamespaceIterator, DTMDefaultBaseIterators.NthDescendantIterator, DTMDefaultBaseIterators.ParentIterator, DTMDefaultBaseIterators.PrecedingIterator, DTMDefaultBaseIterators.PrecedingSiblingIterator, DTMDefaultBaseIterators.RootIterator, DTMDefaultBaseIterators.SingletonIterator, DTMDefaultBaseIterators.TypedAncestorIterator, DTMDefaultBaseIterators.TypedAttributeIterator, DTMDefaultBaseIterators.TypedChildrenIterator, DTMDefaultBaseIterators.TypedDescendantIterator, DTMDefaultBaseIterators.TypedFollowingIterator, DTMDefaultBaseIterators.TypedFollowingSiblingIterator, DTMDefaultBaseIterators.TypedNamespaceIterator, DTMDefaultBaseIterators.TypedPrecedingIterator, DTMDefaultBaseIterators.TypedPrecedingSiblingIterator, DTMDefaultBaseIterators.TypedRootIterator, DTMDefaultBaseIterators.TypedSingletonIterator
DTMDocument.CharacterNodeHandler
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NAMESPACE_NODE, NOTATION_NODE, NTYPES, NULL, PROCESSING_INSTRUCTION_NODE, ROOT_NODE, TEXT_NODE
DEFAULT_BLOCKSIZE, DEFAULT_NUMBLOCKS, DEFAULT_NUMBLOCKS_SMALL, m_mgr, ROOTNODE
Constructor | Description |
---|---|
SQLDocument(DTMManager mgr,
int ident) |
Modifier and Type | Method | Description |
---|---|---|
java.sql.SQLWarning |
checkWarnings() |
|
void |
close(boolean flushConnPool) |
Close down any resources used by this document.
|
void |
documentRegistration() |
A dummy routine to satisify the abstract interface.
|
void |
documentRelease() |
A dummy routine to satisify the abstract interface.
|
void |
execute(XConnection xconn,
SQLQueryParser query) |
|
ExpressionContext |
getExpressionContext() |
Return the context used to build this document
|
static SQLDocument |
getNewDocument(ExpressionContext exprContext) |
This static method simplifies the creation of an SQL Document and allows
us to embedd the complexity of creating / handling the dtmIdent inside
the document.
|
boolean |
hasErrors() |
Used by the XConnection to determine if the Document should
handle the document differently.
|
void |
skip(int value) |
Push the record set forward value rows.
|
dumpDTM, dumpNode, getDocumentRoot, getDTMIDs, getManager, getNodeHandle, getNodeIdent, getTypedFirstChild, getTypedNextSibling, makeNodeHandle, makeNodeIdentity, migrateTo
appendChild, appendTextChild, dispatchCharactersEvents, dispatchToEvents, dumpDTM, getAttributeNode, getAxisIterator, getAxisTraverser, getContentHandler, getDeclHandler, getDocument, getDocumentAllDeclarationsProcessed, getDocumentBaseURI, getDocumentEncoding, getDocumentStandalone, getDocumentSystemIdentifier, getDocumentTypeDeclarationPublicIdentifier, getDocumentTypeDeclarationSystemIdentifier, getDocumentVersion, getDTDHandler, getElementById, getEntityResolver, getErrorHandler, getExpandedTypeID, getExpandedTypeID, getFirstAttribute, getFirstChild, getFirstNamespaceNode, getLastChild, getLevel, getLexicalHandler, getLocalName, getLocalNameFromExpandedNameID, getNamespaceFromExpandedNameID, getNamespaceType, getNamespaceURI, getNextAttribute, getNextNamespaceNode, getNextSibling, getNode, getNodeName, getNodeNameX, getNodeType, getNodeValue, getOwnerDocument, getParent, getPrefix, getPreviousSibling, getSourceLocatorFor, getStringValue, getStringValueChunk, getStringValueChunkCount, getTypedAxisIterator, getUnparsedEntityURI, hasChildNodes, isAttributeSpecified, isCharacterElementContentWhitespace, isDocumentAllDeclarationsProcessed, isNodeAfter, isSupported, needsTwoThreads, setDocumentBaseURI, setFeature, setProperty, supportsPreStripping
public SQLDocument(DTMManager mgr, int ident)
mgr
- ident
- java.sql.SQLException
public static SQLDocument getNewDocument(ExpressionContext exprContext)
public ExpressionContext getExpressionContext()
public void execute(XConnection xconn, SQLQueryParser query) throws java.sql.SQLException
java.sql.SQLException
public void skip(int value)
value
- public boolean hasErrors()
public void close(boolean flushConnPool)
public void documentRegistration()
DTMDefaultBase
documentRegistration
in interface DTM
documentRegistration
in class DTMDefaultBase
public void documentRelease()
DTMDefaultBase
documentRelease
in interface DTM
documentRelease
in class DTMDefaultBase
public java.sql.SQLWarning checkWarnings()
Copyright ? 2014 Apache XML Project. All Rights Reserved.