Class Path.ChildAssocElement

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Path

    @AlfrescoPublicApi
    public static class Path.ChildAssocElement
    extends Path.Element
    Represents a qualified path between a parent and a child node, including the sibling to retrieve e.g. /{namespace}name[5]
    See Also:
    Serialized Form
    • Constructor Detail

      • ChildAssocElement

        public ChildAssocElement​(ChildAssociationRef ref)
        Parameters:
        ref - a reference to the specific parent-child association
    • Method Detail

      • 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