public class JcrLabeledResource extends Object implements LabeledResource
Constructor and Description |
---|
JcrLabeledResource(Node node)
Creates a new JcrLabeledResource and initializes its field from the
properties of the given node or it's
jcr:content child node. |
public JcrLabeledResource(Node node) throws RepositoryException
jcr:content
child node.node
- the nodeRepositoryException
- if an error during repository access occurs.public String getPath()
getPath
in interface LabeledResource
public String getName()
getName
in interface LabeledResource
public String getTitle()
getTitle
in interface LabeledResource
jcr:title
property of the underlying
node or of it's jcr:content
child node if it exists.
null
otherwise.public String getDescription()
getDescription
in interface LabeledResource
jcr:description
property of the underlying
node or of it's jcr:content
child node if it exists.
null
otherwise."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"