public static class ItemInfoBuilder.NodeInfoBuilder
extends java.lang.Object
NodeInfo
s. Use one of the ItemInfoBuilder.nodeInfoBuilder()
methods to create instances of this class.public ItemInfoBuilder.PropertyInfoBuilder createPropertyInfo(java.lang.String localName, java.lang.String value) throws RepositoryException
PropertyInfo
with a given localName
and a given
value
of type String
on this NodeInfo
.localName
- value
- this
RepositoryException
public ItemInfoBuilder.PropertyInfoBuilder createPropertyInfo(java.lang.String localName)
localName
- this
public ItemInfoBuilder.PropertyInfoBuilder createPropertyInfo()
PropertyInfo
on this NodeInfo
.this
public ItemInfoBuilder.NodeInfoBuilder createNodeInfo(java.lang.String localName)
NodeInfo
on this NodeInfo with a given localName
.localName
- this
public ItemInfoBuilder.NodeInfoBuilder createNodeInfo()
NodeInfo
on this NodeInfo.this
public ItemInfoBuilder.NodeInfoBuilder setName(Name name)
name
of the nodename
- public ItemInfoBuilder.NodeInfoBuilder setName(java.lang.String localName)
localName
of the nodelocalName
- public ItemInfoBuilder.NodeInfoBuilder setNamespace(java.lang.String namespace)
namespace
- public ItemInfoBuilder.NodeInfoBuilder setIndex(int index)
index
- NodeInfo.getIndex()
public ItemInfoBuilder.NodeInfoBuilder setUUID(java.lang.String uuid)
uuid
- public ItemInfoBuilder.NodeInfoBuilder setParentPath(Path parentPath)
parentPath
- public ItemInfoBuilder.NodeInfoBuilder setPrimaryType(Name name)
name
- NodeInfo.getNodetype()
public ItemInfoBuilder.NodeInfoBuilder addMixin(Name name)
name
- NodeInfo.getMixins()
public ItemInfoBuilder.NodeInfoBuilder includeChildInfos(boolean include)
ChildInfo
s should be included or not.include
- NodeInfo.getChildInfos()
public ItemInfoBuilder.NodeInfoBuilder build() throws RepositoryException
NodeInfo
. If a ItemInfoBuilder.Listener
is associated with this
instance, then its ItemInfoBuilder.Listener.createChildInfos(NodeId, Iterator)
and
its ItemInfoBuilder.Listener.createNodeInfo(NodeInfo)
methods are called.RepositoryException
java.lang.IllegalStateException
- if build has been called beforepublic ItemInfoBuilder.NodeInfoBuilder getParent()
public NodeInfo getNodeInfo()
NodeInfo
which has been built by this builder.java.lang.IllegalStateException
- if build()
has not been called before.public ItemInfoBuilder.NodeInfoBuilder addPropertyInfo(PropertyInfo propertyInfo)
PropertyInfo
propertyInfo
- this
public ItemInfoBuilder.NodeInfoBuilder addNodeInfo(NodeInfo nodeInfo)
NodeInfo
nodeInfo
- this
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"