hep.graphics.heprep
Class HepRepDefaults

java.lang.Object
  extended by hep.graphics.heprep.HepRepDefaults

public class HepRepDefaults
extends Object

Handles default values for HepRep

Version:
$Id: HepRepDefaults.java 8584 2006-08-10 23:06:37Z duns $
Author:
Mark Donszelmann

Method Summary
static void addAttDef(HepRepAttDef attDef)
          Add attribute definition
static void addAttValue(HepRepAttValue attValue)
          Add attribute value
static HepRepAttDef getAttDef(String lowerCaseName)
          Lookup attribute definition
static Set getAttDefs()
          Return all attribute definitions
static HepRepAttValue getAttValue(String lowerCaseName)
          Lookup attribute value
static Set getAttValues()
          Return all attribute values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

addAttDef

public static void addAttDef(HepRepAttDef attDef)
Add attribute definition

Parameters:
attDef - attribute definition

getAttDef

public static HepRepAttDef getAttDef(String lowerCaseName)
Lookup attribute definition

Parameters:
lowerCaseName - name in lower case
Returns:
attribute definition or null

getAttDefs

public static Set getAttDefs()
Return all attribute definitions

Returns:
set of attribute definitions

addAttValue

public static void addAttValue(HepRepAttValue attValue)
Add attribute value

Parameters:
attValue - attribute value

getAttValue

public static HepRepAttValue getAttValue(String lowerCaseName)
Lookup attribute value

Parameters:
lowerCaseName - name in lowercase
Returns:
attribute value or null

getAttValues

public static Set getAttValues()
Return all attribute values

Returns:
set of attribute values


Copyright 2000-2007 FreeHEP. All Rights Reserved.