org.eclipse.mylyn.internal.wikitext.textile.core.block
Class PreformattedBlock

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.textile.core.block.PreformattedBlock
All Implemented Interfaces:
java.lang.Cloneable

public class PreformattedBlock
extends Block

Preformatted text block, matches blocks that start with pre.

Author:
David Green

Field Summary
 
Fields inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Processor
builder, markupLanguage, parser, state
 
Constructor Summary
PreformattedBlock()
           
 
Method Summary
 boolean canStart(java.lang.String line, int lineOffset)
           
 int processLineContent(java.lang.String line, int offset)
           
 void setClosed(boolean closed)
           
 
Methods inherited from class org.eclipse.mylyn.wikitext.core.parser.markup.Block
beginNesting, clone, findCloseOffset, isClosed, processLine
 
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

PreformattedBlock

public PreformattedBlock()
Method Detail

processLineContent

public int processLineContent(java.lang.String line,
                              int offset)
Specified by:
processLineContent in class Block

canStart

public boolean canStart(java.lang.String line,
                        int lineOffset)
Specified by:
canStart in class Block

setClosed

public void setClosed(boolean closed)
Overrides:
setClosed in class Block


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