public class ImporterImpl extends Object implements org.apache.jackrabbit.oak.spi.xml.Importer
| Constructor and Description |
|---|
ImporterImpl(String absPath,
SessionContext sessionContext,
org.apache.jackrabbit.oak.api.Root root,
int uuidBehavior,
boolean isWorkspaceImport)
Creates a new importer instance.
|
public ImporterImpl(String absPath, SessionContext sessionContext, org.apache.jackrabbit.oak.api.Root root, int uuidBehavior, boolean isWorkspaceImport) throws RepositoryException
absPath - The absolute JCR paths such as passed to the JCR call.sessionContext - The context of the editing sessionroot - The write Root, which in case of a workspace import
is different from the Root associated with the editing session.uuidBehavior - The uuid behaviorisWorkspaceImport - true if this is a workspace import,
false otherwise.RepositoryException - If the initial validation of the
path or the state of target node/session fails.public void start()
throws RepositoryException
start in interface org.apache.jackrabbit.oak.spi.xml.ImporterRepositoryExceptionpublic void startNode(org.apache.jackrabbit.oak.spi.xml.NodeInfo nodeInfo,
List<org.apache.jackrabbit.oak.spi.xml.PropInfo> propInfos)
throws RepositoryException
startNode in interface org.apache.jackrabbit.oak.spi.xml.ImporterRepositoryExceptionpublic void endNode(org.apache.jackrabbit.oak.spi.xml.NodeInfo nodeInfo)
throws RepositoryException
endNode in interface org.apache.jackrabbit.oak.spi.xml.ImporterRepositoryExceptionpublic void end()
throws RepositoryException
end in interface org.apache.jackrabbit.oak.spi.xml.ImporterRepositoryExceptionCopyright © 2012-2016 The Apache Software Foundation. All Rights Reserved.