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. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
Returns the description of this resource.
|
String |
getName()
Returns the name of this resource.
|
String |
getPath()
Returns the path of this resource
|
String |
getTitle()
Returns the tile of this resource.
|
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 LabeledResourcepublic String getName()
getName in interface LabeledResourcepublic String getTitle()
getTitle in interface LabeledResourcejcr: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 LabeledResourcejcr:description property of the underlying
node or of it's jcr:content child node if it exists.
null otherwise.Copyright © 2010 - 2020 Adobe. All Rights Reserved