public interface Translator
Modifier and Type | Method and Description |
---|---|
boolean |
isCompatible(Document document)
Checks whether input dialect compatible with the Translator.
|
Document |
translate(Document document,
String id)
Translates the input dialect into OnixS dialect format.
|
boolean isCompatible(Document document)
document
- input dialect represented in XML format.Document translate(Document document, String id) throws Exception
document
- input dialect represented in XML format.id
- session-level dialect id to be specifiedException
- if an error occurred during translationCopyright © 2005–2024 Onix Solutions. All rights reserved.