Package io.markdom.model
Interface MarkdomCodeBlock
-
- All Superinterfaces:
MarkdomBlock,MarkdomNode
public interface MarkdomCodeBlock extends MarkdomBlock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MarkdomBlockTypegetBlockType()StringgetCode()Optional<String>getHint()default <Result> Resultselect(MarkdomBlockSelection<Result> selection)MarkdomCodeBlocksetCode(String code)MarkdomCodeBlocksetHint(Optional<String> hint)-
Methods inherited from interface io.markdom.model.MarkdomBlock
choose, getNodeType, getParent, select
-
Methods inherited from interface io.markdom.model.MarkdomNode
choose, countChildren, getChildren, getDocument, getFactory, getIndex, hasChildren, hasDocument, hasParent
-
-
-
-
Method Detail
-
getBlockType
default MarkdomBlockType getBlockType()
- Specified by:
getBlockTypein interfaceMarkdomBlock
-
getCode
String getCode()
-
setCode
MarkdomCodeBlock setCode(String code)
-
setHint
MarkdomCodeBlock setHint(Optional<String> hint)
-
select
default <Result> Result select(MarkdomBlockSelection<Result> selection)
- Specified by:
selectin interfaceMarkdomBlock
-
-