code: public static HierarchicalProperty getOwner(NodeImpl node) throws RepositoryException
     {
        HierarchicalProperty ownerProperty = new HierarchicalProperty(PropertyConstants.OWNER);
  
        HierarchicalProperty href = new HierarchicalProperty(new QName("DAV:", "href"));
        href.setValue(node.getACL().getOwner());
  
        ownerProperty.addChild(href);
  
        return ownerProperty;
     }
docs: Transform owner got from node's {@link AccessControlList}
  to tree like {@link HierarchicalProperty} instance to use in PROPFIND response body
  @param node
  @return {@link HierarchicalProperty} representation of node owner
  @throws RepositoryException