org.chromattic.common
Class JCR

java.lang.Object
  extended by org.chromattic.common.JCR

public class JCR
extends Object

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
JCR()
           
 
Method Summary
static Iterator<javax.jcr.Node> adapt(javax.jcr.NodeIterator iterator)
           
static Iterator<javax.jcr.Property> adapt(javax.jcr.PropertyIterator iterator)
           
static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.Node node, String propertyName)
           
static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.nodetype.NodeType nodeType, String propertyName)
           
static boolean hasMixin(javax.jcr.Node node, String mixinTypeName)
           
static void validateName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JCR

public JCR()
Method Detail

adapt

public static Iterator<javax.jcr.Property> adapt(javax.jcr.PropertyIterator iterator)

adapt

public static Iterator<javax.jcr.Node> adapt(javax.jcr.NodeIterator iterator)

hasMixin

public static boolean hasMixin(javax.jcr.Node node,
                               String mixinTypeName)
                        throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getPropertyDefinition

public static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.nodetype.NodeType nodeType,
                                                                          String propertyName)
                                                                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

getPropertyDefinition

public static javax.jcr.nodetype.PropertyDefinition getPropertyDefinition(javax.jcr.Node node,
                                                                          String propertyName)
                                                                   throws javax.jcr.RepositoryException
Throws:
javax.jcr.RepositoryException

validateName

public static void validateName(String name)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.