org.eclipse.mylyn.internal.wikitext.confluence.core.block
Class ParameterizedBlock

java.lang.Object
  extended by org.eclipse.mylyn.wikitext.core.parser.markup.Processor
      extended by org.eclipse.mylyn.wikitext.core.parser.markup.Block
          extended by org.eclipse.mylyn.internal.wikitext.confluence.core.block.ParameterizedBlock
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
AbstractConfluenceDelimitedBlock, ColorBlock, TableOfContentsBlock, TextBoxBlock

public abstract class ParameterizedBlock
extends Block

Author:
David Green

Field Summary
 
Fields inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Processor
builder, markupLanguage, parser, state
 
Constructor Summary
ParameterizedBlock()
           
 
Method Summary
protected  void setOption(String option)
          Set an option that is specified without a value.
protected abstract  void setOption(String key, String value)
          Set an option with key and value pair
 void setOptions(String options)
           
 
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Block
beginNesting, canStart, clone, findCloseOffset, isClosed, processLine, processLineContent, setClosed
 
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Processor
getBuilder, getMarkupLanguage, getParser, getState, setParser, setState
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterizedBlock

public ParameterizedBlock()
Method Detail

setOptions

public void setOptions(String options)

setOption

protected void setOption(String option)
Set an option that is specified without a value. The default implementation does nothing.

Parameters:
option - the option to set
See Also:
setOption(String, String)

setOption

protected abstract void setOption(String key,
                                  String value)
Set an option with key and value pair

Parameters:
key - the key of the option
value - the value of the option
See Also:
setOption(String)


Copyright © 2011 FuseSource, Corp.. All Rights Reserved.