Uses of Class
net.sf.okapi.lib.xliff2.core.CTag
-
Packages that use CTag Package Description net.sf.okapi.lib.xliff2 Classes shared across the library.net.sf.okapi.lib.xliff2.core Classes implementing the object model of a parsed XLIFF document.net.sf.okapi.lib.xliff2.renderer -
-
Uses of CTag in net.sf.okapi.lib.xliff2
Method parameters in net.sf.okapi.lib.xliff2 with type arguments of type CTag Modifier and Type Method Description static List<String>Util. createFixedSequences(List<CTag> list, boolean errorOnMissingFirstNo)Creates a list of sequences of code markers that must not be re-ordered from the list of all code markers in a given source or target content.static voidUtil. verifyReordering(List<CTag> original, List<CTag> toVerify, boolean errorOnMissingFirstNo)Verifies if the sequences of codes that cannot be re-ordered have been preserved. -
Uses of CTag in net.sf.okapi.lib.xliff2.core
Methods in net.sf.okapi.lib.xliff2.core that return CTag Modifier and Type Method Description CTagFragment. append(TagType tagType, String id, String data, boolean canOverlap)Appends a code tag.CTagFragment. appendCode(String id, String data)Appends a standalone code to this fragment.CTagFragment. closeCodeSpan(String id, String data)Creates at the end of this fragment a closing tag for an existing code.CTagFragment. getCTag(CharSequence ctext, int pos)Gets theCTagfor a given reference in a coded text.CTagTags. getCTag(int key)Gets theCTagfor a given key.CTagTags. getCTag(CharSequence ctext, int pos)Gets theCTagfor a given reference in a coded text.CTagTags. getOpeningCTag(String id)Gets the openingCTagfor a given id.CTagFragment. insert(TagType tagType, String type, String id, String data, int offset, boolean connect, boolean allowOrphan)Inserts a code at a given position (including the end) of this fragment.CTagFragment. openCodeSpan(String id, String data)Creates at the end of this fragment an opening tag for a new code.Methods in net.sf.okapi.lib.xliff2.core that return types with arguments of type CTag Modifier and Type Method Description List<CTag>Unit. getOrderedCTags(boolean target)Creates the list ofCTagin the source or target content, in their respective order.Methods in net.sf.okapi.lib.xliff2.core with parameters of type CTag Modifier and Type Method Description StringStore. getIdForData(CTag ctag)static voidFragment. printCommonAttributes(CTag code, Tags tags, StringBuilder tmp, CTag closing, boolean outputDataRefEnd)Output the common attributes for a given CTag object.booleanFragment. unitHasOpening(CTag ctag)Tests if the unit to which this fragment belongs has an opening code for a given closing code. -
Uses of CTag in net.sf.okapi.lib.xliff2.renderer
Methods in net.sf.okapi.lib.xliff2.renderer that return CTag Modifier and Type Method Description CTagIFragmentObject. getCTag()Gets theCTagof this object, if the object is of that typeCTagXLIFFFragmentObject. getCTag()
-