NodeTypeManager instead.public interface JackrabbitNodeTypeManager
extends javax.jcr.nodetype.NodeTypeManager
NodeTypeManager interface.
Currently Jackrabbit provides a mechanism to register new node types, but it is not possible to modify or remove existing node types.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TEXT_X_JCR_CND
Deprecated.
The experimental content type for the compact node type definition
files.
|
static java.lang.String |
TEXT_XML
Deprecated.
The standard XML content type to be used with XML-formatted
node type streams.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNodeType(java.lang.String name)
Deprecated.
Checks if a node type with the given name is registered.
|
javax.jcr.nodetype.NodeType[] |
registerNodeTypes(org.xml.sax.InputSource in)
Deprecated.
Registers node types from the given node type XML stream.
|
javax.jcr.nodetype.NodeType[] |
registerNodeTypes(java.io.InputStream in,
java.lang.String contentType)
Deprecated.
Registers node types from the given input stream of the given type.
|
createNodeDefinitionTemplate, createNodeTypeTemplate, createNodeTypeTemplate, createPropertyDefinitionTemplate, getAllNodeTypes, getMixinNodeTypes, getNodeType, getPrimaryNodeTypes, registerNodeType, registerNodeTypes, unregisterNodeType, unregisterNodeTypesstatic final java.lang.String TEXT_XML
static final java.lang.String TEXT_X_JCR_CND
javax.jcr.nodetype.NodeType[] registerNodeTypes(org.xml.sax.InputSource in)
throws org.xml.sax.SAXException,
javax.jcr.RepositoryException
in - node type XML streamorg.xml.sax.SAXException - if the XML stream could not be read or parsedjavax.jcr.RepositoryException - if the node types are invalid or another
repository error occursjavax.jcr.nodetype.NodeType[] registerNodeTypes(java.io.InputStream in,
java.lang.String contentType)
throws java.io.IOException,
javax.jcr.RepositoryException
in - node type streamcontentType - type of the input streamjava.io.IOException - if the input stream could not be read or parsedjavax.jcr.RepositoryException - if the node types are invalid or another
repository error occursboolean hasNodeType(java.lang.String name)
throws javax.jcr.RepositoryException
hasNodeType in interface javax.jcr.nodetype.NodeTypeManagername - node type nametrue if the named node type is registered
false otherwisejavax.jcr.RepositoryException - if an error occursCopyright © 2010 - 2025 Adobe. All Rights Reserved