Class CswsConnector.RootValue
- java.lang.Object
-
- org.apache.manifoldcf.crawler.connectors.csws.CswsConnector.RootValue
-
- Enclosing class:
- CswsConnector
protected class CswsConnector.RootValue extends java.lang.ObjectClass representing a root value object, plus remainder string. This class peels off the workspace name prefix from a path string or attribute string, and finds the right workspace root node and remainder path.
-
-
Field Summary
Fields Modifier and Type Field Description protected CswsConnector.CswsContextllcprotected java.lang.StringremainderPathprotected CswsConnector.ObjectInformationrootValueprotected java.lang.StringworkspaceName
-
Constructor Summary
Constructors Constructor Description RootValue(CswsConnector.CswsContext llc, java.lang.String pathString)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetRemainderPath()Get the path string.CswsConnector.ObjectInformationgetRootValue()Get the root node.
-
-
-
Field Detail
-
llc
protected final CswsConnector.CswsContext llc
-
workspaceName
protected final java.lang.String workspaceName
-
rootValue
protected CswsConnector.ObjectInformation rootValue
-
remainderPath
protected final java.lang.String remainderPath
-
-
Constructor Detail
-
RootValue
public RootValue(CswsConnector.CswsContext llc, java.lang.String pathString)
Constructor.- Parameters:
pathString- is the path string.
-
-
Method Detail
-
getRemainderPath
public java.lang.String getRemainderPath()
Get the path string.- Returns:
- the path string (without the workspace name prefix).
-
getRootValue
public CswsConnector.ObjectInformation getRootValue() throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption
Get the root node.- Returns:
- the root node.
- Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption
-
-