|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.upenn.cis.pdtb.PDTBSelectionImpl
| Field Summary | |
protected static java.util.Stack |
PDTBSelectionPool
|
| Fields inherited from interface edu.upenn.cis.pdtb.PDTBSelection |
RawTextAttributeQName |
| Constructor Summary | |
PDTBSelectionImpl(SpanList spanList,
GornAddressList gal,
java.lang.String rawText,
java.util.Enumeration treeNodes)
Creates a new instance of PDTBSelectionImpl |
|
| Method Summary | |
GornAddressList |
getAddresses()
A list of Gorn addresses corresponding to the selection. |
PDTBNode |
getPDTBNode()
Get the associated PDTBNode. |
java.util.Enumeration |
getPTBNodes()
Get hte tree nodes denoted by the Gorn address list. |
java.lang.String |
getRawText()
Get the raw text denoted by the span list. |
SpanList |
getSpans()
A list of spans corresponding to the selection. |
void |
save(java.io.Writer writer)
|
void |
setPDTBNode(PDTBNode node)
Set the associated node. |
void |
updateAttributesOnNode()
Set the attributes on ownerNode. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected static final java.util.Stack PDTBSelectionPool
| Constructor Detail |
public PDTBSelectionImpl(SpanList spanList,
GornAddressList gal,
java.lang.String rawText,
java.util.Enumeration treeNodes)
| Method Detail |
public GornAddressList getAddresses()
PDTBSelection
getAddresses in interface PDTBSelectionpublic PDTBNode getPDTBNode()
PDTBSelection
getPDTBNode in interface PDTBSelectionpublic java.util.Enumeration getPTBNodes()
PDTBSelection
getPTBNodes in interface PDTBSelectionpublic java.lang.String getRawText()
PDTBSelection
getRawText in interface PDTBSelectionpublic SpanList getSpans()
PDTBSelection
getSpans in interface PDTBSelectionpublic void setPDTBNode(PDTBNode node)
PDTBSelection
setPDTBNode in interface PDTBSelectionpublic void updateAttributesOnNode()
PDTBSelection
updateAttributesOnNode in interface PDTBSelection
public void save(java.io.Writer writer)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||