public class EquivItem extends CompositeTaggableItem
This can only have Word, Int or Phrase children.
Item.ItemCreator, Item.ItemType
connectedBacklink, connectedItem, connectivity, DEFAULT_WEIGHT, explicitSignificance, significance, uniqueID
Constructor and Description |
---|
EquivItem()
make an EQUIV item with no children
|
EquivItem(Item item)
create an EQUIV with the given item as child.
|
EquivItem(Item item,
Collection<String> words)
create an EQUIV with the given item and a set
of alternate words as children.
|
Modifier and Type | Method and Description |
---|---|
protected void |
adding(Item item) |
Item.ItemType |
getItemType()
Return the enumerated type of this item.
|
String |
getName()
Returns the name of this item
|
getConnectedItem, getConnectivity, getSignificance, getUniqueID, hasExplicitSignificance, hasUniqueID, setConnectivity, setExplicitSignificance, setSignificance, setUniqueID
addItem, addItem, appendBodyString, clone, disclose, encode, encodeThis, encodingArity, ensureNotInSubtree, equals, getItem, getItemCount, getItemIndex, getItemIterator, getTermCount, hashCode, insertNullFirstItem, isLocked, lock, removeItem, removeItem, setIndexName, setItem, shouldParenthize
addAnnotation, appendHeadingString, getAnnotation, getBytes, getCode, getCreator, getLabel, getLanguage, getParent, getWeight, hasAnnotation, hasConnectivityBackLink, isFilter, isFromSpecialToken, isProtected, isRanked, isRoot, putBytes, putString, setCreator, setFilter, setFromSpecialToken, setHasUniqueID, setLabel, setLanguage, setParent, setPositionData, setProtected, setRanked, setWeight, toString, usePositionData
public EquivItem()
public EquivItem(Item item)
item
- Will be modified and added as a child.public EquivItem(Item item, Collection<String> words)
item
- Will be modified and added as a child.words
- Set of words to create WordItems from.public Item.ItemType getItemType()
Item
getItemType
in class Item
protected void adding(Item item)
adding
in class CompositeItem
Copyright © 2018. All rights reserved.