Class Path.AttributeElement
java.lang.Object
org.alfresco.service.cmr.repository.Path.Element
org.alfresco.service.cmr.repository.Path.AttributeElement
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Path
Represents a qualified path to an attribute,
including the sibling for repeated properties/attributes to retrieve e.g. /@{namespace}name[5]
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAttributeElement
(String attribute) AttributeElement
(QName attribute) AttributeElement
(QName attribute, int position) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getBaseNameElement
(TenantService tenantService) getPrefixedString
(NamespacePrefixResolver resolver) getQName()
int
hashCode()
int
position()
Methods inherited from class org.alfresco.service.cmr.repository.Path.Element
toString
-
Constructor Details
-
AttributeElement
- Parameters:
attribute
- QName
-
AttributeElement
-
AttributeElement
-
-
Method Details
-
getElementString
- Specified by:
getElementString
in classPath.Element
- Returns:
- Returns the path element portion including leading '/' and never null
-
getPrefixedString
- Overrides:
getPrefixedString
in classPath.Element
- Parameters:
resolver
- namespace prefix resolver- Returns:
- the path element portion (with namespaces converted to prefixes)
-
getQName
-
position
public int position() -
equals
-
hashCode
public int hashCode() -
getBaseNameElement
- Specified by:
getBaseNameElement
in classPath.Element
- Parameters:
tenantService
- TenantService- Returns:
- Element
-