Package net.sf.okapi.filters.markdown
Class MarkdownSkeletonWriter
- java.lang.Object
-
- net.sf.okapi.common.skeleton.GenericSkeletonWriter
-
- net.sf.okapi.filters.markdown.MarkdownSkeletonWriter
-
- All Implemented Interfaces:
ISkeletonWriter
public class MarkdownSkeletonWriter extends GenericSkeletonWriter
-
-
Field Summary
-
Fields inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
allowEmptyOutputTarget, ALLOWEMPTYOUTPUTTARGET, encoderManager, inputLoc, isMultilingual, layer, outputEncoding, outputLoc, storageStack
-
-
Constructor Summary
Constructors Constructor Description MarkdownSkeletonWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleanisCodeThatDisablesEncoding(Code code)StringprocessDocumentPart(DocumentPart resource)Processes the DOCUMENT_PART event.StringprocessEndSubfilter(EndSubfilter resource)StringprocessTextUnit(ITextUnit resource)Processes the TEXT_UNIT event.-
Methods inherited from class net.sf.okapi.common.skeleton.GenericSkeletonWriter
_processEndGroup, _processStartGroup, addToReferents, close, expandCodeContent, getContent, getContent, getEncoderManager, getInputLoc, getLayer, getOutputEncoding, getOutputLoc, getPropertyValue, getReference, getReferentCopies, getReferents, getSfWriter, getString, getString, getString, getString, getString, isAllowEmptyOutputTarget, isMultilingual, processEndDocument, processEndGroup, processEndSubDocument, processStartDocument, processStartGroup, processStartSubDocument, processStartSubfilter, setAllowEmptyOutputTarget, setEncoderManager, setLayer, setMultilingual, setOutputEncoding, setOutputLoc, setReferentCopies, setReferents
-
-
-
-
Method Detail
-
processTextUnit
public String processTextUnit(ITextUnit resource)
Description copied from interface:ISkeletonWriterProcesses the TEXT_UNIT event.- Specified by:
processTextUnitin interfaceISkeletonWriter- Overrides:
processTextUnitin classGenericSkeletonWriter- Parameters:
resource- the TextUnit resource associated with the event.- Returns:
- the string output corresponding to this event.
-
processDocumentPart
public String processDocumentPart(DocumentPart resource)
Description copied from interface:ISkeletonWriterProcesses the DOCUMENT_PART event.- Specified by:
processDocumentPartin interfaceISkeletonWriter- Overrides:
processDocumentPartin classGenericSkeletonWriter- Parameters:
resource- the DocumentPart resource associated with the event.- Returns:
- the string output corresponding to this event.
-
processEndSubfilter
public String processEndSubfilter(EndSubfilter resource)
- Specified by:
processEndSubfilterin interfaceISkeletonWriter- Overrides:
processEndSubfilterin classGenericSkeletonWriter
-
isCodeThatDisablesEncoding
protected boolean isCodeThatDisablesEncoding(Code code)
- Overrides:
isCodeThatDisablesEncodingin classGenericSkeletonWriter
-
-