jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject svn commit: r209089 [1/7] - in /incubator/jackrabbit/trunk: commons/ commons/src/java/org/apache/jackrabbit/ commons/src/java/org/apache/jackrabbit/core/ commons/src/java/org/apache/jackrabbit/name/ commons/src/java/org/apache/jackrabbit/util/ commons/...
Date Mon, 04 Jul 2005 14:52:27 GMT
Author: stefan
Date: Mon Jul  4 07:52:19 2005
New Revision: 209089

URL: http://svn.apache.org/viewcvs?rev=209089&view=rev
Log:
JCR-157: Reorganize Jackrabbit into 'core' 'api' and 'commons'

Added:
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/Path.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/QName.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/UnknownPrefixException.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/Base64.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/ChildrenCollector.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/ChildrenCollectorFilter.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/ISO8601.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/IteratorHelper.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/LazyFileInputStream.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/util/Text.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/Bytes.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/Constants.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/UUID.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/VersionFourGenerator.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/uuid/package.html   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/BaseValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/BinaryValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/BooleanValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/DateValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/DoubleValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/LongValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/NameValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/PathValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/ReferenceValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/StringValue.java   (with props)
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/value/ValueHelper.java   (with props)
    incubator/jackrabbit/trunk/commons/src/test/
    incubator/jackrabbit/trunk/commons/src/test/org/
    incubator/jackrabbit/trunk/commons/src/test/org/apache/
    incubator/jackrabbit/trunk/commons/src/test/org/apache/jackrabbit/
    incubator/jackrabbit/trunk/commons/src/test/org/apache/jackrabbit/name/
    incubator/jackrabbit/trunk/commons/src/test/org/apache/jackrabbit/name/PathTest.java   (with props)
    incubator/jackrabbit/trunk/commons/src/test/org/apache/jackrabbit/name/QNameTest.java   (with props)
    incubator/jackrabbit/trunk/commons/src/test/org/apache/jackrabbit/name/TestAll.java   (with props)
