ru.biosoft.math.model
Class AstPiece

java.lang.Object
  extended byru.biosoft.math.model.SimpleNode
      extended byru.biosoft.math.model.AstPiece
All Implemented Interfaces:
Node

public class AstPiece
extends SimpleNode

The piece element is used to construct the conditionally defined values as part of a piecewise object. It correspond MathML piese and otherwise elements. In last case AstPiece has only one node that specifies the value.


Field Summary
 
Fields inherited from class ru.biosoft.math.model.SimpleNode
children, id, parent
 
Constructor Summary
AstPiece(int id)
           
 
Method Summary
 Node getCondition()
           
 Node getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class ru.biosoft.math.model.SimpleNode
dump, dump, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtReplaceChild, jjtSetParent, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AstPiece

public AstPiece(int id)
Method Detail

getCondition

public Node getCondition()

getValue

public Node getValue()

toString

public java.lang.String toString()


Copyright © 2001-2003 Biosof.Ru. All Rights Reserved.