Class NodeContextImpl
- java.lang.Object
-
- org.apache.jackrabbit.vault.validation.spi.util.NodeContextImpl
-
- All Implemented Interfaces:
NodeContext
public final class NodeContextImpl extends Object implements NodeContext
-
-
Constructor Summary
Constructors Constructor Description NodeContextImpl(@NotNull String nodePath, @NotNull Path filePath, @NotNull Path basePath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
@NotNull Path
getBasePath()
@NotNull Path
getFilePath()
@NotNull String
getNodePath()
int
hashCode()
String
toString()
-
-
-
Method Detail
-
getNodePath
@NotNull public @NotNull String getNodePath()
- Specified by:
getNodePath
in interfaceNodeContext
- Returns:
- the JCR node path
-
getFilePath
@NotNull public @NotNull Path getFilePath()
- Specified by:
getFilePath
in interfaceNodeContext
- Returns:
- the file path relative to jcr_root
-
getBasePath
@NotNull public @NotNull Path getBasePath()
- Specified by:
getBasePath
in interfaceNodeContext
- Returns:
- the absolute file path of jcr_root (base for
NodeContext.getFilePath()
)
-
-