org.alfresco.service.cmr.repository
Class Path.AttributeElement
org.alfresco.service.cmr.repository.Path.AttributeElement All Implemented Interfaces:
-
Enclosing class:
-
@org.alfresco.api.AlfrescoPublicApi
public static class Path.AttributeElement
Represents a qualified path to an attribute,
including the sibling for repeated properties/attributes to retrieve e.g. /@{namespace}name[5]
See Also:
-
AttributeElement
public AttributeElement(QName attribute) -
Parameters:
-
attribute - QName
AttributeElement
public AttributeElement(QName attribute, int position)
AttributeElement
public AttributeElement(String attribute)
getElementString
public String getElementString() -
Overrides:
-
Returns:
-
Returns the path element portion including leading '/' and never null
getPrefixedString
-
Overrides:
-
Parameters:
-
resolver - namespace prefix resolver
Returns:
-
the path element portion (with namespaces converted to prefixes)
getQName
position
public int position()
equals
public boolean equals(Object o) -
Overrides:
-
hashCode
public int hashCode()
-
Overrides:
-
getBaseNameElement
-
Overrides:
-
Parameters:
-
tenantService - TenantService
Returns:
-
Element