|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--net.jqhome.jwps.ea.AbstractEA
|
+--net.jqhome.jwps.ea.EAVector
|
+--net.jqhome.jwps.ea.MVMTEA
|
+--net.jqhome.jwps.ea.MVSTEA
This is a list of EAs all of which must be the same numeric type. Adding the first EA is added to this list
deterines the numeric type of all subsequent EAs. You can, however, add subclasses of a given class.
This would be ok, so that you could add, say, a StringEA and then subclasses of that. It might
suit your purposes to setup your
own EAFactory to return your subclasses.
| Nested Class Summary |
| Nested classes inherited from class net.jqhome.jwps.ea.MVMTEA |
MVMTEA.FoundEA |
| Field Summary |
| Fields inherited from class net.jqhome.jwps.ea.EAVector |
EA_CODEPAGE_INDEX, EA_COUNT_INDEX, EA_TYPE_INDEX, MVMT_DATA_CONTROL_BLOCK_LENGTH, MVMT_DATA_LENGTH_OFFSET, MVMT_DATA_OFFSET, MVMT_DATA_START_INDEX, MVMT_DATA_TYPE_OFFSET, MVST_DATA_CONTROL_BLOCK_LENGTH, MVST_DATA_LENGTH_OFFSET, MVST_DATA_OFFSET, MVST_DATA_START_INDEX, MVST_TYPE_INDEX |
| Constructor Summary | |
MVSTEA()
Default constructor |
|
MVSTEA(RawEA rawEA)
|
|
MVSTEA(java.lang.String name)
Constructor the sets the name of this EA. |
|
MVSTEA(java.lang.String name,
boolean isCritical)
Constructor the sets the name of this EA and whether it is to be critical. |
|
| Method Summary | |
void |
addEA(AbstractEA aEA)
Adds an EA, The first added EA determines the numeric type of every subsequent EA. |
int |
getAllEntryType()
The type of every entry in this EA. |
void |
setAllEntryType(int allEntryType)
Sets the type of every entry. |
java.lang.String |
toString()
A report on this object. |
| Methods inherited from class net.jqhome.jwps.ea.MVMTEA |
fromRawEA, getEA, getEntryType, getMVEA2, getMVMTCount, getRawEASize, getSTEntryLength, getSVEA2, mvmtSetup, toRawEA, valueSize |
| Methods inherited from class net.jqhome.jwps.ea.EAVector |
addEA, addEA, equals, getCodepage, getEAAt, getEACodepage, getEACount, getEAType, getVector, isDefaultCodepage, removeEAAt, setCodepage, size, toXML |
| Methods inherited from class net.jqhome.jwps.ea.AbstractEA |
fileToBytes, getName, getType, isCritical, isUserDefined, setCritical, setName, setType |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MVSTEA(RawEA rawEA)
throws JWPException
public MVSTEA(java.lang.String name)
throws JWPException
name - the name
JWPException - if there was a problem in the superclass.
public MVSTEA(java.lang.String name,
boolean isCritical)
throws JWPException
name - the nameisCritical - true if this is a critical EA.
JWPException - if there was a problem in the superclass.
public MVSTEA()
throws JWPException
JWPException - if a error occured in the superclass.| Method Detail |
public int getAllEntryType()
public void setAllEntryType(int allEntryType)
throws JWPException
allEntryType - the type of the entry to be checked or added
JWPException - if the entry type has been set and this is not that same numeric type.public java.lang.String toString()
toString in class MVMTEA
public void addEA(AbstractEA aEA)
throws JWPException
addEA in class EAVectoraEA - the abstract EA to aee.
JWPException - if this is not the first EA and it has a different numeric type that the other EAs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||