org.freehep.wbxml
Interface Attributes
- All Known Subinterfaces:
- MutableAttributes
- All Known Implementing Classes:
- AttributesImpl
public interface Attributes
- Version:
- $Id$
- Author:
- Mark Donszelmann
Method Summary |
boolean[] |
getBooleanArray(int tag)
|
boolean |
getBooleanValue(int tag)
|
boolean |
getBooleanValue(int tag,
boolean def)
|
byte[] |
getByteArray(int tag)
|
byte |
getByteValue(int tag)
|
byte |
getByteValue(int tag,
byte def)
|
char[] |
getCharArray(int tag)
|
char |
getCharValue(int tag)
|
char |
getCharValue(int tag,
char def)
|
double[] |
getDoubleArray(int tag)
|
double |
getDoubleValue(int tag)
|
double |
getDoubleValue(int tag,
double def)
|
float[] |
getFloatArray(int tag)
|
float |
getFloatValue(int tag)
|
float |
getFloatValue(int tag,
float def)
|
int[] |
getIntArray(int tag)
|
int |
getIntValue(int tag)
|
int |
getIntValue(int tag,
int def)
|
long[] |
getLongArray(int tag)
|
long |
getLongValue(int tag)
|
long |
getLongValue(int tag,
long def)
|
short[] |
getShortArray(int tag)
|
short |
getShortValue(int tag)
|
short |
getShortValue(int tag,
short def)
|
String[] |
getStringArray(int tag)
|
String |
getStringValue(int tag)
|
String |
getStringValue(int tag,
String def)
|
int[] |
getTags()
Return the list of defined attributes |
int |
getType(int tag)
Return the type for a particular attribute tag, or UNDEFINED if
the tag does not exist. |
UNDEFINED
static final int UNDEFINED
- See Also:
- Constant Field Values
BOOLEAN
static final int BOOLEAN
- See Also:
- Constant Field Values
BYTE
static final int BYTE
- See Also:
- Constant Field Values
CHAR
static final int CHAR
- See Also:
- Constant Field Values
DOUBLE
static final int DOUBLE
- See Also:
- Constant Field Values
FLOAT
static final int FLOAT
- See Also:
- Constant Field Values
INT
static final int INT
- See Also:
- Constant Field Values
LONG
static final int LONG
- See Also:
- Constant Field Values
SHORT
static final int SHORT
- See Also:
- Constant Field Values
STRING
static final int STRING
- See Also:
- Constant Field Values
OBJECT
static final int OBJECT
- See Also:
- Constant Field Values
COLOR
static final int COLOR
- See Also:
- Constant Field Values
BOOLEAN_ARRAY
static final int BOOLEAN_ARRAY
- See Also:
- Constant Field Values
BYTE_ARRAY
static final int BYTE_ARRAY
- See Also:
- Constant Field Values
CHAR_ARRAY
static final int CHAR_ARRAY
- See Also:
- Constant Field Values
DOUBLE_ARRAY
static final int DOUBLE_ARRAY
- See Also:
- Constant Field Values
FLOAT_ARRAY
static final int FLOAT_ARRAY
- See Also:
- Constant Field Values
INT_ARRAY
static final int INT_ARRAY
- See Also:
- Constant Field Values
LONG_ARRAY
static final int LONG_ARRAY
- See Also:
- Constant Field Values
SHORT_ARRAY
static final int SHORT_ARRAY
- See Also:
- Constant Field Values
STRING_ARRAY
static final int STRING_ARRAY
- See Also:
- Constant Field Values
getType
int getType(int tag)
- Return the type for a particular attribute tag, or UNDEFINED if
the tag does not exist.
- Parameters:
tag
-
- Returns:
getTags
int[] getTags()
- Return the list of defined attributes
- Returns:
getStringValue
String getStringValue(int tag,
String def)
getDoubleValue
double getDoubleValue(int tag,
double def)
getFloatValue
float getFloatValue(int tag,
float def)
getLongValue
long getLongValue(int tag,
long def)
getIntValue
int getIntValue(int tag,
int def)
getCharValue
char getCharValue(int tag,
char def)
getShortValue
short getShortValue(int tag,
short def)
getByteValue
byte getByteValue(int tag,
byte def)
getBooleanValue
boolean getBooleanValue(int tag,
boolean def)
getStringValue
String getStringValue(int tag)
getDoubleValue
double getDoubleValue(int tag)
getFloatValue
float getFloatValue(int tag)
getLongValue
long getLongValue(int tag)
getIntValue
int getIntValue(int tag)
getCharValue
char getCharValue(int tag)
getShortValue
short getShortValue(int tag)
getByteValue
byte getByteValue(int tag)
getBooleanValue
boolean getBooleanValue(int tag)
getStringArray
String[] getStringArray(int tag)
getDoubleArray
double[] getDoubleArray(int tag)
getFloatArray
float[] getFloatArray(int tag)
getLongArray
long[] getLongArray(int tag)
getIntArray
int[] getIntArray(int tag)
getCharArray
char[] getCharArray(int tag)
getShortArray
short[] getShortArray(int tag)
getByteArray
byte[] getByteArray(int tag)
getBooleanArray
boolean[] getBooleanArray(int tag)
Copyright © 2000-2007 FreeHEP. All Rights Reserved.