|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.jackrabbit.spi.commons.identifier.AbstractIdFactory
public abstract class AbstractIdFactory
AbstractIdFactory
...
Constructor Summary | |
---|---|
AbstractIdFactory()
|
Method Summary | |
---|---|
NodeId |
createNodeId(NodeId parentId,
Path path)
Creates a new NodeId from the given parent id and
the given Path object. |
NodeId |
createNodeId(String uniqueID)
Creates a new NodeId from the given unique id. |
NodeId |
createNodeId(String uniqueID,
Path path)
Creates a new NodeId from the given unique id (which identifies
an ancestor Node ) and the given Path object. |
PropertyId |
createPropertyId(NodeId parentId,
Name propertyName)
Creates a new PropertyId from the given parent id and
qualified property name. |
protected abstract PathFactory |
getPathFactory()
Subclassed need to define a PathFactory used to create IDs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractIdFactory()
Method Detail |
---|
protected abstract PathFactory getPathFactory()
PathFactory
.public NodeId createNodeId(NodeId parentId, Path path)
NodeId
from the given parent id and
the given Path
object.
createNodeId
in interface IdFactory
NodeId
.IdFactory.createNodeId(NodeId, Path)
public NodeId createNodeId(String uniqueID, Path path)
NodeId
from the given unique id (which identifies
an ancestor Node
) and the given Path
object.
createNodeId
in interface IdFactory
NodeId
.IdFactory.createNodeId(String, Path)
public NodeId createNodeId(String uniqueID)
NodeId
from the given unique id.
createNodeId
in interface IdFactory
NodeId
.IdFactory.createNodeId(String)
public PropertyId createPropertyId(NodeId parentId, Name propertyName)
PropertyId
from the given parent id and
qualified property name.
createPropertyId
in interface IdFactory
PropertyId
.IdFactory.createPropertyId(NodeId,Name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |