Uses of Class
net.sf.okapi.common.resource.CodeMatchStrategy
-
Packages that use CodeMatchStrategy Package Description net.sf.okapi.common.resource Interfaces and classes that represent the parsed resources attached to the events sent by a filter. -
-
Uses of CodeMatchStrategy in net.sf.okapi.common.resource
Methods in net.sf.okapi.common.resource that return CodeMatchStrategy Modifier and Type Method Description static CodeMatchStrategyCodeMatchStrategy. valueOf(String name)Returns the enum constant of this type with the specified name.static CodeMatchStrategy[]CodeMatchStrategy. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in net.sf.okapi.common.resource with parameters of type CodeMatchStrategy Modifier and Type Method Description static CodeMatchesTextFragmentUtil. alignAndCopyCodeMetadata(TextFragment from, TextFragment to, boolean addMissingCodes, boolean forceCopy, CodeMatchStrategy strategy)Update the meta fields inCode"to" that match those of "from" But only if the "to" code has empty data (@see{forceCopy}).voidTextFragment. alignCodeIds(TextFragment base, CodeMatchStrategy strategy)Aligns the code IDs of this fragment with the ones of a given fragment.static CodeMatchesTextFragmentUtil. synchronizeCodeIds(TextFragment from, TextFragment to, CodeMatchStrategy strategy)Matches the code IDs of thefromfragment with the ones of thetofragment.
-