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
@AlfrescoPublicApi public static class Path.AttributeElement extends Path.Element
Represents a qualified path to an attribute, including the sibling for repeated properties/attributes to retrieve e.g. /@{namespace}name[5]- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeElement(String attribute)AttributeElement(QName attribute)AttributeElement(QName attribute, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Path.ElementgetBaseNameElement(TenantService tenantService)StringgetElementString()StringgetPrefixedString(NamespacePrefixResolver resolver)QNamegetQName()inthashCode()intposition()-
Methods inherited from class org.alfresco.service.cmr.repository.Path.Element
toString
-
-
-
-
Method Detail
-
getElementString
public String getElementString()
- Specified by:
getElementStringin classPath.Element- Returns:
- Returns the path element portion including leading '/' and never null
-
getPrefixedString
public String getPrefixedString(NamespacePrefixResolver resolver)
- Overrides:
getPrefixedStringin classPath.Element- Parameters:
resolver- namespace prefix resolver- Returns:
- the path element portion (with namespaces converted to prefixes)
-
getQName
public QName getQName()
-
position
public int position()
-
getBaseNameElement
public Path.Element getBaseNameElement(TenantService tenantService)
- Specified by:
getBaseNameElementin classPath.Element- Parameters:
tenantService- TenantService- Returns:
- Element
-
-