|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
An extension to the JavaCC generated JavaParserVisitor to include some needed methods for the G11NToolKit Tree Walker.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
See License Agreement.
| Method Summary | |
java.lang.String |
removeConcat(java.lang.String s)
Removes string concatenation where possible. |
void |
setContextFileName(java.lang.String tc)
Sets the Context File Name to be used by the Tree Walker. |
void |
setStrFile(StrFile sf)
Sets the StrFile to be used by the Tree Walker |
void |
setTargetLocale(java.util.Locale tl)
Sets the target locale to be used by the Tree Walker. |
void |
setTokenObject(Token tk)
Sets the com.g11ntoolkit.token.Token object to be used by the Tree Walker. |
void |
setTokFile(TokFile tf)
Sets the TokFile to be used by the Tree Walker. |
void |
writeXLIFF(java.io.OutputStreamWriter osw)
Writes the tree walker results to an XLIFF format file. |
| Methods inherited from interface com.g11ntoolkit.parser.java.JavaParserVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
| Method Detail |
public void setStrFile(StrFile sf)
sf - a StrFile specifying the StrFile object to be usedpublic void setTokFile(TokFile tf)
tf - a TokFile specifying the TokFile object to be usedpublic void setContextFileName(java.lang.String tc)
tc - a String specifying the file name to be used for the context of each extracted stringpublic void setTargetLocale(java.util.Locale tl)
tl - a Locale object specifying the target locale to be used for each extracted stringpublic void setTokenObject(Token tk)
tk - a com.g11ntoolkit.token.Token object specifying the token object to be used to generate the tokens for each extracted stringpublic void writeXLIFF(java.io.OutputStreamWriter osw)
osw - a OutputStreamWriter specifying the output stream writer to usepublic java.lang.String removeConcat(java.lang.String s)
s - a String specifying the string that has possible concatenation
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||