Method Summary |
|
public boolean | canAddChildNode(String childNodeName) Returns true if this node type allows the addition of a
child node called childNodeName without specific node type
information (that is, given the definition of this parent node type, the
child node name is sufficient to determine the intended child node type).
Returns false otherwise.
Parameters: childNodeName - The name of the child node. |
public boolean | canAddChildNode(String childNodeName, String nodeTypeName) Returns true if this node type allows the addition of a
child node called childNodeName of node type
nodeTypeName . |
public boolean | canRemoveItem(String itemName) Returns true if removing the child item called
itemName is allowed by this node type. |
public boolean | canRemoveNode(String nodeName) Returns true if removing the child node called
nodeName is allowed by this node type. |
public boolean | canRemoveProperty(String propertyName) Returns true if removing the property called
propertyName is allowed by this node type. |
public boolean | canSetProperty(String propertyName, Value value) Returns true if setting propertyName to
value is allowed by this node type. |
public boolean | canSetProperty(String propertyName, Value[] values) Returns true if setting propertyName to
values is allowed by this node type. |
public NodeDefinition[] | getChildNodeDefinitions() Returns an array containing the child node definitions of this node type. |
public NodeType[] | getDeclaredSupertypes() Returns the direct supertypes of this node type in the node type inheritance hierarchy,
that is, those actually declared in this node type. |
public PropertyDefinition[] | getPropertyDefinitions() Returns an array containing the property definitions of this node type. |
public NodeType[] | getSupertypes() Returns all supertypes of this node type in the node type inheritance hierarchy.
For primary types apart from nt:base , this list will always include
at least nt:base . |
public boolean | isNodeType(String nodeTypeName) Returns true if this node type is nodeTypeName
or a subtype of nodeTypeName , otherwise returns
false .
Parameters: nodeTypeName - the name of a node type. |