|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.evolveum.midpoint.prism.path.ItemPath
public class ItemPath
Field Summary | |
---|---|
static ItemPath |
EMPTY_PATH
|
Constructor Summary | |
---|---|
ItemPath()
|
|
ItemPath(ItemPath parentPath,
ItemPathSegment subSegment)
|
|
ItemPath(ItemPath parentPath,
javax.xml.namespace.QName subName)
|
|
ItemPath(ItemPathSegment... segments)
|
|
ItemPath(java.util.List<ItemPathSegment> segments)
|
|
ItemPath(java.util.List<ItemPathSegment> segments,
ItemPathSegment subSegment)
|
|
ItemPath(java.util.List<ItemPathSegment> segments,
javax.xml.namespace.QName subName)
|
|
ItemPath(javax.xml.namespace.QName... qnames)
|
Method Summary | |
---|---|
ItemPath |
allExceptLast()
Returns a path containing all segments except the last one. |
boolean |
equals(java.lang.Object obj)
|
ItemPathSegment |
first()
|
static javax.xml.namespace.QName |
getName(ItemPathSegment segment)
Convenience static method with checks |
java.util.List<ItemPathSegment> |
getSegments()
|
int |
hashCode()
|
ItemPath |
head()
Returns first segment in a form of path. |
boolean |
isEmpty()
|
ItemPathSegment |
last()
|
ItemPath |
rest()
|
int |
size()
|
ItemPath |
subPath(ItemPath subPath)
|
static ItemPath |
subPath(ItemPath prefix,
ItemPathSegment subSegment)
Null-proof static version. |
ItemPath |
subPath(ItemPathSegment subSegment)
|
ItemPath |
subPath(javax.xml.namespace.QName subName)
|
ItemPath |
tail()
Returns path containinig all segments except the first. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final ItemPath EMPTY_PATH
Constructor Detail |
---|
public ItemPath()
public ItemPath(javax.xml.namespace.QName... qnames)
public ItemPath(ItemPath parentPath, javax.xml.namespace.QName subName)
public ItemPath(java.util.List<ItemPathSegment> segments)
public ItemPath(java.util.List<ItemPathSegment> segments, ItemPathSegment subSegment)
public ItemPath(java.util.List<ItemPathSegment> segments, javax.xml.namespace.QName subName)
public ItemPath(ItemPathSegment... segments)
public ItemPath(ItemPath parentPath, ItemPathSegment subSegment)
Method Detail |
---|
public ItemPath subPath(javax.xml.namespace.QName subName)
public ItemPath subPath(ItemPathSegment subSegment)
public ItemPath subPath(ItemPath subPath)
public static ItemPath subPath(ItemPath prefix, ItemPathSegment subSegment)
public java.util.List<ItemPathSegment> getSegments()
public ItemPathSegment first()
public ItemPath rest()
public ItemPathSegment last()
public ItemPath head()
public ItemPath tail()
public ItemPath allExceptLast()
public int size()
public boolean isEmpty()
public static javax.xml.namespace.QName getName(ItemPathSegment segment)
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |