| java.lang.Object org.apache.cocoon.jcr.source.JCRNodeSource
JCRNodeSource | public class JCRNodeSource implements Source,TraversableSource,ModifiableTraversableSource(Code) | | A Source for a JCR node.
version: $Id: JCRNodeSource.java 449153 2006-09-23 04:27:50Z crossley $ |
node | protected Node node(Code) | | The node pointed to by this source (can be null)
|
session | final protected Session session(Code) | | The session this source is bound to
|
JCRNodeSource | public JCRNodeSource(JCRNodeSource parent, Node node) throws SourceException(Code) | | |
delete | public void delete() throws SourceException(Code) | | |
exists | public boolean exists()(Code) | | |
getChild | public Source getChild(String name) throws SourceException(Code) | | |
getContentLength | public long getContentLength()(Code) | | |
getContentNode | public Node getContentNode()(Code) | | Returns the JCR Node used to store the content of this
source.
the JCR content node, or null if no such nodeexist, either because the source is a collection or doesn'tcurrently contain data. |
getLastModified | public long getLastModified()(Code) | | |
getNode | public Node getNode()(Code) | | Returns the JCR Node this source points to, or
null if it denotes a non-existing path.
the JCR node. |
getParent | public Source getParent() throws SourceException(Code) | | |
getPath | public String getPath()(Code) | | Returns the path within the repository this source points to.
the path |
getSession | public Session getSession()(Code) | | Returns the JCR Session used by this source.
the JCR session. |
getValidity | public SourceValidity getValidity()(Code) | | |
isCollection | public boolean isCollection()(Code) | | |
makeCollection | public void makeCollection() throws SourceException(Code) | | |
refresh | public void refresh()(Code) | | |
|
|