|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.priha.nodetype.QNodeTypeManager
public class QNodeTypeManager
This class is essentially a singleton per repository.
Nested Class Summary | |
---|---|
static class |
QNodeTypeManager.Impl
Implements the actual NodeTypeManager class, which, again, is Session-specific. |
Method Summary | |
---|---|
QNodeDefinition |
findNodeDefinition(QName type)
Finds a node definition from the complete array of all definitions |
static QNodeTypeManager |
getInstance()
|
static QNodeTypeManager.Impl |
getManager(WorkspaceImpl ws)
|
QNodeType |
getNodeType(QName qn)
Find a QNodeType by this QName. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static QNodeTypeManager getInstance() throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public static QNodeTypeManager.Impl getManager(WorkspaceImpl ws) throws javax.jcr.RepositoryException
javax.jcr.RepositoryException
public QNodeDefinition findNodeDefinition(QName type)
type
-
public QNodeType getNodeType(QName qn) throws javax.jcr.nodetype.NoSuchNodeTypeException
qn
- QName to look for
javax.jcr.nodetype.NoSuchNodeTypeException
- If it could not be located.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |