Style Intelligence v12.0

inetsoft.uql
Class XSequenceNode

java.lang.Object
  extended by inetsoft.uql.XNode
      extended by inetsoft.uql.XSequenceNode
All Implemented Interfaces:
Serializable, Cloneable, Comparable

public class XSequenceNode
extends XNode

A sequence node is used to group the child nodes sharing a same name. By inserting a sequence node (automatically during tree construction) to group the nodes, each node can be referenced with an unique path. The sequence node has the same name as its child nodes.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class inetsoft.uql.XNode
value
 
Constructor Summary
XSequenceNode()
          Create an empty sequence node.
XSequenceNode(String name)
          Create a sequence node with the specified name.
 
Method Summary
protected  XNode checkDuplicate(XNode child)
          Sequence node does not check for duplicate children.
 int getAppliedMaxRows()
          Get the applied max rows.
 int getChildIndex(XNode child)
          Find the index of the child in this node.
 void setAppliedMaxRows(int amax)
          Set the applied max rows.
 String toString()
           
 void writeXML(PrintWriter writer)
          Write the node XML representation.
 
Methods inherited from class inetsoft.uql.XNode
addChild, addChild, addChild, addr, clone, cloneValue, compareTo, eq, equals, getAttribute, getAttributeNames, getChild, getChild, getChildCount, getDefaultFormat, getName, getNode, getParent, getPath, getPath, getValue, getValue, hashCode, insertChild, isAncestor, removeAllChildren, removeChild, removeChild, removeChild, removeChild, setAttribute, setChild, setDefaultFormat, setName, setValue, sort, sort
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XSequenceNode

public XSequenceNode()
Create an empty sequence node.


XSequenceNode

public XSequenceNode(String name)
Create a sequence node with the specified name.

Method Detail

getChildIndex

public int getChildIndex(XNode child)
Find the index of the child in this node.

Overrides:
getChildIndex in class XNode

checkDuplicate

protected XNode checkDuplicate(XNode child)
Sequence node does not check for duplicate children.

Overrides:
checkDuplicate in class XNode

getAppliedMaxRows

public int getAppliedMaxRows()
Get the applied max rows.

Returns:
the applied max rows.

setAppliedMaxRows

public void setAppliedMaxRows(int amax)
Set the applied max rows.

Parameters:
amax - the applied max rows.

writeXML

public void writeXML(PrintWriter writer)
Write the node XML representation.

Overrides:
writeXML in class XNode

toString

public String toString()
Overrides:
toString in class XNode

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.