org.apache.jackrabbit.core.nodetype.compact
Class CompactNodeTypeDefWriter
java.lang.Object
org.apache.jackrabbit.core.nodetype.compact.CompactNodeTypeDefWriter
- public class CompactNodeTypeDefWriter
- extends Object
Prints node type defs in a compact notation
Print Format:
[ex:NodeType] > ex:ParentType1, ex:ParentType2
orderable mixin
- ex:property (STRING) = 'default1', 'default2'
primary mandatory autocreated protected multiple VERSION
< 'constraint1', 'constraint2'
+ ex:node (ex:reqType1, ex:reqType2) = ex:defaultType
mandatory autocreated protected multiple VERSION
Method Summary |
void |
close()
closes this writer but not the underlying stream |
void |
write()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompactNodeTypeDefWriter
public CompactNodeTypeDefWriter(List l,
NamespaceResolver r,
Writer w)
throws NamespaceException
- Parameters:
l
- r
- w
-
write
public void write()
throws IOException,
NamespaceException
- Throws:
IOException
NamespaceException
close
public void close()
throws IOException
- closes this writer but not the underlying stream
- Throws:
IOException
Copyright © 2004-2006 The Apache Software Foundation. All Rights Reserved.