Berkeley DB XML
version 2.5.16

com.sleepycat.dbxml
Class XmlManagerConfig

java.lang.Object
  extended by com.sleepycat.dbxml.XmlManagerConfig
All Implemented Interfaces:
Cloneable

public class XmlManagerConfig
extends Object
implements Cloneable

Used to configure an XmlManager instance via its constructors.


Field Summary
static XmlManagerConfig DEFAULT
          The default configuration settings for XmlManagers.
 
Constructor Summary
XmlManagerConfig()
           
 
Method Summary
 boolean getAdoptEnvironment()
          Gets whether the XmlManager object will close and delete the underlying environment handle at the end of the XmlManager's life.
 boolean getAllowAutoOpen()
          Gets whether XQuery queries that reference unopened containers will automatically open those containers.
 boolean getAllowExternalAccess()
          Gets whether XQuery queries are allowed to access data sources external to the container, such as files on disk or http URIs.
 XmlManagerConfig setAdoptEnvironment(boolean value)
          Sets whether the XmlManager object will close and delete the underlying environment handle at the end of the XmlManager's life.
 XmlManagerConfig setAllowAutoOpen(boolean value)
          Sets whether XQuery queries that reference unopened containers will automatically open those containers, and close them when references resulting from the query are released.
 XmlManagerConfig setAllowExternalAccess(boolean value)
          Allows XQuery queries to access data sources external to the container, such as files on disk or http URIs.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final XmlManagerConfig DEFAULT
The default configuration settings for XmlManagers.

Constructor Detail

XmlManagerConfig

public XmlManagerConfig()
Method Detail

getAdoptEnvironment

public boolean getAdoptEnvironment()
Gets whether the XmlManager object will close and delete the underlying environment handle at the end of the XmlManager's life.


setAdoptEnvironment

public XmlManagerConfig setAdoptEnvironment(boolean value)
Sets whether the XmlManager object will close and delete the underlying environment handle at the end of the XmlManager's life.


getAllowExternalAccess

public boolean getAllowExternalAccess()
Gets whether XQuery queries are allowed to access data sources external to the container, such as files on disk or http URIs.


setAllowExternalAccess

public XmlManagerConfig setAllowExternalAccess(boolean value)
Allows XQuery queries to access data sources external to the container, such as files on disk or http URIs. By default, such access is not allowed.


getAllowAutoOpen

public boolean getAllowAutoOpen()
Gets whether XQuery queries that reference unopened containers will automatically open those containers.


setAllowAutoOpen

public XmlManagerConfig setAllowAutoOpen(boolean value)
Sets whether XQuery queries that reference unopened containers will automatically open those containers, and close them when references resulting from the query are released. By default, a query will fail if it refers to containers that are not open.


Berkeley DB XML
version 2.5.16

Copyright (c) 1996,2009 Oracle. All rights reserved.