org.apache.uima.simpleserver.config
Interface TypeMap

All Known Implementing Classes:
TypeMapImpl

public interface TypeMap

Represents a type map in a service spec.


Method Summary
 void addOutput(Output output)
          Add an output spec.
 Filter getFilter()
          Get the filter for this map.
 java.lang.String getLongDescription()
           
 boolean getOutputAll()
          Get the "output all" switch.
 java.util.List<Output> getOutputs()
          Get list of output specs.
 java.lang.String getOutputTag()
          Get the output tag that the type name is mapped to.
 java.lang.String getShortDescription()
           
 java.lang.String getTypeName()
          Get the type name.
 boolean isOutputCoveredText()
          Get the switch for covered text.
 

Method Detail

getFilter

Filter getFilter()
Get the filter for this map.

Returns:
This map's filter; may be null.

getOutputAll

boolean getOutputAll()
Get the "output all" switch. If this is set to true, output all simple-valued features of the given type. Defaults to false.

Returns:
The "output all" switch.

getOutputs

java.util.List<Output> getOutputs()
Get list of output specs.

Returns:
This map's output specs.

addOutput

void addOutput(Output output)
Add an output spec.

Parameters:
output -

getOutputTag

java.lang.String getOutputTag()
Get the output tag that the type name is mapped to.

Returns:
This type map's output tag.

getTypeName

java.lang.String getTypeName()
Get the type name.

Returns:
This map's type name; objects of this type will be considered for output.

isOutputCoveredText

boolean isOutputCoveredText()
Get the switch for covered text.

Returns:
Whether this map outputs the covered text for each annotation.

getShortDescription

java.lang.String getShortDescription()
Returns:
The short description (one line) of this map; may be null.

getLongDescription

java.lang.String getLongDescription()
Returns:
The long description of this map; may be null.


Copyright © 2011. All Rights Reserved.