cox.jmatt.java.MathTools.graphing.xml
Class GraphKeysXML

java.lang.Object
  extended by cox.jmatt.java.MathTools.graphing.xml.GraphKeysXML
All Implemented Interfaces:
GraphKeys

public class GraphKeysXML
extends java.lang.Object
implements GraphKeys

This class is NOT used as a rendering context! The graphing.xml.* classes don't need one. Instead it is used to hold static key constants for condition-testing for RenderableXML and GraphableXML classes. It also provides a hit counter used to generate document-unique IDs for the tags that require them.


Field Summary
static java.lang.Object GOT_ID
          Use this (String) as the 'condition' argument to verify that a Renderable has its ID set.
static java.lang.Object GOT_NAME
          Use this (String) as the 'condition' argument to verify that a Renderable has its name set.
static java.lang.Object GOT_TYPE
          Use this (String) as the 'condition' argument to verify that a Renderable has its type set.
static java.lang.String HAS_EXPRESSION
          Use this String as the condition along with a String value to test whether or not a Graphable contains the specified expression.
static java.lang.String HAS_LIMIT
          Use this String as the condition along with a String value to test whether or not a Graphable contains the specified limit.
 
Constructor Summary
GraphKeysXML()
           
 
Method Summary
static long hitCount()
          This method is provided to allow graphing elements to generate unique field values when none are provided.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GOT_NAME

public static final java.lang.Object GOT_NAME
Use this (String) as the 'condition' argument to verify that a Renderable has its name set.


GOT_TYPE

public static final java.lang.Object GOT_TYPE
Use this (String) as the 'condition' argument to verify that a Renderable has its type set.


GOT_ID

public static final java.lang.Object GOT_ID
Use this (String) as the 'condition' argument to verify that a Renderable has its ID set.


HAS_LIMIT

public static final java.lang.String HAS_LIMIT
Use this String as the condition along with a String value to test whether or not a Graphable contains the specified limit.

See Also:
Constant Field Values

HAS_EXPRESSION

public static final java.lang.String HAS_EXPRESSION
Use this String as the condition along with a String value to test whether or not a Graphable contains the specified expression.

See Also:
Constant Field Values
Constructor Detail

GraphKeysXML

public GraphKeysXML()
Method Detail

hitCount

public static long hitCount()
This method is provided to allow graphing elements to generate unique field values when none are provided.