|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Jackrabbit node type manager interface. This interface contains the
Jackrabbit-specific extensions to the JCR NodeTypeManager interface.
Currently Jackrabbit provides a mechanism to register new node types, but it is not possible to modify or remove existing node types.
| Field Summary | |
static String |
TEXT_X_JCR_CND
The experimental content type for the compact node type definition files. |
static String |
TEXT_XML
The standard XML content type to be used with XML-formatted node type streams. |
| Method Summary | |
NodeType[] |
registerNodeTypes(InputSource in)
Registers node types from the given node type XML stream. |
NodeType[] |
registerNodeTypes(InputStream in,
String contentType)
Registers node types from the given input stream of the given type. |
| Methods inherited from interface javax.jcr.nodetype.NodeTypeManager |
getAllNodeTypes, getMixinNodeTypes, getNodeType, getPrimaryNodeTypes |
| Field Detail |
public static final String TEXT_XML
public static final String TEXT_X_JCR_CND
| Method Detail |
public NodeType[] registerNodeTypes(InputSource in)
throws SAXException,
RepositoryException
in - node type XML stream
SAXException - if the XML stream could not be read or parsed
RepositoryException - if the node types are invalid or another
repository error occurs
public NodeType[] registerNodeTypes(InputStream in,
String contentType)
throws IOException,
RepositoryException
in - node type streamcontentType - type of the input stream
IOException - if the input stream could not be read or parsed
RepositoryException - if the node types are invalid or another
repository error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||