public class SegmentNodeBuilder extends MemoryNodeBuilder
Modifier and Type | Method and Description |
---|---|
Blob |
createBlob(java.io.InputStream stream) |
protected MemoryNodeBuilder |
createChildBuilder(java.lang.String name)
Factory method for creating new child state builders.
|
@NotNull SegmentNodeState |
getNodeState()
Returns an immutable node state that matches the current state of
the builder.
|
protected void |
updated()
Called whenever this node is modified, i.e.
|
annotateSourcePath, child, exists, getBaseState, getBoolean, getChildNode, getChildNodeCount, getChildNodeNames, getName, getName, getNames, getParent, getPath, getProperties, getProperty, getPropertyCount, getString, hasChildNode, hasProperty, isModified, isNew, isNew, isReplaced, isReplaced, isRoot, moveTo, remove, removeProperty, reset, set, setChildNode, setChildNode, setProperty, setProperty, setProperty, toString
protected void updated()
MemoryNodeBuilder
MemoryNodeBuilder.updated()
call on the root builder
(unless this is already the root builder), which subclasses can use
to capture aggregate update information across the whole tree.updated
in class MemoryNodeBuilder
@NotNull public @NotNull SegmentNodeState getNodeState()
NodeBuilder
getNodeState
in interface NodeBuilder
getNodeState
in class MemoryNodeBuilder
protected MemoryNodeBuilder createChildBuilder(java.lang.String name)
MemoryNodeBuilder
createChildBuilder
in class MemoryNodeBuilder
public Blob createBlob(java.io.InputStream stream) throws java.io.IOException
createBlob
in interface NodeBuilder
createBlob
in class MemoryNodeBuilder
java.io.IOException
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.