de.infinityloop.upcast.treeprocess
Class InlineProcessorBase

java.lang.Object
  extended by de.infinityloop.upcast.treeprocess.DefaultInlineProcessor
      extended by de.infinityloop.upcast.treeprocess.InlineProcessorBase
All Implemented Interfaces:
de.infinityloop.upcast.treeprocess.InlineProcessor

public abstract class InlineProcessorBase
extends de.infinityloop.upcast.treeprocess.DefaultInlineProcessor

This class is the base class for new, customized inline processor implementations.


Field Summary
 
Fields inherited from class de.infinityloop.upcast.treeprocess.DefaultInlineProcessor
activeCharacterStyle, contentsFragments, inlines, mConv, mDoc, mFilter
 
Constructor Summary
InlineProcessorBase()
           
 
Method Summary
protected abstract  ParagraphInlines processInlines(ParagraphInlines pis, java.util.Vector hoistedInlines)
          Override this method to create your own processing of inlines.
 
Methods inherited from class de.infinityloop.upcast.treeprocess.DefaultInlineProcessor
createDiffStyle, initialize, isSameInline, processParagraph
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InlineProcessorBase

public InlineProcessorBase()
Method Detail

processInlines

protected abstract ParagraphInlines processInlines(ParagraphInlines pis,
                                                   java.util.Vector hoistedInlines)
Override this method to create your own processing of inlines.

Overrides:
processInlines in class de.infinityloop.upcast.treeprocess.DefaultInlineProcessor
Parameters:
pis - A ParagraphInlines object describing the inline children at this paragraph.
hoistedInlines - a list of onlines that span the whole paragraph contents and have therefore been hoisted up to paragraph level. Take them into account (added) for all inlines on the paragraph.