|
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.SwiftOptEntry
public class SwiftOptEntry
this class represents an Optional Entry in a Swift 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 |
---|
Constructor Summary | |
---|---|
SwiftOptEntry(SwiftOTDBuilderObject parent)
Creates a new SwiftOptEntry object. |
|
SwiftOptEntry(SwiftOTDBuilderObject parent,
java.util.Hashtable mapping)
|
Method Summary | |
---|---|
void |
buildOtd(com.stc.otd.forest.OtdSerial otdSerial,
com.stc.otd.forest.OtdWood otdWood,
java.util.Hashtable hash,
java.lang.String baseName)
Otd builder for Swift. |
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 |
SwiftAltrnEntryField |
getAltrnEntryField()
|
SwiftEntryField |
getEntryField()
|
java.lang.String |
getFioptOptChoice()
|
java.lang.String |
getFioptOptExpan()
|
java.lang.String |
getID()
|
java.lang.String |
getOptEntFldID()
|
SwiftOTDBuilderObject |
getParent()
|
void |
parse(java.io.LineNumberReader lnr)
Parser for the Swift Description file. |
void |
print(java.io.PrintWriter writer)
|
void |
setAltrnEntryField(SwiftAltrnEntryField entry)
|
void |
setEntryField(SwiftEntryField entry)
|
void |
setFioptOptChoice(java.lang.String choice)
|
void |
setFioptOptExpan(java.lang.String expan)
|
void |
setParent(SwiftOTDBuilderObject parent)
|
Methods inherited from class com.stc.swift.builder.SwiftOTDBuilderObjAdapter |
---|
calculateRepetitiveInfo, getHRFEntry, getMTType, mapName, print, setHRFEntry |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SwiftOptEntry(SwiftOTDBuilderObject parent)
public SwiftOptEntry(SwiftOTDBuilderObject parent, java.util.Hashtable mapping)
Method Detail |
---|
public java.lang.String getFioptOptChoice()
public java.lang.String getFioptOptExpan()
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 baseName) 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 setFioptOptChoice(java.lang.String choice)
public void setFioptOptExpan(java.lang.String expan)
public void setEntryField(SwiftEntryField entry)
public SwiftEntryField getEntryField()
public void setAltrnEntryField(SwiftAltrnEntryField entry)
public SwiftAltrnEntryField getAltrnEntryField()
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.lang.String getID()
getID
in interface SwiftOTDBuilderObject
getID
in class SwiftOTDBuilderObjAdapter
public java.lang.String getOptEntFldID()
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
|
Sun Message Library for SWIFT API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |