Logo Search packages:      
Sourcecode: uimaj version File versions  Download package

Classes | Public Member Functions | Protected Member Functions | Package Functions | Package Attributes | Static Package Attributes

org::apache::uima::tutorial::ex3::TutorialDateTime Class Reference

Inheritance diagram for org::apache::uima::tutorial::ex3::TutorialDateTime:
Inheritance graph
[legend]
Collaboration diagram for org::apache::uima::tutorial::ex3::TutorialDateTime:
Collaboration graph
[legend]

List of all members.

Classes

class  Maker

Public Member Functions

void batchProcessComplete () throws AnalysisEngineProcessException
void collectionProcessComplete () throws AnalysisEngineProcessException
void destroy ()
final int getCasInstancesRequired ()
Class< JCasgetRequiredCasInterface ()
final boolean hasNext () throws AnalysisEngineProcessException
void initialize (UimaContext aContext) throws ResourceInitializationException
final AbstractCas next () throws AnalysisEngineProcessException
void process (JCas aJCas)
void process (AbstractCas aCAS) throws AnalysisEngineProcessException
void reconfigure () throws ResourceConfigurationException, ResourceInitializationException
void setResultSpecification (ResultSpecification aResultSpec)

Protected Member Functions

final UimaContext getContext ()
ResultSpecification getResultSpecification ()

Package Functions

String fixUpDateTimeStrings (String s)
void makeAnnotations (Maker m, BreakIterator b)
void makeAnnotations (Maker m, Pattern pattern, DateFormat dateFormat)

Package Attributes

String input
JCas jcas
ParsePosition pp = new ParsePosition(0)

Static Package Attributes

static final Maker dateAnnotationMaker
static final String defaultYear = "2003"
static final DateFormat dfDateLong = DateFormat.getDateInstance(DateFormat.LONG, Locale.US)
static final DateFormat dfDateMedium = DateFormat.getDateInstance(DateFormat.MEDIUM, Locale.US)
static final DateFormat dfDateShort = DateFormat.getDateInstance(DateFormat.SHORT, Locale.US)
static final DateFormat dfTimeShort = DateFormat.getTimeInstance(DateFormat.SHORT, Locale.US)
static final Pattern hoursMinutesPattern
static final Pattern longDatePattern
static final String longMonthNames = "(January|February|March|April|June|July|August|September|October|November|December)"
static final Pattern mediumDatePattern
static final NumberFormat numberFormat = NumberFormat.getInstance(Locale.US)
static final Pattern numericDatePattern
static final String shortMonthNames = "(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Sept|Oct|Nov|Dec)"
static final Maker timeAnnotationMaker

Detailed Description

Simple Date/Time annotator.

Definition at line 42 of file TutorialDateTime.java.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index