Package net.sf.okapi.lib.xliff2.renderer
Class XLIFFFragmentObject
- java.lang.Object
-
- net.sf.okapi.lib.xliff2.renderer.XLIFFFragmentObject
-
- All Implemented Interfaces:
IFragmentObject
public class XLIFFFragmentObject extends Object implements IFragmentObject
ImplementsIFragmentObjectfor XLIFF 2.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTaggetCTag()Gets theCTagof this object, if the object is of that typeMTaggetMTag()Gets theMTagof this object, if the object is of that typeObjectgetObject()Gets the original object.StringgetText()Gets the text of this object, if the object is a String.Stringrender()Generates the output for a given format.
-
-
-
Method Detail
-
render
public String render()
Description copied from interface:IFragmentObjectGenerates the output for a given format.- Specified by:
renderin interfaceIFragmentObject- Returns:
- the string representation of this inline object.
-
getText
public String getText()
Description copied from interface:IFragmentObjectGets the text of this object, if the object is a String.- Specified by:
getTextin interfaceIFragmentObject- Returns:
- the text.
-
getCTag
public CTag getCTag()
Description copied from interface:IFragmentObjectGets theCTagof this object, if the object is of that type- Specified by:
getCTagin interfaceIFragmentObject- Returns:
- the CTag of this object.
-
getMTag
public MTag getMTag()
Description copied from interface:IFragmentObjectGets theMTagof this object, if the object is of that type- Specified by:
getMTagin interfaceIFragmentObject- Returns:
- the MTag of this object.
-
getObject
public Object getObject()
Description copied from interface:IFragmentObjectGets the original object.- Specified by:
getObjectin interfaceIFragmentObject- Returns:
- the original object.
-
-