public static enum SaxReader.ReadStatus extends java.lang.Enum<SaxReader.ReadStatus>
SAX_UNINITIALIZED
-The SAX-UNINITIALIZED constant which in 4GL is the integer
value 1.SAX_RUNNING
- The SAX-RUNNING constant which in 4GL is the integer 2.SAX_COMPLETE
- The SAX-COMPLETE constant which in 4GL is the integer 3.SAX_PARSER_ERROR
- The SAX-PARSER-ERROR constant which in 4GL is the integer 4.
Enum Constant and Description |
---|
SAX_COMPLETE |
SAX_PARSER_ERROR |
SAX_RUNNING |
SAX_UNINITIALIZED |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name
4gl constant name
|
private int |
status
4gl constant value
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the 4gl name of this enum constant.
|
int |
getStatus()
Returns the 4gl value of this enum constant.
|
java.lang.String |
toString()
Returns the name of this enum constant, as contained in the
declaration.
|
static SaxReader.ReadStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SaxReader.ReadStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SaxReader.ReadStatus SAX_UNINITIALIZED
public static final SaxReader.ReadStatus SAX_RUNNING
public static final SaxReader.ReadStatus SAX_COMPLETE
public static final SaxReader.ReadStatus SAX_PARSER_ERROR
private final int status
private final java.lang.String name
public static SaxReader.ReadStatus[] values()
for (SaxReader.ReadStatus c : SaxReader.ReadStatus.values()) System.out.println(c);
public static SaxReader.ReadStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public int getStatus()
public java.lang.String toString()
toString
in class java.lang.Enum<SaxReader.ReadStatus>