write
public static void write(OutputStream xml,
org.apache.jackrabbit.spi.QNodeTypeDefinition[] types,
NamespaceRegistry registry)
throws IOException,
RepositoryException
Writes a node type definition file. The file contents are written
to the given output stream and will contain the given node type
definitions. The given namespace registry is used for namespace
mappings.
- Parameters:
xml
- XML output stream
registry
- namespace registry
types
- node types
- Throws:
IOException
- if the node type definitions cannot
be written
RepositoryException
- on repository errors