public class IdFactoryLogger extends AbstractLogger implements IdFactory
IdFactory.AbstractLogger.Callable, AbstractLogger.SafeCallablewriter| Constructor and Description | 
|---|
| IdFactoryLogger(IdFactory idFactory,
               LogWriter writer)Create a new instance for the given  idFactorywhich useswriterfor persisting log messages. | 
| Modifier and Type | Method and Description | 
|---|---|
| NodeId | createNodeId(NodeId parentId,
            Path path)Creates a new  NodeIdfrom the given parent id and
 the givenPathobject. | 
| NodeId | createNodeId(String uniqueID)Creates a new  NodeIdfrom the given unique id. | 
| NodeId | createNodeId(String uniqueID,
            Path path)Creates a new  NodeIdfrom the given unique id (which identifies
 an ancestorNode) and the givenPathobject. | 
| PropertyId | createPropertyId(NodeId parentId,
                Name propertyName)Creates a new  PropertyIdfrom the given parent id and
 property name. | 
| NodeId | fromJcrIdentifier(String jcrIdentifier)Create a new  NodeIdfrom the given JCR string representation. | 
| IdFactory | getIdFactory() | 
| String | toJcrIdentifier(NodeId nodeId)Returns the JCR string representation of the given  nodeId. | 
execute, executepublic IdFactory getIdFactory()
public PropertyId createPropertyId(NodeId parentId, Name propertyName)
IdFactoryPropertyId from the given parent id and
 property name.createPropertyId in interface IdFactoryPropertyId.public NodeId createNodeId(NodeId parentId, Path path)
IdFactoryNodeId from the given parent id and
 the given Path object.createNodeId in interface IdFactoryNodeId.public NodeId createNodeId(String uniqueID, Path path)
IdFactoryNodeId from the given unique id (which identifies
 an ancestor Node) and the given Path object.createNodeId in interface IdFactoryNodeId.ItemId for a description of the uniqueID defined by the SPI
 item identifiers.public NodeId createNodeId(String uniqueID)
IdFactoryNodeId from the given unique id.createNodeId in interface IdFactoryNodeId.ItemId for a description of the uniqueID defined by the SPI
 item identifiers.public String toJcrIdentifier(NodeId nodeId)
IdFactorynodeId.toJcrIdentifier in interface IdFactoryIdFactory.fromJcrIdentifier(String)public NodeId fromJcrIdentifier(String jcrIdentifier)
IdFactoryNodeId from the given JCR string representation.fromJcrIdentifier in interface IdFactoryNodeId.IdFactory.toJcrIdentifier(NodeId)Copyright © 2004–2022 The Apache Software Foundation. All rights reserved.