Package com.yahoo.document.annotation
Interface SpanNodeParent
-
- All Known Implementing Classes:
AlternateSpanList
,Span
,SpanList
,SpanNode
,SpanTree
public interface SpanNodeParent
An interface to be implemented by classes that can be parents of SpanNodes.- Author:
- Einar M R Rosenvinge
- See Also:
SpanNode.getParent()
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SpanTree
getSpanTree()
Returns the SpanTree of this, if any.StringFieldValue
getStringFieldValue()
Returns the StringFieldValue that this node belongs to, if any.
-
-
-
Method Detail
-
getSpanTree
SpanTree getSpanTree()
Returns the SpanTree of this, if any.- Returns:
- the SpanTree of this, if it belongs to a SpanTree, otherwise null.
-
getStringFieldValue
StringFieldValue getStringFieldValue()
Returns the StringFieldValue that this node belongs to, if any.- Returns:
- the StringFieldValue that this node belongs to, if any, otherwise null.
-
-