org.jboss.portal.cms.impl.jcr.util
Class NodeTypeUtil

java.lang.Object
  extended by org.jboss.portal.cms.impl.jcr.util.NodeTypeUtil

public class NodeTypeUtil
extends java.lang.Object

Author:
Thomas Heute

Field Summary
static java.lang.String CONTENT_TYPE
           
static java.lang.String FILE_TYPE
           
static java.lang.String FOLDER_TYPE
           
 
Constructor Summary
NodeTypeUtil()
           
 
Method Summary
static boolean isContent(javax.jcr.Node node)
           
static boolean isFile(javax.jcr.Node node)
           
static boolean isFolder(javax.jcr.Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FOLDER_TYPE

public static final java.lang.String FOLDER_TYPE
See Also:
Constant Field Values

FILE_TYPE

public static final java.lang.String FILE_TYPE
See Also:
Constant Field Values

CONTENT_TYPE

public static final java.lang.String CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

NodeTypeUtil

public NodeTypeUtil()
Method Detail

isFolder

public static boolean isFolder(javax.jcr.Node node)

isFile

public static boolean isFile(javax.jcr.Node node)

isContent

public static boolean isContent(javax.jcr.Node node)