org.apache.jackrabbit.commons
Class AbstractWorkspace
java.lang.Object
org.apache.jackrabbit.commons.AbstractWorkspace
- All Implemented Interfaces:
- Workspace
public abstract class AbstractWorkspace
- extends Object
- implements Workspace
Abstract base class for implementing the JCR Workspace interface.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jcr.Workspace |
clone, copy, copy, getAccessibleWorkspaceNames, getImportContentHandler, getName, getNamespaceRegistry, getNodeTypeManager, getObservationManager, getQueryManager, getSession, move, restore |
AbstractWorkspace
public AbstractWorkspace()
importXML
public void importXML(String parentAbsPath,
InputStream in,
int uuidBehavior)
throws IOException,
InvalidSerializedDataException,
RepositoryException
- Parses the given input stream as an XML document and processes the
SAX events using the
ContentHandler returned by
Workspace.getImportContentHandler(String, int).
- Specified by:
importXML in interface Workspace
- Parameters:
parentAbsPath - passed throughin - input stream to be parsed as XML and importeduuidBehavior - passed through
- Throws:
IOException - if an I/O error occurs
InvalidSerializedDataException - if an XML parsing error occurs
RepositoryException - if a repository error occurs
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.