public final class NodeTypeWriter extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
write(OutputStream xml,
QNodeTypeDefinition[] types,
javax.jcr.NamespaceRegistry registry)
Writes a node type definition file.
|
public static void write(OutputStream xml, QNodeTypeDefinition[] types, javax.jcr.NamespaceRegistry registry) throws IOException, javax.jcr.RepositoryException
xml - XML output streamregistry - namespace registrytypes - node typesIOException - if the node type definitions cannot
be writtenjavax.jcr.RepositoryException - on repository errorsCopyright © 2004-2020 The Apache Software Foundation. All Rights Reserved.