org.apache.jackrabbit.jcr2spi.util
Class StateUtility

java.lang.Object
  extended by org.apache.jackrabbit.jcr2spi.util.StateUtility

public class StateUtility
extends Object

StateUtility...


Constructor Summary
StateUtility()
           
 
Method Summary
static Name[] getMixinNames(PropertyState ps)
           
static Name getPrimaryTypeName(PropertyState ps)
           
static boolean isMovedState(NodeState state)
           
static boolean isUuidOrMixin(Name propName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StateUtility

public StateUtility()
Method Detail

getMixinNames

public static Name[] getMixinNames(PropertyState ps)
Parameters:
ps -
Returns:
Throws:
IllegalArgumentException - if the name of the PropertyState is NOT NameConstants.JCR_MIXINTYPES

getPrimaryTypeName

public static Name getPrimaryTypeName(PropertyState ps)
                               throws RepositoryException
Throws:
RepositoryException

isUuidOrMixin

public static boolean isUuidOrMixin(Name propName)

isMovedState

public static boolean isMovedState(NodeState state)


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.