org.apache.jackrabbit.test.api
Class NodeMixinUtil
java.lang.Object
org.apache.jackrabbit.test.api.NodeMixinUtil
public class NodeMixinUtil
- extends Object
Utility class to locate mixins in the NodeTyeManager.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeMixinUtil
public NodeMixinUtil()
getAddableMixinName
public static String getAddableMixinName(Session session,
Node node)
throws RepositoryException
- Returns:
- the name of a mixin node type that can be added by the requested
node
- Throws:
RepositoryException
getNotAssignedMixinName
public static String getNotAssignedMixinName(Session session,
Node node)
throws RepositoryException
- Throws:
RepositoryException
getNonExistingMixinName
public static String getNonExistingMixinName(Session session)
throws RepositoryException
- Returns:
- a string that is not the name of a mixin type
- Throws:
RepositoryException
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.