Package org.apache.jackrabbit.commons
Class AbstractWorkspace
- java.lang.Object
-
- org.apache.jackrabbit.commons.AbstractWorkspace
-
- All Implemented Interfaces:
javax.jcr.Workspace
public abstract class AbstractWorkspace extends java.lang.Object implements javax.jcr.WorkspaceAbstract base class for implementing the JCRWorkspaceinterface.
-
-
Field Summary
-
Fields inherited from interface javax.jcr.Workspace
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 Summary
Constructors Constructor Description AbstractWorkspace()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidimportXML(java.lang.String parentAbsPath, java.io.InputStream in, int uuidBehavior)Parses the given input stream as an XML document and processes the SAX events using theContentHandlerreturned byWorkspace.getImportContentHandler(String, int).-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface javax.jcr.Workspace
clone, copy, copy, createWorkspace, createWorkspace, deleteWorkspace, getAccessibleWorkspaceNames, getImportContentHandler, getLockManager, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, getVersionManager, move, restore
-
-
-
-
Method Detail
-
importXML
public void importXML(java.lang.String parentAbsPath, java.io.InputStream in, int uuidBehavior) throws java.io.IOException, javax.jcr.InvalidSerializedDataException, javax.jcr.RepositoryExceptionParses the given input stream as an XML document and processes the SAX events using theContentHandlerreturned byWorkspace.getImportContentHandler(String, int).- Specified by:
importXMLin interfacejavax.jcr.Workspace- Parameters:
parentAbsPath- passed throughin- input stream to be parsed as XML and importeduuidBehavior- passed through- Throws:
java.io.IOException- if an I/O error occursjavax.jcr.InvalidSerializedDataException- if an XML parsing error occursjavax.jcr.RepositoryException- if a repository error occurs
-
-