|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.chemistry.opencmis.jcr.JcrNodeFactory
public class JcrNodeFactory
Factory for creating instances of sub-classes of JcrNode
from JCR Node
s.
Constructor Summary | |
---|---|
JcrNodeFactory()
|
Method Summary | |
---|---|
JcrNode |
create(javax.jcr.Node node)
Create a new JcrNode from a JCR Node . |
IdentifierMap |
getIdentifierMap(TypeDefinition fromType)
Return a IdentifierMap for the given CMIS type. |
protected PathManager |
getPathManager()
|
protected JcrTypeManager |
getTypeManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JcrNodeFactory()
Method Detail |
---|
public JcrNode create(javax.jcr.Node node)
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.
node
-
public IdentifierMap getIdentifierMap(TypeDefinition fromType)
IdentifierMap
for the given CMIS type.
fromType
- CMIS type
IdentifierMap
protected final JcrTypeManager getTypeManager()
protected final PathManager getPathManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |