|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.upenn.cis.propbank_shen.Example
public class Example
This class represents an example in the lexical guidelines. An example consists of some text together with an optional name and a list of arguments for the verb described in the frameset file of which this example is a part.
Field Summary | |
---|---|
protected List |
arguments
|
protected String |
name
|
protected Node |
node
|
protected String |
text
|
Constructor Summary | |
---|---|
Example(Node n)
construct an Example object from a dom example Node in the frameset.dtd |
Method Summary | |
---|---|
String |
getName()
get the name of this example, or return null if there is no name |
String |
getText()
return the example text as a string. |
boolean |
hasName()
return truee iff this example has a name |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Node node
protected String name
protected String text
protected List arguments
Constructor Detail |
---|
public Example(Node n)
Method Detail |
---|
public boolean hasName()
public String getName()
public String getText()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |