|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.americancoders.edi.SegmentContainer | +--com.americancoders.edi.Table
class for Tables a general class for the transaction set's heading detail and summary.
OBOE - Open Business Objects for EDI
An EDI and XML Translator Written In Java
Copyright 1998-2000 - American Coders, LTD - Raleigh NC USA
All rights reserved
American Coders, Ltd
P. O. Box 97462
Raleigh, NC 27624 USA
1-919-846-2014
http://www.americancoders.com
Field Summary | |
protected java.lang.String |
xmlTag
|
Fields inherited from class com.americancoders.edi.SegmentContainer |
segmentArray,
templateSegmentVector |
Constructor Summary | |
Table()
constructor takes no parameters |
Method Summary | |
boolean |
doYouWantThisNode(org.w3c.dom.Node node)
tests if the node is part of this table |
java.lang.String |
get()
returns the Table in an EDI document format |
java.lang.String |
getFormattedText(int formatType)
returns a preformatted string |
java.lang.String |
getID()
returns the table id, since there are no tables id it returns a "" |
int |
getSegmentCount()
returns the total number of segments in use within the the table this includes the count of subsegments |
java.lang.String |
getXMLTag()
returns the xml tag field |
void |
parse(ITokenizer TransactionTokenizedString)
parses an EDI Document |
void |
parse(org.w3c.dom.Node node)
parses a XML EDI Document |
void |
readExternal(java.io.ObjectInput in)
used by externalize methods |
void |
setXMLTag(java.lang.String inXMLTag)
sets the xml tag field |
boolean |
validate()
validates if the table is defined correctly |
void |
writeExternal(java.io.ObjectOutput out)
used by externalize methods |
Methods inherited from class com.americancoders.edi.SegmentContainer |
addSegment,
addSegment,
addSegmentToVector,
addTemplateSegment,
createSegment,
defineSegmentArray,
getSegment,
getSegment,
getSegment,
getSubsegmentCount,
getTemplateSegment,
getTemplateSegment,
getTemplateSegmentSize,
isSegment,
isVector,
removeSegment,
removeSegment,
removeSegment,
removeSegment,
setSegmentAt,
setSegmentAt |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected java.lang.String xmlTag
Constructor Detail |
public Table()
Method Detail |
public void parse(ITokenizer TransactionTokenizedString) throws java.lang.Exception
ITokenizer
- input string containing all of the transaction data pretokened by EDIObjects.Tokenizerpublic void parse(org.w3c.dom.Node node) throws java.lang.Exception
Node
- DOM XML Nodepublic boolean doYouWantThisNode(org.w3c.dom.Node node) throws java.lang.Exception
Node
- XML Nodepublic boolean validate()
public java.lang.String get() throws java.lang.Exception
public int getSegmentCount()
public java.lang.String getFormattedText(int formatType)
int
- type - TransactionSet.XML_FORMAT returns a string of the entire
table.
default is plain textpublic java.lang.String getID()
public void setXMLTag(java.lang.String inXMLTag)
String
- xml tag valuepublic java.lang.String getXMLTag()
public void readExternal(java.io.ObjectInput in) throws java.io.IOException, java.lang.ClassNotFoundException
ObjectInput
- object input streampublic void writeExternal(java.io.ObjectOutput out) throws java.io.IOException
ObjectInput
- object input stream
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |