Berkeley DB XML
version 2.3.10

com.sleepycat.dbxml
Class XmlIndexDeclaration

java.lang.Object
  extended by com.sleepycat.dbxml.XmlIndexDeclaration

public class XmlIndexDeclaration
extends Object

An indexing strategy, returned by XmlIndexSpecification.find(java.lang.String, java.lang.String).


Field Summary
 String index
          A comma-separated list of strings that represent the indexing strategy.
 String name
          The name of the element or attribute node to be indexed.
 String uri
          The namespace of the node to be indexed.
 
Constructor Summary
XmlIndexDeclaration(String uri, String name, String index)
          Construct an XmlIndexDeclaration object with the given settings.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

uri

public String uri
The namespace of the node to be indexed. The default namespace is selected by passing an empty string for the namespace.


name

public String name
The name of the element or attribute node to be indexed.


index

public String index
A comma-separated list of strings that represent the indexing strategy. The strings must contain the following information in the following order:
unique-{path type}-{node type}-{key type}-{syntax}

Constructor Detail

XmlIndexDeclaration

public XmlIndexDeclaration(String uri,
                           String name,
                           String index)
Construct an XmlIndexDeclaration object with the given settings.

Parameters:
uri - The namespace of the node to be indexed. The default namespace is selected by passing an empty string for the namespace.
name - The name of the element or attribute node to be indexed.
index - A comma-separated list of strings that represent the indexing strategy. The strings must contain the following information in the following order:
unique-{path type}-{node type}-{key type}-{syntax}

Berkeley DB XML
version 2.3.10

Copyright 1996,2007 Oracle. All rights reserved.