|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.swift.builder.SwiftOTDBuilderObjAdapter
com.stc.swift.builder.SwiftLoopEntryField
public class SwiftLoopEntryField
this class represents a repetitive entry field in a MT description; Update history: 05/24/2006 : QAI 100008 - implement SWIFT HRF parser Added setters in case the information is parsed using another parser (such as HRF reader) and the entry is set from other objects;
| Field Summary |
|---|
| Fields inherited from interface com.stc.swift.builder.SwiftOTDBuilderEntries |
|---|
ALTRN_ENTRY_CHOICE_PREFIX, ALTRN_ENTRY_NAME_PREFIX, LOOP_ENTRY_NAME_PREFIX, SEQU_NAME_PREFIX |
| Constructor Summary | |
|---|---|
SwiftLoopEntryField(SwiftOTDBuilderObject parent)
Creates a new SwiftLoopEntryField object. |
|
| Method Summary | |
|---|---|
void |
addEntry(java.lang.Object o)
|
void |
buildOtd(com.stc.otd.forest.OtdSerial otdSerial,
com.stc.otd.forest.OtdWood otdWood,
java.util.Hashtable hash)
Otd builder for Swift. |
void |
buildOtd(com.stc.otd.forest.OtdSerial otdSerial,
com.stc.otd.forest.OtdWood otdWood,
java.util.Hashtable hash,
java.lang.String useName,
boolean optional)
Otd builder for Swift. |
void |
calculateRepetitiveInfo()
|
void |
diff(SwiftOTDBuilderObject obj,
java.io.PrintWriter writer,
boolean coreAttrOnly)
|
void |
genMap(SwiftOTDBuilderObject obj,
java.io.PrintWriter writer)
compare the expansion attribute of this and obj
- if there is one, and output the extractfile's expan if there is a diff |
java.util.List |
getEntries()
|
SwiftHRFSpecEntrySet |
getHRFEntry()
|
java.lang.String |
getID()
|
SwiftOTDBuilderObject |
getParent()
|
java.lang.String |
nextSequName()
|
void |
parse(java.io.LineNumberReader lnr)
Parser for the Swift Description file. |
void |
print(java.io.PrintWriter writer)
|
void |
setEndLoopEntryId(java.lang.String id)
|
void |
setEndLoopMaxOcc(java.lang.String occ)
|
void |
setEndLoopMinOcc(java.lang.String occ)
|
void |
setEntries(java.util.List l)
|
void |
setHRFEntry(SwiftHRFSpecEntrySet entry)
|
void |
setLoopEntries(java.util.List entries)
|
void |
setLoopEntryId(java.lang.String id)
|
void |
setLoopMaxOcc(java.lang.String occ)
|
void |
setLoopMinOcc(java.lang.String occ)
|
void |
setParent(SwiftOTDBuilderObject parent)
|
| Methods inherited from class com.stc.swift.builder.SwiftOTDBuilderObjAdapter |
|---|
getMTType, mapName, print |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SwiftLoopEntryField(SwiftOTDBuilderObject parent)
| Method Detail |
|---|
public void parse(java.io.LineNumberReader lnr)
throws SwiftParsingException,
java.io.IOException
: - A buffered character-input stream that keeps track of
line numbers of the Swift description.
SwiftParsingException: - Parsing of the Swift Description file has
failed.
IOException: - Failed or interrupted I/O operation.
SwiftParsingException
java.io.IOException
public void buildOtd(com.stc.otd.forest.OtdSerial otdSerial,
com.stc.otd.forest.OtdWood otdWood,
java.util.Hashtable hash,
java.lang.String useName,
boolean optional)
throws com.stc.otd.builder.OtdBuilderException
otdSerial - - Where the OtdBark is placed??.otdWood - - A piece of Wood to add branches to.hash - - Hashtable of previously used node names.useName - - Name to use for the loop(From ENTRY_SEQ).optional - - was ENTRY_SEQ required?
com.stc.otd.builder.OtdBuilderException
public void buildOtd(com.stc.otd.forest.OtdSerial otdSerial,
com.stc.otd.forest.OtdWood otdWood,
java.util.Hashtable hash)
throws com.stc.otd.builder.OtdBuilderException
otdSerial - - Where the OtdBark is placed??.otdWood - - A piece of Wood to add branches to.hash - - Hashtable of previously used node names.
com.stc.otd.builder.OtdBuilderExceptionpublic void setEndLoopEntryId(java.lang.String id)
public void setEndLoopMaxOcc(java.lang.String occ)
public void setEndLoopMinOcc(java.lang.String occ)
public void setLoopEntries(java.util.List entries)
public void setLoopEntryId(java.lang.String id)
public void setLoopMaxOcc(java.lang.String occ)
public void setLoopMinOcc(java.lang.String occ)
public void addEntry(java.lang.Object o)
addEntry in interface SwiftOTDBuilderEntriespublic SwiftOTDBuilderObject getParent()
getParent in interface SwiftOTDBuilderObjectgetParent in class SwiftOTDBuilderObjAdapterpublic void setParent(SwiftOTDBuilderObject parent)
setParent in interface SwiftOTDBuilderObjectsetParent in class SwiftOTDBuilderObjAdapterpublic java.util.List getEntries()
getEntries in interface SwiftOTDBuilderEntriespublic void setEntries(java.util.List l)
setEntries in interface SwiftOTDBuilderEntriespublic java.lang.String getID()
getID in interface SwiftOTDBuilderObjectgetID in class SwiftOTDBuilderObjAdapter
public void print(java.io.PrintWriter writer)
throws java.lang.Exception
print in interface SwiftOTDBuilderObjectprint in class SwiftOTDBuilderObjAdapterjava.lang.Exception
public void genMap(SwiftOTDBuilderObject obj,
java.io.PrintWriter writer)
throws java.lang.Exception
this and obj
- if there is one, and output the extractfile's expan if there is a diff
genMap in interface SwiftOTDBuilderObjectgenMap in class SwiftOTDBuilderObjAdapterjava.lang.Exception
public void diff(SwiftOTDBuilderObject obj,
java.io.PrintWriter writer,
boolean coreAttrOnly)
throws java.lang.Exception
diff in interface SwiftOTDBuilderObjectdiff in class SwiftOTDBuilderObjAdapterjava.lang.Exceptionpublic SwiftHRFSpecEntrySet getHRFEntry()
getHRFEntry in interface SwiftOTDBuilderObjectgetHRFEntry in class SwiftOTDBuilderObjAdapterpublic void setHRFEntry(SwiftHRFSpecEntrySet entry)
setHRFEntry in interface SwiftOTDBuilderObjectsetHRFEntry in class SwiftOTDBuilderObjAdapter
public void calculateRepetitiveInfo()
throws SwiftParsingException
calculateRepetitiveInfo in interface SwiftOTDBuilderObjectcalculateRepetitiveInfo in class SwiftOTDBuilderObjAdapterSwiftParsingExceptionpublic java.lang.String nextSequName()
nextSequName in interface SwiftOTDBuilderEntries
|
Sun Message Library for SWIFT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||