hep.graphics.heprep.streamer
Class StreamerHepRepDefinition
java.lang.Object
|
+--hep.graphics.heprep.streamer.StreamerHepRepAttribute
|
+--hep.graphics.heprep.streamer.StreamerHepRepDefinition
- All Implemented Interfaces:
- HepRepAttribute, HepRepConstants, HepRepDefinition
- Direct Known Subclasses:
- StreamerHepRepType
- public abstract class StreamerHepRepDefinition
- extends StreamerHepRepAttribute
- implements HepRepDefinition
- Version:
- $Id: StreamerHepRepDefinition.java,v 1.1 2002/09/18 23:59:58 duns Exp $
- Author:
- M.Donszelmann
Fields inherited from interface hep.graphics.heprep.HepRepConstants |
SHOW_DESC, SHOW_EXTRA, SHOW_NAME, SHOW_NONE, SHOW_VALUE, TYPE_BOOLEAN, TYPE_COLOR, TYPE_DOUBLE, TYPE_INT, TYPE_LONG, TYPE_STRING, TYPE_UNKNOWN |
Methods inherited from class hep.graphics.heprep.streamer.StreamerHepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hep.graphics.heprep.HepRepAttribute |
addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, addAttValue, getAttValue, getAttValueFromNode, getAttValuesFromNode, removeAttValue |
cvsId
public static final String cvsId
- See Also:
- Constant Field Values
StreamerHepRepDefinition
public StreamerHepRepDefinition(HepRepWriter streamer)
getAttDefsFromNode
public Collection getAttDefsFromNode()
- Description copied from interface:
HepRepDefinition
- Returns a collection of all attribute definitions defined on this node.
- Specified by:
getAttDefsFromNode
in interface HepRepDefinition
- Returns:
- collection of attributes definitions.
addAttDef
public void addAttDef(HepRepAttDef hepRepAttDef)
throws IOException
- Description copied from interface:
HepRepDefinition
- Adds an attdef.
- Specified by:
addAttDef
in interface HepRepDefinition
- Parameters:
hepRepAttDef
- to be added.
- Throws:
IOException
- only if this definition is written immediately to a stream.
addAttDef
public void addAttDef(String name,
String desc,
String type,
String extra)
throws IOException
- Description copied from interface:
HepRepDefinition
- Adds an attdef.
- Specified by:
addAttDef
in interface HepRepDefinition
- Parameters:
name
- name of the definition.desc
- description of the definition.type
- category of the definition.extra
- extra info of the definition.
- Throws:
IOException
- only if this definition is written immediately to a stream.
getAttDefFromNode
public HepRepAttDef getAttDefFromNode(String lowerCaseName)
- Description copied from interface:
HepRepDefinition
- Returns a named attribute definition defined on this node.
- Specified by:
getAttDefFromNode
in interface HepRepDefinition
- Parameters:
lowerCaseName
- name of the attribute in lower case.
- Returns:
- attribute definition.
getAttDef
public abstract HepRepAttDef getAttDef(String name)
- Description copied from interface:
HepRepDefinition
- Return a named attribute definition searched on this node and any parent nodes.
- Specified by:
getAttDef
in interface HepRepDefinition
- Parameters:
name
- of attribute definition.
- Returns:
- attribute definition.
Copyright © 2000-2002 FreeHEP, All Rights Reserved.