public abstract class GlossaryBlock extends Block
defined
in the document. Subclasses need only define {Block
Block.canStart(String, int)
.Modifier and Type | Field and Description |
---|---|
protected int |
blockLineNumber |
builder, markupLanguage, parser, state
Constructor and Description |
---|
GlossaryBlock() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getStyle()
the CSS style of the glossary block
|
int |
processLineContent(java.lang.String line,
int offset)
Process the given line of markup starting at the provided offset.
|
void |
setClosed(boolean closed)
Cause the block to be closed.
|
void |
setStyle(java.lang.String style)
the CSS style of the glossary block
|
beginNesting, canResume, canStart, clone, findCloseOffset, isClosed, processLine
getBuilder, getMarkupLanguage, getParser, getState, setParser, setState
public int processLineContent(java.lang.String line, int offset)
Block
processLineContent
in class Block
line
- the markup line to processoffset
- the offset at which to start processingpublic java.lang.String getStyle()
public void setStyle(java.lang.String style)
style
- the style, or null if the style is not definedCopyright © 2007, 2013 David Green and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html