|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.init.its.process.re.XLIFFReader
public class XLIFFReader
A Simple XLIFF Reader. This reader will convert an XLIFF Source into a tree format something like this: XLIFFDocument | File | Body / | \ TU TU TU / \ / \ / \ S T S T S T / | \ g g g where TU is a translation unit consisting of (S)ource and (T)arget elements. Each Source and Target element can have text nodes, simple generic xliff groupings and the relevant MRK Elements indicating its content. This XLIFF Reader is not general purpose! Instead it may be only useful in this context
Nested Class Summary | |
---|---|
static class |
XLIFFReader.XLIFF2ITSMapperService
XLIFF to ITS Mapper Class. |
(package private) static class |
XLIFFReader.XLIFFHandler
Simple xliff XML Content Handler |
Constructor Summary | |
---|---|
XLIFFReader()
|
Method Summary | |
---|---|
ItsTree<Element> |
read(java.lang.String xml)
Read an xml as String and return it as ItsTree represenation |
ItsTree<Element> |
read(java.net.URI xliffsource)
Read an external XLIFF Source and return a ItsTree representation of this source |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XLIFFReader()
Method Detail |
---|
public ItsTree<Element> read(java.lang.String xml)
xml
-
public ItsTree<Element> read(java.net.URI xliffsource)
xliffsource
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |