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(javax.jcr.Session session,
javax.jcr.Node node)
throws javax.jcr.RepositoryException
- Returns:
- the name of a mixin node type that can be added by the requested
node
- Throws:
javax.jcr.RepositoryException
getNonExistingMixinName
public static String getNonExistingMixinName(javax.jcr.Session session)
throws javax.jcr.RepositoryException
- Returns:
- a string that is not the name of a mixin type
- Throws:
javax.jcr.RepositoryException
Copyright © 2004-2011 Apache Software Foundation. All Rights Reserved.