org.apache.chemistry.opencmis.jcr
Class JcrNodeFactory
java.lang.Object
org.apache.chemistry.opencmis.jcr.JcrNodeFactory
public class JcrNodeFactory
- extends Object
Factory for creating instances of sub-classes of JcrNode from JCR Nodes.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JcrNodeFactory
public JcrNodeFactory()
create
public JcrNode create(javax.jcr.Node node)
- Create a new
JcrNode from a JCR Node.
This implementation creates a JcrUnversionedDocument if node is
of type nt:file but not of type mix:simpleVersionable, a JcrVersion if node
is of type nt:file and of type mix:simpleVersionable and a JcrFolder otherwise.
- Parameters:
node -
- Returns:
getTypeManager
protected final TypeManager getTypeManager()
getPathManager
protected final PathManager getPathManager()
Copyright © 2009-2011 The Apache Software Foundation. All Rights Reserved.