|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jackrabbit.name.Path.PathElement
org.apache.jackrabbit.name.Path.ParentElement
| Method Summary | |
boolean |
denotesCurrent()
Returns true if this element denotes the current
('.') element, otherwise returns false. |
boolean |
denotesName()
Returns true if this element represents a regular name
(i.e. |
boolean |
denotesParent()
Returns true if this element denotes the parent
('..') element, otherwise returns false. |
boolean |
denotesRoot()
Returns true if this element denotes the root element,
otherwise returns false. |
String |
toJCRName(NamespaceResolver resolver)
Returns the JCR name representation of this path element. |
String |
toString()
Returns a string representation of this path element. |
| Methods inherited from class org.apache.jackrabbit.name.Path.PathElement |
equals, fromString, getIndex, getName, hashCode, toJCRName |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
public boolean denotesRoot()
Path.PathElementtrue if this element denotes the root element,
otherwise returns false.
denotesRoot in class Path.PathElementtrue if this element denotes the root
element; otherwise falsepublic boolean denotesCurrent()
Path.PathElementtrue if this element denotes the current
('.') element, otherwise returns false.
denotesCurrent in class Path.PathElementtrue if this element denotes the current
element; otherwise falsepublic boolean denotesParent()
Path.PathElementtrue if this element denotes the parent
('..') element, otherwise returns false.
denotesParent in class Path.PathElementtrue if this element denotes the parent
element; otherwise falsepublic boolean denotesName()
Path.PathElementtrue if this element represents a regular name
(i.e. neither root, '.' nor '..'), otherwise returns false.
denotesName in class Path.PathElementtrue if this element represents a regular name;
otherwise false
public String toJCRName(NamespaceResolver resolver)
throws NoPrefixDeclaredException
Path.PathElement
toJCRName in class Path.PathElementresolver - namespace resolver
NoPrefixDeclaredException - if the namespace of the path
element name can not be resolvedpublic String toString()
Path.PathElement{uri}name
syntax. Use the toJCRName
method to get the prefixed string representation of the path element.
toString in class Path.PathElement
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||