org.alfresco.jcr.item
Class JCRPath.SimpleElement
java.lang.Object
org.alfresco.service.cmr.repository.Path.Element
org.alfresco.jcr.item.JCRPath.SimpleElement
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JCRPath.RootSimpleElement
- Enclosing class:
- JCRPath
public static class JCRPath.SimpleElement
- extends Path.Element
Simple Path Element used for building JCR Paths
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
JCRPath.SimpleElement
public JCRPath.SimpleElement(QName path)
- Parameters:
resolver
- namespace prefix resolverpath
- path element name
JCRPath.SimpleElement
public JCRPath.SimpleElement(NamespacePrefixResolver resolver,
java.lang.String path)
- Parameters:
path
- path element name
getQName
public QName getQName()
- Get the QName representation of Path
getElementString
public java.lang.String getElementString()
- Specified by:
getElementString
in class Path.Element
- Returns:
- Returns the path element portion including leading '/' and never null
getPrefixedString
public java.lang.String getPrefixedString(NamespacePrefixResolver resolver)
- Overrides:
getPrefixedString
in class Path.Element
- Parameters:
resolver
- namespace prefix resolver
- Returns:
- the path element portion (with namespaces converted to prefixes)
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.