Package org.apache.sling.resource.filter.impl.node

# Klasse Node

java.lang.Object
org.apache.sling.resource.filter.impl.node.Node

public class Node extends Object

## Feldübersicht

Felder
Modifizierer und Typ
Feld
Beschreibung
`List<Node>`
`children`
`int`
`kind`
`Node`
`leftNode`
`Node`
`rightNode`
`String`
`text`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`Node(int kind, String text)`
creates a node which represents a literal
`Node(int kind, String text, List<Node> children)`
Node with children
`Node(int kind, String operator, Node leftValue, Node rightValue)`
Node used for comparison
`Node(int kind, List<Node> children)`
creates a logical node

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`<R> R`
`accept(org.apache.sling.resource.filter.impl.Visitor<R> visitor)`
`List<Node>`
`getChildren()`
`int`
`getKind()`
`Node`
`getLeftNode()`
`Node`
`getRightNode()`
`String`
`getText()`
`String`
`toString()`
`<R> List<R>`
`visitChildren(org.apache.sling.resource.filter.impl.Visitor<R> visitor)`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

## Felddetails

### text

public String text

### leftNode

public Node leftNode

### rightNode

public Node rightNode

### children

public List<Node> children

### kind

public int kind

## Konstruktordetails

### Node

public Node(int kind, String text)
creates a node which represents a literal

### Node

public Node(int kind, List<Node> children)
creates a logical node

### Node

public Node(int kind, String text, List<Node> children)
Node with children

### Node

public Node(int kind, String operator, Node leftValue, Node rightValue)
Node used for comparison

Parameter:
  `kind` - nominally of type comparison
  `operator` - defines the type of comparison
  `leftValue` - basis of comparison
  `rightValue` - to be compared to

## Methodendetails

### getText

public String getText()

### getLeftNode

public Node getLeftNode()

### getRightNode

public Node getRightNode()

### getChildren

public List<Node> getChildren()

### getKind

public int getKind()

### accept

public <R> R accept(org.apache.sling.resource.filter.impl.Visitor<R> visitor)

### toString

public String toString()

Setzt außer Kraft:
  `toString` in Klasse `Object`

### visitChildren

public <R> List<R> visitChildren(org.apache.sling.resource.filter.impl.Visitor<R> visitor)