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:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the SpanTree of this, if any.Returns the StringFieldValue that this node belongs to, if any.
-
Method Details
-
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.
-