public class XpathServices
Xpath axes.
| Constructor Summary | |
|---|---|
XpathServices()
|
|
| Method Summary | |
|---|---|
java.util.List |
ancestor(org.eclipse.emf.ecore.EObject object)
Same meaning as the "ancestor" axe in Xpath : selects all ancestors (parent, grandparent, etc.) of the current node |
java.util.List |
child(org.eclipse.emf.ecore.EObject object)
Same meaning as the "child" axe in Xpath : selects all children of the current node |
java.util.List |
descendant(org.eclipse.emf.ecore.EObject object)
Same meaning as the "descendant" axe in Xpath: Gets all the descendants (children, grandchildren, etc.) of the current node. |
java.util.List |
following(org.eclipse.emf.ecore.EObject object)
Same meaning as the "following" axe in Xpath: selects everything in the model after the current node |
java.util.List |
followingSibling(org.eclipse.emf.ecore.EObject object)
Same meaning as the "following-sibling" axe in Xpath: selects all siblings after the current node |
org.eclipse.emf.ecore.EObject |
parent(org.eclipse.emf.ecore.EObject object)
Same meaning as the "parent" axe in Xpath : selects the parent of the current node |
java.util.List |
preceding(org.eclipse.emf.ecore.EObject object)
Same meaning as the "preceding" axe in Xpath: selects everything in the model that is before the current node |
java.util.List |
precedingSibling(org.eclipse.emf.ecore.EObject object)
Same meaning as the "preceding-sibling" axe in Xpath: selects all siblings before the current node. |
org.eclipse.emf.ecore.EObject |
self(org.eclipse.emf.ecore.EObject object)
Same meaning as the "self" axe in Xpath : selects the current node |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XpathServices()
| Method Detail |
|---|
public java.util.List ancestor(org.eclipse.emf.ecore.EObject object)
current - is the current node of generation
public java.util.List child(org.eclipse.emf.ecore.EObject object)
current - is the current node of generation
public java.util.List descendant(org.eclipse.emf.ecore.EObject object)
object - is the current node
public java.util.List following(org.eclipse.emf.ecore.EObject object)
object - is the current node
public java.util.List followingSibling(org.eclipse.emf.ecore.EObject object)
object - is the current node
public org.eclipse.emf.ecore.EObject parent(org.eclipse.emf.ecore.EObject object)
current - is the current node of generation
public java.util.List preceding(org.eclipse.emf.ecore.EObject object)
object - is the current node
public java.util.List precedingSibling(org.eclipse.emf.ecore.EObject object)
object - is the current node
public org.eclipse.emf.ecore.EObject self(org.eclipse.emf.ecore.EObject object)
current - is the current node of generation