|
Berkeley DB XML version 2.5.16 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.dbxml.XmlDocumentConfig
public class XmlDocumentConfig
Used to configure operations that operate on XmlDocument
objects.
Field Summary | |
---|---|
static XmlDocumentConfig |
DEFAULT
The default settings. |
Constructor Summary | |
---|---|
XmlDocumentConfig()
|
Method Summary | |
---|---|
boolean |
getAutoCommit()
Returns whether the operation will auto-commit if no transaction is provided. |
boolean |
getCacheDocuments()
Returns whether the use of a cache mechanism has been enabled. |
boolean |
getDocumentProjection()
Gets whether document projection will be applied to document parsing done in the operation. |
boolean |
getDocumentsOnly()
Gets whether index lookups will return documents or nodes for containers with node indexes. |
boolean |
getGenerateName()
Gets whether to automatically generate a name for the document. |
boolean |
getLazyDocs()
Gets whether to retrieve the document lazily. |
LockMode |
getLockMode()
Get the lock mode for the operation. |
boolean |
getReverseOrder()
Gets whether to sort index lookups in reverse order |
boolean |
getWellFormedOnly()
Gets whether operations that may parse a document use only a well-formed scanner, avoiding the expense of reading any referenced schema or DTD. |
XmlDocumentConfig |
setAutoCommit(boolean value)
Sets whether the operation will auto-commit if no transaction is provided. |
XmlDocumentConfig |
setCacheDocuments(boolean value)
Sets whether a cache mechanism is enabled. |
XmlDocumentConfig |
setDocumentProjection(boolean value)
Sets whether to use document projection on document parsing operations performed. |
XmlDocumentConfig |
setDocumentsOnly(boolean value)
Sets whether index lookups will return documents or nodes for containers with node indexes. |
XmlDocumentConfig |
setGenerateName(boolean value)
Sets whether to automatically generate a name for the document. |
XmlDocumentConfig |
setLazyDocs(boolean value)
Sets whether to retrieve the document lazily. |
XmlDocumentConfig |
setLockMode(LockMode lmode)
Set the lock mode for the operation. |
XmlDocumentConfig |
setReverseOrder(boolean value)
Sets whether to sort index lookups in reverse order |
XmlDocumentConfig |
setWellFormedOnly(boolean value)
Sets whether operations that may parse a document use only a well-formed scanner, avoiding the expense of reading any referenced schema or DTD. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final XmlDocumentConfig DEFAULT
Constructor Detail |
---|
public XmlDocumentConfig()
Method Detail |
---|
public boolean getDocumentsOnly()
public XmlDocumentConfig setDocumentsOnly(boolean value)
public boolean getDocumentProjection()
public XmlDocumentConfig setDocumentProjection(boolean value)
XmlContainer.WholedocContainer
and documents not in a container. It should not be used if arbitrary navigation of the resulting nodes is
to be performed, as not all nodes in the original document will be present and unexepcted results
could be returned. This flag has no effect on documents in containers of
type XmlContainer.NodeContainer
.
public boolean getAutoCommit()
public XmlDocumentConfig setAutoCommit(boolean value)
XmlQueryExpression.execute(com.sleepycat.dbxml.XmlQueryContext)
public boolean getCacheDocuments()
public XmlDocumentConfig setCacheDocuments(boolean value)
XmlIndexLookup.execute(com.sleepycat.dbxml.XmlQueryContext)
public boolean getLazyDocs()
public XmlDocumentConfig setLazyDocs(boolean value)
public boolean getGenerateName()
public XmlDocumentConfig setGenerateName(boolean value)
public boolean getReverseOrder()
public XmlDocumentConfig setReverseOrder(boolean value)
public LockMode getLockMode()
public XmlDocumentConfig setLockMode(LockMode lmode)
public boolean getWellFormedOnly()
public XmlDocumentConfig setWellFormedOnly(boolean value)
|
Berkeley DB XML version 2.5.16 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |