Packageorg.granite.validation
Interfacepublic interface INode

Represents an element of a navigation path.

See also

IPath


Public Properties
 PropertyDefined by
  isInIterable : Boolean
[read-only] Is this node representing a collection or map element?
INode
  keyOrIndex : *
[read-only] The index (collection) or the key (map) of this node, if it represents a collection or map element.
INode
  name : String
[read-only] The property name the node represents (may be null).
INode
Public Methods
 MethodDefined by
  
toString():String
Returns a string representation of this node.
INode
Property detail
isInIterableproperty
isInIterable:Boolean  [read-only]

Is this node representing a collection or map element?

Implementation
    public function get isInIterable():Boolean
keyOrIndexproperty 
keyOrIndex:*  [read-only]

The index (collection) or the key (map) of this node, if it represents a collection or map element. Null otherwise.

Implementation
    public function get keyOrIndex():*
nameproperty 
name:String  [read-only]

The property name the node represents (may be null).

Implementation
    public function get name():String
Method detail
toString()method
public function toString():String

Returns a string representation of this node.

Returns
String — a string representation of this node.