Overview | Package | Class | Tree | Deprecated | Index | Help
| Qizx/Open v0.3
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.xfra.qizxopen.dm
Class FulltextQuery.Hiliter

    java.lang.Object
      |
      +--net.xfra.qizxopen.dm.FulltextQuery.Hiliter

Enclosing class:
  FulltextQuery

public class FulltextQuery.Hiliter
extends java.lang.Object

Defines the way highlighted words are decorated: a highlighted word is surrounded by an element of the form word, where N is the rank of the fulltext clause (phrase or alternative of terms), E is the 'element' field of this hiliter (a QName with default value "span"), A is the 'attribute' field (a QName with default value "class"), and pattern is a string prefix to the attribute value (by default empty).

may also carry elements to highlight specifically (set by addMatchingArea), by default the whole root fragment may be highlighted.

Field Summary
`QName` | `attribute`
`QName` | `element`
`java.lang.String` | `pattern`

Constructor Summary
`FulltextQuery.Hiliter()`

Method Summary
`void` | `addMatchingArea(Node area)` Defines a particular element to highlight inside the root fragment.

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### element

    public QName element

### attribute

    public QName attribute

### pattern

    public java.lang.String pattern

Constructor Detail

### FulltextQuery.Hiliter

    public FulltextQuery.Hiliter()

Method Detail

### addMatchingArea

    public void addMatchingArea(Node area)

  Defines a particular element to highlight inside the root fragment.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Copyright Xavier FRANC 2003-2004
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD