public abstract class AbstractWorkspace extends Object implements javax.jcr.Workspace
Workspace interface.NAME_ACTIVITIES_NODE, NAME_CONFIGURATIONS_NODE, NAME_JCR_XMLCHARACTERS, NAME_JCR_XMLTEXT, NAME_NODE_TYPES_NODE, NAME_SYSTEM_NODE, NAME_UNFILED_NODE, NAME_VERSION_STORAGE_NODE, NAME_WORKSPACE_ROOT, PATH_ACTIVITIES_NODE, PATH_CONFIGURATIONS_NODE, PATH_NODE_TYPES_NODE, PATH_SYSTEM_NODE, PATH_UNFILED_NODE, PATH_VERSION_STORAGE_NODE, PATH_WORKSPACE_ROOT, RELPATH_JCR_XMLCHARACTERS| Constructor and Description |
|---|
AbstractWorkspace() |
| Modifier and Type | Method and Description |
|---|---|
void |
importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
Parses the given input stream as an XML document and processes the
SAX events using the
ContentHandler returned by
Workspace.getImportContentHandler(String, int). |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, copy, copy, createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, move, restorepublic void importXML(String parentAbsPath, InputStream in, int uuidBehavior) throws IOException, javax.jcr.InvalidSerializedDataException, javax.jcr.RepositoryException
ContentHandler returned by
Workspace.getImportContentHandler(String, int).importXML in interface javax.jcr.WorkspaceparentAbsPath - passed throughin - input stream to be parsed as XML and importeduuidBehavior - passed throughIOException - if an I/O error occursjavax.jcr.InvalidSerializedDataException - if an XML parsing error occursjavax.jcr.RepositoryException - if a repository error occursCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.