@ConsumerType
public interface TranslationXLIFFService
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Document |
convertXLIFFStreamToXMLDocument(java.io.InputStream xliffInputStream,
java.lang.String sourceLanguage,
java.lang.String destinationLanguage)
Converts an XLIFF InputStream to an equivalent XML
|
java.lang.String |
convertXMLDocumentToXLIFFString(org.w3c.dom.Document xmlDocument,
java.lang.String id,
java.lang.String sourceLanguage,
java.lang.String xliffVersion)
Converts an XML document, corresponding to a translation object, to an equivalent XLIFF string
|
java.lang.String convertXMLDocumentToXLIFFString(org.w3c.dom.Document xmlDocument,
java.lang.String id,
java.lang.String sourceLanguage,
java.lang.String xliffVersion)
throws TranslationXLIFFServiceException
xmlDocument - XML document containing the content to be translatedid - Unique id corresponding to the translation object from which the xmlDocument was createdsourceLanguage - Source language of the translatable content inside xmlDocumentxliffVersion - Version of the output XLIFFTranslationXLIFFServiceException - Exceptionorg.w3c.dom.Document convertXLIFFStreamToXMLDocument(java.io.InputStream xliffInputStream,
java.lang.String sourceLanguage,
java.lang.String destinationLanguage)
throws TranslationXLIFFServiceException
xliffInputStream - Input XLIFF streamsourceLanguage - Source languagedestinationLanguage - Target languageTranslationXLIFFServiceException - ExceptionCopyright © 2010 - 2023 Adobe. All Rights Reserved