MaltParser 1.2

org.maltparser.core.feature.system
Class FeatureEngine

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap<String,FunctionDescription>
          extended by org.maltparser.core.feature.system.FeatureEngine
All Implemented Interfaces:
Serializable, Cloneable, Map<String,FunctionDescription>

public class FeatureEngine
extends HashMap<String,FunctionDescription>

Since:
1.0
Author:
Johan Hall
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
 
Field Summary
protected  Configuration configuration
           
static long serialVersionUID
           
 
Constructor Summary
FeatureEngine(Configuration configuration)
           
 
Method Summary
 boolean equals(Object obj)
           
 Configuration getConfiguration()
           
 void load(PluginLoader plugins)
           
 void load(String urlstring)
           
 void load(URL specModelURL)
           
 Function newFunction(String functionName, ConfigurationRegistry registry)
           
 void readFeatureSystem(Element system)
           
 void readFunction(Element function)
           
 void readSubFunction(Element subfunction, Class<?> clazz)
           
 void setConfiguration(Configuration configuration)
           
 String toString()
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
hashCode
 

Field Detail

serialVersionUID

public static final long serialVersionUID
See Also:
Constant Field Values

configuration

protected Configuration configuration
Constructor Detail

FeatureEngine

public FeatureEngine(Configuration configuration)
Method Detail

newFunction

public Function newFunction(String functionName,
                            ConfigurationRegistry registry)
                     throws MaltChainedException
Throws:
MaltChainedException

load

public void load(String urlstring)
          throws MaltChainedException
Throws:
MaltChainedException

load

public void load(PluginLoader plugins)
          throws MaltChainedException
Throws:
MaltChainedException

load

public void load(URL specModelURL)
          throws MaltChainedException
Throws:
MaltChainedException

readFeatureSystem

public void readFeatureSystem(Element system)
                       throws MaltChainedException
Throws:
MaltChainedException

readFunction

public void readFunction(Element function)
                  throws MaltChainedException
Throws:
MaltChainedException

readSubFunction

public void readSubFunction(Element subfunction,
                            Class<?> clazz)
                     throws MaltChainedException
Throws:
MaltChainedException

getConfiguration

public Configuration getConfiguration()

setConfiguration

public void setConfiguration(Configuration configuration)

equals

public boolean equals(Object obj)
Specified by:
equals in interface Map<String,FunctionDescription>
Overrides:
equals in class AbstractMap<String,FunctionDescription>

toString

public String toString()
Overrides:
toString in class AbstractMap<String,FunctionDescription>

MaltParser 1.2

Copyright 2007-2008 Johan Hall, Jens Nilsson and Joakim Nivre.