Removed:
    incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/core/
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/BaseException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/Constants.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/IllegalNameException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/MalformedPathException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/NamespaceResolver.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/NoPrefixDeclaredException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/Path.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/QName.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/UnknownPrefixException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/Base64.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/ChildrenCollector.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/ChildrenCollectorFilter.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/ISO8601.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/IteratorHelper.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/LazyFileInputStream.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/uuid/
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/BLOBFileValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/BaseValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/BinaryValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/BooleanValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/DateValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/DoubleValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/LongValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/NameValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/PathValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/ReferenceValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/StringValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/ValueHelper.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/PathTest.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/QNameTest.java
Modified:
    incubator/jackrabbit/trunk/commons/project.xml
    incubator/jackrabbit/trunk/core/src/grammar/sql/JCRSQL.jjt
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/BatchedItemOperations.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/CachingHierarchyManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/HierarchyManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/HierarchyManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/ItemImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/ItemManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/ItemValidator.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/LocalNamespaceMappings.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/NamespaceRegistryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/NodeImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PathMap.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyId.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/PropertyImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/RepositoryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SearchManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/SessionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/WorkspaceImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/XASessionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/ZombieHierarchyManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/BeanConfig.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/ConfigurationEntityResolver.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/ConfigurationParser.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/RepositoryConfig.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/SearchConfig.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/config/VersioningConfig.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/fs/FileSystemException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/fs/local/HandleMonitor.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/fs/local/LocalFileSystem.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/lock/LockManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/lock/LockManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/EffectiveNodeType.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/InvalidConstraintException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/InvalidNodeTypeDefException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/ItemDef.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/ItemDefImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/ItemDefinitionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeDef.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeDefId.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeDefImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeDefinitionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeConflictException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeDef.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeDefStore.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistry.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/NodeTypeRegistryListener.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/PropDefImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/PropertyDefinitionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/ValueConstraint.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/virtual/VirtualNodeTypeStateProvider.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/xml/AdditionalNamespaceResolver.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeReader.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/nodetype/xml/NodeTypeWriter.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/ChangeLogBasedHierarchyMgr.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/EventFilter.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/EventImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/EventState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/EventStateCollection.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/ObservationManagerFactory.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/observation/ObservationManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/DerefQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/ExactQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/ExecutableQuery.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/LocationStepQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/NodeTypeQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/OrderQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/PropertyTypeRegistry.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryConstants.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryHandler.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryHandlerContext.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryParser.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryRootNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/QueryTreeDump.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/RelationQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/TextPlainTextFilter.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/TextsearchQueryNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/AbstractIndex.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/CachingIndexReader.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/CachingMultiReader.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/ChildAxisQuery.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/DerefQuery.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/DocOrderNodeIteratorImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/IndexInfos.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/LuceneQueryBuilder.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/MultiIndex.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/NamespaceMappings.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/NodeIndexer.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/NotQuery.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/PersistentIndex.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/QueryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/QueryResultImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/RedoLog.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/RowIteratorImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/SearchIndex.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/SharedFieldCache.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/SharedFieldSortComparator.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/lucene/VolatileIndex.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/sql/ASTContainsExpression.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/sql/ASTIdentifier.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/sql/ASTPredicate.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/sql/JCRSQLQueryBuilder.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/sql/QueryFormat.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/xpath/QueryFormat.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/query/xpath/XPathQueryBuilder.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/security/AuthContext.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/security/SimpleLoginModule.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemStateCache.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/ItemStateException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/LocalItemStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/NodeStateListener.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/PMContext.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/PropertyState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/SessionItemStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/SharedItemStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/TransactionContext.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/TransactionException.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/TransientItemStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/UpdatableItemStateManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/mem/InMemPersistenceManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/obj/BLOBStore.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/obj/ObjectPersistenceManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/state/xml/XMLPersistenceManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/DOMBuilder.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/DOMWalker.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/util/ISO9075.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/InternalValue.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/value/ValueFactoryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalFreeze.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalFrozenNode.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalFrozenNodeImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalFrozenVHImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalVersion.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalVersionHistory.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalVersionHistoryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/InternalVersionImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/NodeStateEx.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/VersionHistoryImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/VersionManager.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/version/VersionManagerImpl.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/virtual/AbstractVISProvider.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/virtual/VirtualItemStateProvider.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/virtual/VirtualNodeState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/virtual/VirtualPropertyState.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/virtual/VirtualValueProvider.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/AbstractSAXEventGenerator.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/DocViewImportHandler.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/DocViewSAXEventGenerator.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/ImportHandler.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/Importer.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/SessionImporter.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/SysViewImportHandler.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/SysViewSAXEventGenerator.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/TargetImportHandler.java
    incubator/jackrabbit/trunk/core/src/java/org/apache/jackrabbit/core/xml/WorkspaceImporter.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/TestAll.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/nodetype/xml/SimpleNamespaceRegistry.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/nodetype/xml/TestAll.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/query/ISO9075Test.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/core/state/ChangeLogTest.java
    incubator/jackrabbit/trunk/core/src/test/org/apache/jackrabbit/test/api/nodetype/NodeTypeUtil.java

Modified: incubator/jackrabbit/trunk/commons/project.xml
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/project.xml?rev=209089&r1=209088&r2=209089&view=diff
==============================================================================
--- incubator/jackrabbit/trunk/commons/project.xml (original)
+++ incubator/jackrabbit/trunk/commons/project.xml Mon Jul  4 07:52:19 2005
@@ -36,12 +36,20 @@
             <artifactId>jackrabbit-api</artifactId>
             <version>${pom.currentVersion}</version>
         </dependency>
-
         <dependency>
             <groupId>jsr170</groupId>
             <artifactId>jcr</artifactId>
             <version>1.0</version>
             <url>http://jcp.org/en/jsr/detail?id=170</url>
