|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.exist.storage.FulltextIndexSpec
Contains information about which parts of a document should be fulltext-indexed for a specified doctype. It basically keeps a list of paths to include and exclude from indexing. Paths are specified using simple XPath syntax, e.g. //SPEECH will select any SPEECH elements, //title/@id will select all id attributes being children of title elements.
Constructor Summary | |
FulltextIndexSpec(java.util.Map namespaces,
org.w3c.dom.Element node)
Constructor for the IndexPaths object param def if set to true, include everything by default. |
Method Summary | |
boolean |
getIncludeAlphaNum()
Include alpha-numeric data? |
boolean |
isSelective()
|
boolean |
match(NodePath path)
Check if a given path should be indexed. |
boolean |
matchAttribute(NodePath path)
Check if a given path should be indexed. |
boolean |
matchMixedElement(NodePath path)
Check if the element corresponding to the given path should be indexed as an element with mixed content, i.e. |
boolean |
preserveContent(NodePath path)
Check if a given path should be preserveContent. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public FulltextIndexSpec(java.util.Map namespaces, org.w3c.dom.Element node)
Method Detail |
public boolean isSelective()
public boolean getIncludeAlphaNum()
public boolean match(NodePath path)
path
- path to the node
public boolean matchAttribute(NodePath path)
path
- path to the node
public boolean matchMixedElement(NodePath path)
path
- public boolean preserveContent(NodePath path)
path
- path to the node
public java.lang.String toString()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |