|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.nite.meta.impl.NiteCoding
public class NiteCoding
A coding as referred to in the metadata
Field Summary |
---|
Fields inherited from interface net.sourceforge.nite.meta.NCoding |
---|
AGENT_CODING, INTERACTION_CODING |
Constructor Summary | |
---|---|
NiteCoding(NMetaData meta,
java.lang.String name,
int type,
NLayer top,
NLayer bottom,
java.lang.String path)
|
Method Summary | |
---|---|
NLayer |
getBottomLayer()
returns the bottom layer in the coding |
java.util.List |
getLayers()
Returns a List of "NLayer"s belonging to this coding, in arbitrary order |
java.lang.String |
getName()
returns the name of the coding - used in file names |
java.lang.String |
getPath()
returns the directory path where this coding is stored - relative to the working directory in which java is running (or absolute if metadata path is absolute) |
java.lang.String |
getRelativePath()
returns the directory path where this coding is stored, as it is in the metadata file - relative to the metadata file. |
NLayer |
getTopLayer()
returns the top layer in the coding |
int |
getType()
The type of the coding - returns either AGENT_CODING or INTERACTION_CODING |
void |
setBottomLayer(NiteLayer layer)
set the bottom layer in the coding - should only be used by the corpus-building routines and not by users. |
void |
setPath(java.lang.String path)
sets the directory path of the coding - if relative, then it'll be relative to the metadata |
void |
setTopLayer(NiteLayer layer)
set the top layer in the coding - should only be used by the corpus-building routines and not by users. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NiteCoding(NMetaData meta, java.lang.String name, int type, NLayer top, NLayer bottom, java.lang.String path)
Method Detail |
---|
public java.lang.String getName()
getName
in interface NCoding
public int getType()
getType
in interface NCoding
public NLayer getTopLayer()
getTopLayer
in interface NCoding
public void setTopLayer(NiteLayer layer)
public NLayer getBottomLayer()
getBottomLayer
in interface NCoding
public void setBottomLayer(NiteLayer layer)
public java.util.List getLayers()
getLayers
in interface NCoding
public java.lang.String getRelativePath()
public java.lang.String getPath()
getPath
in interface NCoding
public void setPath(java.lang.String path)
setPath
in interface NCoding
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |