Berkeley DB XML
version 2.1.8

com.sleepycat.dbxml
Class XmlDocumentConfig

java.lang.Object
  extended bycom.sleepycat.dbxml.XmlDocumentConfig
All Implemented Interfaces:
Cloneable

public class XmlDocumentConfig
extends Object
implements Cloneable

Used to configure operations that operate on XmlDocument objects.


Field Summary
static XmlDocumentConfig DEFAULT
          The default settings.
 
Constructor Summary
XmlDocumentConfig()
           
 
Method Summary
 boolean getDirtyRead()
          Gets whether to read uncommitted (dirty) data for a document or result.
 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.
 XmlDocumentConfig setDirtyRead(boolean value)
          Sets whether to read uncommitted (dirty) data for a document or result.
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final XmlDocumentConfig DEFAULT
The default settings.

Constructor Detail

XmlDocumentConfig

public XmlDocumentConfig()
Method Detail

getLazyDocs

public boolean getLazyDocs()
Gets whether to retrieve the document lazily.


setLazyDocs

public XmlDocumentConfig setLazyDocs(boolean value)
Sets whether to retrieve the document lazily. That is, retrieve document content and document metadata only on an as needed basis when reading the document.


getGenerateName

public boolean getGenerateName()
Gets whether to automatically generate a name for the document.


setGenerateName

public XmlDocumentConfig setGenerateName(boolean value)
Sets whether to automatically generate a name for the document.


getDirtyRead

public boolean getDirtyRead()
Gets whether to read uncommitted (dirty) data for a document or result.


setDirtyRead

public XmlDocumentConfig setDirtyRead(boolean value)
Sets whether to read uncommitted (dirty) data for a document or result.


getLockMode

public LockMode getLockMode()
Get the lock mode for the operation.


setLockMode

public XmlDocumentConfig setLockMode(LockMode lmode)
Set the lock mode for the operation.


Berkeley DB XML
version 2.1.8

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.