Interface INode
-
- All Superinterfaces:
ILocatable
- All Known Subinterfaces:
IModelNode
- All Known Implementing Classes:
AbstractFormattedNode
,AbstractNode
,AttributeNode
,ContainmentReferenceNode
,DocumentRoot
,ErrorNode
,NamespaceNode
,NonContainmentReferenceNode
,TextNode
,XmiNode
public interface INode extends ILocatable
Узел parse-tree.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<INode>
getChildren()
Location
getLocation()
Метод для получения информации о позиции узлаINode
getNextSibling()
INode
getParent()
INode
getPreviousSibling()
String
getTextValue()
Исходное текстовое представление узла или whitespacesboolean
hasChildren()
boolean
hasNextSibling()
boolean
hasPreviousSibling()
void
setLocation(Location location)
void
setParent(INode parent)
void
setTextValue(String textValue)
-
-
-
Method Detail
-
getTextValue
String getTextValue()
Исходное текстовое представление узла или whitespaces- Returns:
-
setTextValue
void setTextValue(String textValue)
-
getLocation
Location getLocation()
Метод для получения информации о позиции узла- Specified by:
getLocation
in interfaceILocatable
- Returns:
- информация о позиции
- See Also:
Location
-
setLocation
void setLocation(Location location)
- Specified by:
setLocation
in interfaceILocatable
-
getParent
INode getParent()
-
setParent
void setParent(INode parent)
-
hasChildren
boolean hasChildren()
-
getPreviousSibling
INode getPreviousSibling()
-
hasPreviousSibling
boolean hasPreviousSibling()
-
getNextSibling
INode getNextSibling()
-
hasNextSibling
boolean hasNextSibling()
-
-