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