|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wm.app.tn.util.TNFixedData
com.wm.app.tn.doc.BizDocType
com.wm.app.tn.doc.MissingDocType
public class MissingDocType
Represents BizDocTypes whose classes cannot be found.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.wm.app.tn.util.TNFixedData |
---|
com.wm.app.tn.util.TNFixedData.TreeCursor |
Constructor Summary | |
---|---|
MissingDocType()
|
Method Summary | |
---|---|
void |
compare(BizDocType oldType,
BizDocType newType,
java.util.Vector<ActivityLogEntry> logs)
|
BizDocType |
copy()
Abstract method for copying one BizDocType to another. |
static com.wm.data.IData |
create()
|
BizDocEnvelope |
createEnvelope(com.wm.data.IData in)
Factory method for creating new BizDocs of this type. |
com.wm.data.IData |
createPipeline(BizDocEnvelope bd)
Factory method for creating a pipeline from the given BizDoc. |
byte[] |
getContentBytes(BizDocEnvelope bd)
Abstract method to get content of a bizdoc In general, this is called from the BizDocEnvelope.getContentBytes. |
java.lang.String |
getContentType(BizDocEnvelope bd)
Abstract method for determining the content-type of the bizdoc (eg, text/xml). |
boolean |
isType(com.wm.data.IData in)
Abstract method for determining if the IData contains data representing a lower level document type (eg, XML, EDI, etc). |
boolean |
recognize(com.wm.data.IData in)
Abstract method for determining if the data in IData is a particular document type. |
void |
setContentBytes(BizDocEnvelope bd,
byte[] bytes)
Abstract method to set the content bytes. |
Methods inherited from class com.wm.app.tn.util.TNFixedData |
---|
clone, dataSize, get, get, getCursor, getHashCursor, getIndexCursor, getKey, getSharedCursor, getTreeCursor, indexOf, merge, set, set, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MissingDocType()
Method Detail |
---|
public boolean isType(com.wm.data.IData in)
BizDocType
isType
in class BizDocType
in
- IData object containing keyword and data for particular document type
public boolean recognize(com.wm.data.IData in)
BizDocType
recognize
in class BizDocType
in
- IData object containing keyword and data for particular document type
public static com.wm.data.IData create()
public BizDocEnvelope createEnvelope(com.wm.data.IData in) throws BizDocTypeException
BizDocType
createEnvelope
in class BizDocType
in
- input IData for the document in question
BizDocTypeException
public com.wm.data.IData createPipeline(BizDocEnvelope bd) throws BizDocTypeException
BizDocType
createPipeline
in class BizDocType
bd
- input BizDocEnvelope
BizDocTypeException
public BizDocType copy()
BizDocType
copy
in class BizDocType
public byte[] getContentBytes(BizDocEnvelope bd)
BizDocType
getContentBytes
in class BizDocType
bd
- BizDoc to get the contents
public void setContentBytes(BizDocEnvelope bd, byte[] bytes)
BizDocType
setContentBytes
in class BizDocType
bd
- BizDoc to set the contentsbytes
- the document content byte[]public java.lang.String getContentType(BizDocEnvelope bd)
BizDocType
getContentType
in class BizDocType
bd
- BizDoc to test
public void compare(BizDocType oldType, BizDocType newType, java.util.Vector<ActivityLogEntry> logs)
compare
in class BizDocType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |