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 TypeMethodDescriptionbooleangetBaseNameElement(TenantService tenantService) getPrefixedString(NamespacePrefixResolver resolver) getQName()inthashCode()intposition()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:
getElementStringin classPath.Element- Returns:
- Returns the path element portion including leading '/' and never null
-
getPrefixedString
- Overrides:
getPrefixedStringin 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:
getBaseNameElementin classPath.Element- Parameters:
tenantService- TenantService- Returns:
- Element
-