Uses of Class
net.sf.okapi.common.skeleton.GenericSkeleton
-
Packages that use GenericSkeleton Package Description net.sf.okapi.common.filters Interfaces and base classes to implement filtersnet.sf.okapi.common.resource Interfaces and classes that represent the parsed resources attached to the events sent by a filter.net.sf.okapi.common.skeleton Interfaces and classes for the skeleton objects.net.sf.okapi.filters.abstractmarkup net.sf.okapi.filters.its net.sf.okapi.filters.plaintext.base -
-
Uses of GenericSkeleton in net.sf.okapi.common.filters
Methods in net.sf.okapi.common.filters that return GenericSkeleton Modifier and Type Method Description protected GenericSkeletonAbstractLineFilter. getActiveSkeleton()protected GenericSkeletonAbstractLineFilter. getHeadSkeleton()Methods in net.sf.okapi.common.filters with parameters of type GenericSkeleton Modifier and Type Method Description voidEventBuilder. addToDocumentPart(GenericSkeleton part)Add to the currentDocumentPart.voidEventBuilder. appendToSkeleton(GenericSkeleton part)Appends a part to the skeleton.EndingEventBuilder. endGroup(GenericSkeleton endMarker)EndingEventBuilder. endGroup(GenericSkeleton endMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)ITextUnitEventBuilder. endTextUnit(GenericSkeleton endMarker)ITextUnitEventBuilder. endTextUnit(GenericSkeleton endMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)StartGroupEventBuilder. startGroup(GenericSkeleton startMarker, String commonTagType)Create aStartGroupEventand add it to the event queue.StartGroupEventBuilder. startGroup(GenericSkeleton startMarker, String commonTagType, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Create aStartGroupEventand add it to the event queue.voidEventBuilder. startTextUnit(String text, GenericSkeleton startMarker, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Start a complexTextUnitwith actionable (translatable, writable or read-only) attributes.voidEventBuilder. startTextUnit(String text, GenericSkeleton startMarker, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Start a complexTextUnitwith actionable (translatable, writable or read-only) attributes.voidEventBuilder. startTextUnit(GenericSkeleton startMarker)Start a complexTextUnit.voidEventBuilder. startTextUnit(GenericSkeleton startMarker, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)Start a complexTextUnitwith actionable (translatable, writable or read-only) attributes. -
Uses of GenericSkeleton in net.sf.okapi.common.resource
Methods in net.sf.okapi.common.resource that return GenericSkeleton Modifier and Type Method Description static GenericSkeletonTextUnitUtil. convertToSkeleton(ITextUnit textUnit)Copies source and target text of a given text unit into a newly created skeleton.static GenericSkeletonTextUnitUtil. forceSkeleton(ITextUnit tu)Makes sure that a given text unit contains a skeleton.Methods in net.sf.okapi.common.resource with parameters of type GenericSkeleton Modifier and Type Method Description static voidTextUnitUtil. trimLeading(TextFragment textFragment, GenericSkeleton skel)Removes leading whitespaces from a given text fragment, puts removed whitespaces to the given skeleton.static voidTextUnitUtil. trimTrailing(TextFragment textFragment, GenericSkeleton skel)Removes trailing whitespaces from a given text fragment, puts removed whitespaces to the given skeleton. -
Uses of GenericSkeleton in net.sf.okapi.common.skeleton
Subclasses of GenericSkeleton in net.sf.okapi.common.skeleton Modifier and Type Class Description classZipSkeletonExtension of theGenericSkeletonskeleton implementation that allow ZipFile and ZipEntry objects to be passed along with skeleton parts.Methods in net.sf.okapi.common.skeleton that return GenericSkeleton Modifier and Type Method Description GenericSkeletonGenericSkeleton. clone()Clones this GenericSkeleton object.static GenericSkeleton[]SkeletonUtil. splitSkeleton(GenericSkeleton skel)Splits a givenGenericSkeletoninto 2 parts: before and after the content placeholder (self-marker).Methods in net.sf.okapi.common.skeleton with parameters of type GenericSkeleton Modifier and Type Method Description voidGenericSkeleton. add(GenericSkeleton skel)Adds to this skeleton all the parts of a given skeleton.protected voidGenericSkeleton. copyFields(GenericSkeleton toSkel)static intSkeletonUtil. findTuRefInSkeleton(GenericSkeleton skel)Finds source reference in the skeleton.static intSkeletonUtil. findTuRefInSkeleton(GenericSkeleton skel, LocaleId locId)Finds either source or target reference in the skeleton.static intSkeletonUtil. getNumParts(GenericSkeleton skel)static GenericSkeletonPartSkeletonUtil. getPart(GenericSkeleton skel, int index)static booleanSkeletonUtil. hasTuRef(GenericSkeleton skel)Determines if a given skeleton contains a source reference in it.static booleanSkeletonUtil. hasTuRef(GenericSkeleton skel, LocaleId locId)Determines if a given skeleton contains a target reference in a given locale.static booleanSkeletonUtil. replaceSkeletonPart(GenericSkeleton skel, int index, GenericSkeleton replacement)Replaces a part of a given skeleton with another given skeleton part.static GenericSkeleton[]SkeletonUtil. splitSkeleton(GenericSkeleton skel)Splits a givenGenericSkeletoninto 2 parts: before and after the content placeholder (self-marker).Constructors in net.sf.okapi.common.skeleton with parameters of type GenericSkeleton Constructor Description GenericSkeleton(GenericSkeleton skel)Creates a new GenericSkeleton object and initialize it with the parts of an existing one passed as a parameter.ZipSkeleton(GenericSkeleton skel, ZipFile original, ZipEntry entry) -
Uses of GenericSkeleton in net.sf.okapi.filters.abstractmarkup
Methods in net.sf.okapi.filters.abstractmarkup with parameters of type GenericSkeleton Modifier and Type Method Description protected voidAbstractMarkupFilter. endGroup(GenericSkeleton endMarker)protected voidAbstractMarkupFilter. endTextUnit(GenericSkeleton endMarker)protected voidAbstractMarkupFilter. startGroup(GenericSkeleton startMarker, String commonTagType)protected voidAbstractMarkupFilter. startGroup(GenericSkeleton startMarker, String commonTagType, LocaleId locale, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders)protected voidAbstractMarkupFilter. startTextUnit(GenericSkeleton startMarker)protected voidAbstractMarkupFilter. startTextUnit(GenericSkeleton startMarker, List<PropertyTextUnitPlaceholder> propertyTextUnitPlaceholders) -
Uses of GenericSkeleton in net.sf.okapi.filters.its
Fields in net.sf.okapi.filters.its declared as GenericSkeleton Modifier and Type Field Description protected GenericSkeletonITSFilter. skel -
Uses of GenericSkeleton in net.sf.okapi.filters.plaintext.base
Methods in net.sf.okapi.filters.plaintext.base with parameters of type GenericSkeleton Modifier and Type Method Description protected TextProcessingResultBasePlainTextFilter. sendAsSkeleton(GenericSkeleton skelPart)
-