- public void leafSetEntryNode(final Object value) throws IOException, IllegalArgumentException {
- LOG.debug("Writing a new leaf set entry node");
+ public void startOrderedLeafSet(final NodeIdentifier name, final int childSizeHint) throws IOException {
+ Preconditions.checkNotNull(name, "Node identifier should not be null");
+ LOG.trace("Starting a new ordered leaf set");
+
+ lastLeafSetQName = name.getNodeType();
+ startNode(name.getNodeType(), NodeTypes.ORDERED_LEAF_SET);
+ }
+
+ @Override
+ public void startLeafSetEntryNode(final NodeWithValue<?> name) throws IOException {
+ LOG.trace("Starting a new leaf set entry node");