+        </dependency>
+        <dependency>
+            <id>junit</id>
+            <version>3.8.1</version>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+            <version>2.6.2</version>
         </dependency>
     </dependencies>
 

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,157 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit;
+
+import java.io.PrintStream;
+import java.io.PrintWriter;
+
+/**
+ * The abstract class <code>BaseException</code> serves as the base class
+ * for all exceptions that are specific to this JCR implementation and that
+ * are not derived from <code>javax.jcr.RepositoryException</code>.
+ */
+public abstract class BaseException extends Exception {
+
+    /**
+     * Root failure cause
+     */
+    private final Throwable rootCause;
+
+    /**
+     * Constructs a new instance of this class with <code>null</code> as its
+     * detail message.
+     */
+    public BaseException() {
+        super();
+        rootCause = null;
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public BaseException(String message) {
+        super(message);
+        rootCause = null;
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message and root cause.
+     *
+     * @param message   the detail message. The detail message is saved for
+     *                  later retrieval by the {@link #getMessage()} method.
+     * @param rootCause root failure cause
+     */
+    public BaseException(String message, Throwable rootCause) {
+        super(message);
+        this.rootCause = rootCause;
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified root cause.
+     *
+     * @param rootCause root failure cause
+     */
+    public BaseException(Throwable rootCause) {
+        super();
+        this.rootCause = rootCause;
+    }
+
+    /**
+     * Returns the detail message, including the message from the nested
+     * exception if there is one.
+     *
+     * @return the detail message (which may be <code>null</code>).
+     */
+    public String getMessage() {
+        String s = super.getMessage();
+        if (rootCause == null) {
+            return s;
+        } else if (s == null) {
+            return rootCause.getMessage();
+        } else {
+            return s + ": " + rootCause.getMessage();
+        }
+    }
+
+    /**
+     * Creates a localized description of this exception.
+     * Subclasses may override this method in order to produce a
+     * locale-specific message. For subclasses that do not override this
+     * method, the default implementation returns the same result as
+     * <code>getMessage()</code>.
+     *
+     * @return The localized description of this exception.
+     */
+    public String getLocalizedMessage() {
+        return getMessage();
+    }
+
+    /**
+     * Returns the cause of this exception or <code>null</code> if the
+     * cause is nonexistent or unknown. (The cause is the throwable that
+     * caused this exception to get thrown.)
+     *
+     * @return the cause of this exception or <code>null</code> if the
+     *         cause is nonexistent or unknown.
+     */
+    public Throwable getCause() {
+        return rootCause;
+    }
+
+    /**
+     * Prints this <code>RepositoryException</code> and its backtrace to the
+     * standard error stream.
+     */
+    public void printStackTrace() {
+        printStackTrace(System.err);
+    }
+
+    /**
+     * Prints this <code>RepositoryException</code> and its backtrace to the
+     * specified print stream.
+     *
+     * @param s <code>PrintStream</code> to use for output
+     */
+    public void printStackTrace(PrintStream s) {
+        synchronized (s) {
+            super.printStackTrace(s);
+            if (rootCause != null) {
+                rootCause.printStackTrace(s);
+            }
+        }
+    }
+
+    /**
+     * Prints this <code>RepositoryException</code> and its backtrace to
+     * the specified print writer.
+     *
+     * @param s <code>PrintWriter</code> to use for output
+     */
+    public void printStackTrace(PrintWriter s) {
+        synchronized (s) {
+            super.printStackTrace(s);
+            if (rootCause != null) {
+                rootCause.printStackTrace(s);
+            }
+        }
+    }
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/BaseException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,463 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit;
+
+import org.apache.jackrabbit.name.QName;
+
+/**
+ * This interface defines miscellaneous constants used frequently throughout the
+ * implementation.
+ */
+public interface Constants {
+
+    //------------------------------------------< namespace related constants >
+
+    // default namespace (empty uri)
+    String NS_EMPTY_PREFIX = "";
+    String NS_DEFAULT_URI = "";
+
+    // reserved namespace for repository internal node types
+    String NS_REP_PREFIX = "rep";
+    String NS_REP_URI = "internal";
+
+    // reserved namespace for items defined by built-in node types
+    String NS_JCR_PREFIX = "jcr";
+    String NS_JCR_URI = "http://www.jcp.org/jcr/1.0";
+
+    // reserved namespace for built-in primary node types
+    String NS_NT_PREFIX = "nt";
+    String NS_NT_URI = "http://www.jcp.org/jcr/nt/1.0";
+
+    // reserved namespace for built-in mixin node types
+    String NS_MIX_PREFIX = "mix";
+    String NS_MIX_URI = "http://www.jcp.org/jcr/mix/1.0";
+
+    // reserved namespace used in the system view XML serialization format
+    String NS_SV_PREFIX = "sv";
+    String NS_SV_URI = "http://www.jcp.org/jcr/sv/1.0";
+
+    // reserved namespaces that must not be redefined and should not be used
+    String NS_XML_PREFIX = "xml";
+    String NS_XML_URI = "http://www.w3.org/XML/1998/namespace";
+    String NS_XMLNS_PREFIX = "xmlns";
+    String NS_XMLNS_URI = "http://www.w3.org/2000/xmlns/";
+
+    //------------------------------------------< general item name constants >
+
+    /**
+     * jcr:system
+     */
+    QName JCR_SYSTEM = new QName(NS_JCR_URI, "system");
+
+    /**
+     * jcr:nodeTypes
+     */
+    QName JCR_NODETYPES = new QName(NS_JCR_URI, "nodeTypes");
+
+    /**
+     * jcr:uuid
+     */
+    QName JCR_UUID = new QName(NS_JCR_URI, "uuid");
+
+    /**
+     * jcr:primaryType
+     */
+    QName JCR_PRIMARYTYPE = new QName(NS_JCR_URI, "primaryType");
+
+    /**
+     * jcr:mixinTypes
+     */
+    QName JCR_MIXINTYPES = new QName(NS_JCR_URI, "mixinTypes");
+
+    /**
+     * jcr:created
+     */
+    QName JCR_CREATED = new QName(NS_JCR_URI, "created");
+
+    /**
+     * jcr:lastModified
+     */
+    QName JCR_LASTMODIFIED = new QName(NS_JCR_URI, "lastModified");
+
+    /**
+     * jcr:encoding
+     */
+    QName JCR_ENCODING = new QName(NS_JCR_URI, "encoding");
+
+    /**
+     * jcr:mimeType
+     */
+    QName JCR_MIMETYPE = new QName(NS_JCR_URI, "mimeType");
+
+    /**
+     * jcr:data
+     */
+    QName JCR_DATA = new QName(NS_JCR_URI, "data");
+
+    /**
+     * jcr:content
+     */
+    QName JCR_CONTENT = new QName(NS_JCR_URI, "content");
+
+    //--------------------------------------< xml related item name constants >
+
+    /**
+     * jcr:root (dummy name for root node used in XML serialization)
+     */
+    QName JCR_ROOT = new QName(NS_JCR_URI, "root");
+
+    /**
+     * jcr:xmltext
+     */
+    QName JCR_XMLTEXT = new QName(NS_JCR_URI, "xmltext");
+
+    /**
+     * jcr:xmlcharacters
+     */
+    QName JCR_XMLCHARACTERS = new QName(NS_JCR_URI, "xmlcharacters");
+
+    //-----------------------------------------< query related name constants >
+
+    /**
+     * jcr:score
+     */
+    QName JCR_SCORE = new QName(NS_JCR_URI, "score");
+
+    /**
+     * jcr:path
+     */
+    QName JCR_PATH = new QName(NS_JCR_URI, "path");
+
+    /**
+     * jcr:statement
+     */
+    QName JCR_STATEMENT = new QName(NS_JCR_URI, "statement");
+
+    /**
+     * jcr:language
+     */
+    QName JCR_LANGUAGE = new QName(NS_JCR_URI, "language");
+
+    //----------------------------------< locking related item name constants >
+
+    /**
+     * jcr:lockOwner
+     */
+    QName JCR_LOCKOWNER = new QName(NS_JCR_URI, "lockOwner");
+
+    /**
+     * jcr:lockIsDeep
+     */
+    QName JCR_LOCKISDEEP = new QName(NS_JCR_URI, "lockIsDeep");
+
+    //-------------------------------< versioning related item name constants >
+
+    /**
+     * jcr:versionStorage
+     */
+    QName JCR_VERSIONSTORAGE = new QName(NS_JCR_URI, "versionStorage");
+
+    /**
+     * jcr:mergeFailed
+     */
+    QName JCR_MERGEFAILED = new QName(NS_JCR_URI, "mergeFailed");
+
+    /**
+     * jcr:frozenNode
+     */
+    QName JCR_FROZENNODE = new QName(NS_JCR_URI, "frozenNode");
+
+    /**
+     * jcr:frozenUuid
+     */
+    QName JCR_FROZENUUID = new QName(NS_JCR_URI, "frozenUuid");
+
+    /**
+     * jcr:frozenPrimaryType
+     */
+    QName JCR_FROZENPRIMARYTYPE = new QName(NS_JCR_URI, "frozenPrimaryType");
+
+    /**
+     * jcr:frozenMixinTypes
+     */
+    QName JCR_FROZENMIXINTYPES = new QName(NS_JCR_URI, "frozenMixinTypes");
+
+    /**
+     * jcr:predecessors
+     */
+    QName JCR_PREDECESSORS = new QName(NS_JCR_URI, "predecessors");
+
+    /**
+     * jcr:versionLabels
+     */
+    QName JCR_VERSIONLABELS = new QName(NS_JCR_URI, "versionLabels");
+
+    /**
+     * jcr:successors
+     */
+    QName JCR_SUCCESSORS = new QName(NS_JCR_URI, "successors");
+
+    /**
+     * jcr:isCheckedOut
+     */
+    QName JCR_ISCHECKEDOUT = new QName(NS_JCR_URI, "isCheckedOut");
+
+    /**
+     * jcr:versionHistory
+     */
+    QName JCR_VERSIONHISTORY = new QName(NS_JCR_URI, "versionHistory");
+
+    /**
+     * jcr:baseVersion
+     */
+    QName JCR_BASEVERSION = new QName(NS_JCR_URI, "baseVersion");
+
+    /**
+     * jcr:childVersionHistory
+     */
+    QName JCR_CHILDVERSIONHISTORY = new QName(NS_JCR_URI, "childVersionHistory");
+
+    /**
+     * jcr:rootVersion
+     */
+    QName JCR_ROOTVERSION = new QName(NS_JCR_URI, "rootVersion");
+
+    /**
+     * jcr:versionableUuid
+     */
+    QName JCR_VERSIONABLEUUID = new QName(NS_JCR_URI, "versionableUuid");
+
+    //--------------------------------< node type related item name constants >
+
+    /**
+     * jcr:nodeTypeName
+     */
+    QName JCR_NODETYPENAME = new QName(NS_JCR_URI, "nodeTypeName");
+
+    /**
+     * jcr:hasOrderableChildNodes
+     */
+    QName JCR_HASORDERABLECHILDNODES = new QName(NS_JCR_URI, "hasOrderableChildNodes");
+
+    /**
+     * jcr:isMixin
+     */
+    QName JCR_ISMIXIN = new QName(NS_JCR_URI, "isMixin");
+
+    /**
+     * jcr:supertypes
+     */
+    QName JCR_SUPERTYPES = new QName(NS_JCR_URI, "supertypes");
+
+    /**
+     * jcr:propertyDefinition
+     */
+    QName JCR_PROPERTYDEFINITION = new QName(NS_JCR_URI, "propertyDefinition");
+
+    /**
+     * jcr:name
+     */
+    QName JCR_NAME = new QName(NS_JCR_URI, "name");
+
+    /**
+     * jcr:mandatory
+     */
+    QName JCR_MANDATORY = new QName(NS_JCR_URI, "mandatory");
+
+    /**
+     * jcr:protected
+     */
+    QName JCR_PROTECTED = new QName(NS_JCR_URI, "protected");
+
+    /**
+     * jcr:requiredType
+     */
+    QName JCR_REQUIREDTYPE = new QName(NS_JCR_URI, "requiredType");
+
+    /**
+     * jcr:onParentVersion
+     */
+    QName JCR_ONPARENTVERSION = new QName(NS_JCR_URI, "onParentVersion");
+
+    /**
+     * jcr:primaryItemName
+     */
+    QName JCR_PRIMARYITEMNAME = new QName(NS_JCR_URI, "primaryItemName");
+
+    /**
+     * jcr:multiple
+     */
+    QName JCR_MULTIPLE = new QName(NS_JCR_URI, "multiple");
+
+    /**
+     * jcr:valueConstraints
+     */
+    QName JCR_VALUECONSTRAINTS = new QName(NS_JCR_URI, "valueConstraints");
+
+    /**
+     * jcr:defaultValues
+     */
+    QName JCR_DEFAULTVALUES = new QName(NS_JCR_URI, "defaultValues");
+
+    /**
+     * jcr:autoCreated
+     */
+    QName JCR_AUTOCREATED = new QName(NS_JCR_URI, "autoCreated");
+
+    /**
+     * jcr:childNodeDefinition
+     */
+    QName JCR_CHILDNODEDEFINITION = new QName(NS_JCR_URI, "childNodeDefinition");
+
+    /**
+     * jcr:sameNameSiblings
+     */
+    QName JCR_SAMENAMESIBLINGS = new QName(NS_JCR_URI, "sameNameSiblings");
+
+    /**
+     * jcr:defaultPrimaryType
+     */
+    QName JCR_DEFAULTPRIMARYTYPE = new QName(NS_JCR_URI, "defaultPrimaryType");
+
+    /**
+     * jcr:requiredPrimaryTypes
+     */
+    QName JCR_REQUIREDPRIMARYTYPES = new QName(NS_JCR_URI, "requiredPrimaryTypes");
+
+    //---------------------------------------------< node type name constants >
+
+    /**
+     * rep:root
+     */
+    QName REP_ROOT = new QName(NS_REP_URI, "root");
+
+    /**
+     * rep:system
+     */
+    QName REP_SYSTEM = new QName(NS_REP_URI, "system");
+
+    /**
+     * rep:versionStorage
+     */
+    QName REP_VERSIONSTORAGE = new QName(NS_REP_URI, "versionStorage");
+
+    /**
+     * rep:versionStorage
+     */
+    QName REP_NODETYPES = new QName(NS_REP_URI, "nodeTypes");
+
+    /**
+     * nt:unstructured
+     */
+    QName NT_UNSTRUCTURED = new QName(NS_NT_URI, "unstructured");
+
+    /**
+     * nt:base
+     */
+    QName NT_BASE = new QName(NS_NT_URI, "base");
+
+    /**
+     * nt:hierarchyNode
+     */
+    QName NT_HIERARCHYNODE = new QName(NS_NT_URI, "hierarchyNode");
+
+    /**
+     * nt:resource
+     */
+    QName NT_RESOURCE = new QName(NS_NT_URI, "resource");
+
+    /**
+     * nt:file
+     */
+    QName NT_FILE = new QName(NS_NT_URI, "file");
+
+    /**
+     * nt:folder
+     */
+    QName NT_FOLDER = new QName(NS_NT_URI, "folder");
+
+    /**
+     * nt:query
+     */
+    QName NT_QUERY = new QName(NS_NT_URI, "query");
+
+    /**
+     * mix:referenceable
+     */
+    QName MIX_REFERENCEABLE = new QName(NS_MIX_URI, "referenceable");
+
+    /**
+     * mix:referenceable
+     */
+    QName MIX_LOCKABLE = new QName(NS_MIX_URI, "lockable");
+
+    /**
+     * mix:versionable
+     */
+    QName MIX_VERSIONABLE = new QName(NS_MIX_URI, "versionable");
+
+    /**
+     * nt:versionHistory
+     */
+    QName NT_VERSIONHISTORY = new QName(NS_NT_URI, "versionHistory");
+
+    /**
+     * nt:version
+     */
+    QName NT_VERSION = new QName(NS_NT_URI, "version");
+
+    /**
+     * nt:versionLabels
+     */
+    QName NT_VERSIONLABELS = new QName(NS_NT_URI, "versionLabels");
+
+    /**
+     * nt:versionedChild
+     */
+    QName NT_VERSIONEDCHILD = new QName(NS_NT_URI, "versionedChild");
+
+    /**
+     * nt:frozenNode
+     */
+    QName NT_FROZENNODE = new QName(NS_NT_URI, "frozenNode");
+
+    /**
+     * nt:nodeType
+     */
+    QName NT_NODETYPE = new QName(NS_NT_URI, "nodeType");
+
+    /**
+     * nt:propertyDefinition
+     */
+    QName NT_PROPERTYDEFINITION = new QName(NS_NT_URI, "propertyDefinition");
+
+    /**
+     * nt:childNodeDefinition
+     */
+    QName NT_CHILDNODEDEFINITION = new QName(NS_NT_URI, "childNodeDefinition");
+
+    //-------------------------------------------< security related constants >
+    /**
+     * Name of the internal <code>SimpleCredentials</code> attribute where
+     * the <code>Subject</code> of the <i>impersonating</i> <code>Session</code>
+     * is stored.
+     *
+     * @see javax.jcr.Session#impersonate(javax.jcr.Credentials)
+     */
+    String IMPERSONATOR_ATTRIBUTE =
+            "org.apache.jackrabbit.core.security.impersonator";
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/Constants.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.name;
+
+import org.apache.jackrabbit.BaseException;
+
+/**
+ * <code>IllegalNameException</code> ...
+ */
+public class IllegalNameException extends BaseException {
+    /**
+     * Constructs a new instance of this class with <code>null</code> as its
+     * detail message.
+     */
+    public IllegalNameException() {
+        super();
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public IllegalNameException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message and root cause.
+     *
+     * @param message   the detail message. The detail message is saved for
+     *                  later retrieval by the {@link #getMessage()} method.
+     * @param rootCause root failure cause
+     */
+    public IllegalNameException(String message, Throwable rootCause) {
+        super(message, rootCause);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified root cause.
+     *
+     * @param rootCause root failure cause
+     */
+    public IllegalNameException(Throwable rootCause) {
+        super(rootCause);
+    }
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/IllegalNameException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.name;
+
+import org.apache.jackrabbit.BaseException;
+
+/**
+ * <code>MalformedPathException</code> ...
+ */
+public class MalformedPathException extends BaseException {
+    /**
+     * Constructs a new instance of this class with <code>null</code> as its
+     * detail message.
+     */
+    public MalformedPathException() {
+        super();
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public MalformedPathException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message and root cause.
+     *
+     * @param message   the detail message. The detail message is saved for
+     *                  later retrieval by the {@link #getMessage()} method.
+     * @param rootCause root failure cause
+     */
+    public MalformedPathException(String message, Throwable rootCause) {
+        super(message, rootCause);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified root cause.
+     *
+     * @param rootCause root failure cause
+     */
+    public MalformedPathException(Throwable rootCause) {
+        super(rootCause);
+    }
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/MalformedPathException.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,43 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.name;
+
+import javax.jcr.NamespaceException;
+
+/**
+ * The <code>NamespaceResolver</code> interface ...
+ */
+public interface NamespaceResolver {
+
+    /**
+     * Returns the URI to which the given prefix is mapped.
+     *
+     * @param prefix a string
+     * @return the namespace URI to which the given prefix is mapped.
+     * @throws javax.jcr.NamespaceException if the prefix is unknown.
+     */
+    String getURI(String prefix) throws NamespaceException;
+
+    /**
+     * Returns the prefix which is mapped to the given URI.
+     *
+     * @param uri a string
+     * @return the prefix mapped to the given URI.
+     * @throws javax.jcr.NamespaceException if the URI is unknown.
+     */
+    String getPrefix(String uri) throws NamespaceException;
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NamespaceResolver.java
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java
URL: http://svn.apache.org/viewcvs/incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java?rev=209089&view=auto
==============================================================================
--- incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java (added)
+++ incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java Mon Jul  4 07:52:19 2005
@@ -0,0 +1,64 @@
+/*
+ * Copyright 2004-2005 The Apache Software Foundation or its licensors,
+ *                     as applicable.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jackrabbit.name;
+
+import org.apache.jackrabbit.BaseException;
+
+/**
+ * The <code>NoPrefixDeclaredException</code> ...
+ */
+public class NoPrefixDeclaredException extends BaseException {
+    /**
+     * Constructs a new instance of this class with <code>null</code> as its
+     * detail message.
+     */
+    public NoPrefixDeclaredException() {
+        super();
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message.
+     *
+     * @param message the detail message. The detail message is saved for
+     *                later retrieval by the {@link #getMessage()} method.
+     */
+    public NoPrefixDeclaredException(String message) {
+        super(message);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified detail
+     * message and root cause.
+     *
+     * @param message   the detail message. The detail message is saved for
+     *                  later retrieval by the {@link #getMessage()} method.
+     * @param rootCause root failure cause
+     */
+    public NoPrefixDeclaredException(String message, Throwable rootCause) {
+        super(message, rootCause);
+    }
+
+    /**
+     * Constructs a new instance of this class with the specified root cause.
+     *
+     * @param rootCause root failure cause
+     */
+    public NoPrefixDeclaredException(Throwable rootCause) {
+        super(rootCause);
+    }
+}

Propchange: incubator/jackrabbit/trunk/commons/src/java/org/apache/jackrabbit/name/NoPrefixDeclaredException.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message