public abstract class AbstractIdFactory extends java.lang.Object implements IdFactory
AbstractIdFactory
...Constructor and Description |
---|
AbstractIdFactory() |
Modifier and Type | Method and Description |
---|---|
NodeId |
createNodeId(NodeId parentId,
Path path)
Creates a new
NodeId from the given parent id and
the given Path object. |
NodeId |
createNodeId(java.lang.String uniqueID)
Creates a new
NodeId from the given unique id. |
NodeId |
createNodeId(java.lang.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
property name. |
NodeId |
fromJcrIdentifier(java.lang.String jcrIdentifier)
Create a new
NodeId from the given JCR string representation. |
java.lang.String |
toJcrIdentifier(NodeId nodeId)
Returns the JCR string representation of the given
nodeId . |
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(java.lang.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(java.lang.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
property name.createPropertyId
in interface IdFactory
PropertyId
.IdFactory.createPropertyId(NodeId,Name)
public java.lang.String toJcrIdentifier(NodeId nodeId)
IdFactory
nodeId
.toJcrIdentifier
in interface IdFactory
IdFactory.toJcrIdentifier(NodeId)
public NodeId fromJcrIdentifier(java.lang.String jcrIdentifier)
IdFactory
NodeId
from the given JCR string representation.fromJcrIdentifier
in interface IdFactory
NodeId
.IdFactory.fromJcrIdentifier(String)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"