Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.uima.search
Interface IndexRule

All Superinterfaces:
  Serializable, XMLizable

    public interface IndexRule

extends XMLizable, Serializable

A rule that specifies indexing behavior. An indexing rule is attached to an `IndexBuildItem` in order to assign indexing behavior to an annotation type. An Index Rule consists of zero or more `Style`s.

This object implements the `XMLizable` interface and can be parsed from an XML representation.

Method Summary
`Style[]` | `getStyles()` Gets the styles that comprise this index rule.
`void` | `setStyles(Style[] aStyles)` Sets the styles that comprise this index rule.

Methods inherited from interface org.apache.uima.util.XMLizable
`buildFromXMLElement, buildFromXMLElement, toXML, toXML, toXML, toXML`

Method Detail

### getStyles

    Style[] getStyles()

  Gets the styles that comprise this index rule.

  Returns:
    the CAS type name for this build item

### setStyles

    void setStyles(Style[] aStyles)

  Sets the styles that comprise this index rule.

  Parameters:
    `aStyles` - the CAS type name for this build item

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 The Apache Software Foundation. All Rights Reserved.