org.apache.jackrabbit.test.api
Class NodeMixinUtil

java.lang.Object
  extended by org.apache.jackrabbit.test.api.NodeMixinUtil

public class NodeMixinUtil
extends Object

Utility class to locate mixins in the NodeTyeManager.


Constructor Summary
NodeMixinUtil()
           
 
Method Summary
static String getAddableMixinName(Session session, Node node)
           
static String getNonExistingMixinName(Session session)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeMixinUtil

public NodeMixinUtil()
Method Detail

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

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-2008 The Apache Software Foundation. All Rights Reserved.