public static class ItemInfoBuilder.NodeInfoBuilder
extends java.lang.Object
NodeInfos. 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 - thisRepositoryExceptionpublic ItemInfoBuilder.PropertyInfoBuilder createPropertyInfo(java.lang.String localName)
localName - thispublic ItemInfoBuilder.PropertyInfoBuilder createPropertyInfo()
PropertyInfo on this NodeInfo.thispublic ItemInfoBuilder.NodeInfoBuilder createNodeInfo(java.lang.String localName)
NodeInfo on this NodeInfo with a given localName.localName - thispublic ItemInfoBuilder.NodeInfoBuilder createNodeInfo()
NodeInfo on this NodeInfo.thispublic 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)
ChildInfos 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.RepositoryExceptionjava.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)
PropertyInfopropertyInfo - thispublic ItemInfoBuilder.NodeInfoBuilder addNodeInfo(NodeInfo nodeInfo)
NodeInfonodeInfo - thisCopyright © 2010 - 2023 Adobe. All Rights Reserved