net.sf.jhunlang.jmorph.sword
Class SwordAffixFlagFilter

java.lang.Object
  extended bynet.sf.jhunlang.jmorph.sword.SwordAffixFlagFilter
All Implemented Interfaces:
java.io.Serializable

public class SwordAffixFlagFilter
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
protected  java.util.Collection allowedEndings
           
protected  java.util.Collection allowedFlags
           
static java.lang.String CONTAIN
           
static java.lang.String ENDINGS
           
static java.lang.String EQU
           
static java.lang.String FLAGS
           
protected  java.util.Collection forbiddenEndings
           
protected  java.util.Collection forbiddenFlags
           
static java.lang.String NOT
           
static java.lang.String START
           
static java.lang.String[] TYPES
           
 
Constructor Summary
SwordAffixFlagFilter()
           
 
Method Summary
 boolean admit(AffixEntry entry)
          Return if flag entry is configured.
protected  ParseException error(java.net.URL url, java.io.LineNumberReader reader, java.lang.String line)
           
 void read(java.net.URL url, java.lang.String encoding)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT

public static final java.lang.String NOT
See Also:
Constant Field Values

FLAGS

public static final java.lang.String FLAGS
See Also:
Constant Field Values

ENDINGS

public static final java.lang.String ENDINGS
See Also:
Constant Field Values

START

public static final java.lang.String START
See Also:
Constant Field Values

CONTAIN

public static final java.lang.String CONTAIN
See Also:
Constant Field Values

EQU

public static final java.lang.String EQU
See Also:
Constant Field Values

TYPES

public static final java.lang.String[] TYPES

allowedFlags

protected java.util.Collection allowedFlags

forbiddenFlags

protected java.util.Collection forbiddenFlags

allowedEndings

protected java.util.Collection allowedEndings

forbiddenEndings

protected java.util.Collection forbiddenEndings
Constructor Detail

SwordAffixFlagFilter

public SwordAffixFlagFilter()
Method Detail

read

public void read(java.net.URL url,
                 java.lang.String encoding)
          throws java.io.IOException,
                 ParseException
Throws:
java.io.IOException
ParseException

admit

public boolean admit(AffixEntry entry)
Return if flag entry is configured. Return true if .

Parameters:
entry - the affix entry
Returns:
if entry is admitted by the configuration

error

protected ParseException error(java.net.URL url,
                               java.io.LineNumberReader reader,
                               java.lang.String line)


Copyright © 2005 jmorph developers. All Rights Reserved.