|
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.OtdBuilderException
public 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 SwiftOTDBuilderEntries
public SwiftOTDBuilderObject getParent()
getParent
in interface SwiftOTDBuilderObject
getParent
in class SwiftOTDBuilderObjAdapter
public void setParent(SwiftOTDBuilderObject parent)
setParent
in interface SwiftOTDBuilderObject
setParent
in class SwiftOTDBuilderObjAdapter
public java.util.List getEntries()
getEntries
in interface SwiftOTDBuilderEntries
public void setEntries(java.util.List l)
setEntries
in interface SwiftOTDBuilderEntries
public java.lang.String getID()
getID
in interface SwiftOTDBuilderObject
getID
in class SwiftOTDBuilderObjAdapter
public void print(java.io.PrintWriter writer) throws java.lang.Exception
print
in interface SwiftOTDBuilderObject
print
in class SwiftOTDBuilderObjAdapter
java.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 SwiftOTDBuilderObject
genMap
in class SwiftOTDBuilderObjAdapter
java.lang.Exception
public void diff(SwiftOTDBuilderObject obj, java.io.PrintWriter writer, boolean coreAttrOnly) throws java.lang.Exception
diff
in interface SwiftOTDBuilderObject
diff
in class SwiftOTDBuilderObjAdapter
java.lang.Exception
public SwiftHRFSpecEntrySet getHRFEntry()
getHRFEntry
in interface SwiftOTDBuilderObject
getHRFEntry
in class SwiftOTDBuilderObjAdapter
public void setHRFEntry(SwiftHRFSpecEntrySet entry)
setHRFEntry
in interface SwiftOTDBuilderObject
setHRFEntry
in class SwiftOTDBuilderObjAdapter
public void calculateRepetitiveInfo() throws SwiftParsingException
calculateRepetitiveInfo
in interface SwiftOTDBuilderObject
calculateRepetitiveInfo
in class SwiftOTDBuilderObjAdapter
SwiftParsingException
public 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 |