Class MarkupLine
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.datatype.markup.AbstractMarkupString<MarkupLine>
-
- gov.nist.secauto.metaschema.core.datatype.markup.MarkupLine
-
- All Implemented Interfaces:
ICustomJavaDataType<MarkupLine>,IMarkupString<MarkupLine>
public class MarkupLine extends AbstractMarkupString<MarkupLine>
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedMarkupLine(com.vladsch.flexmark.util.ast.Document astNode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MarkupLinecopy()Provides a copy of the data value associated with the Datatype instance.static MarkupLinefromHtml(String html)static MarkupLinefromMarkdown(String markdown)FlexmarkFactorygetFlexmarkFactory()booleanisBlock()Determine if the Markup consists of block elements.protected static com.vladsch.flexmark.util.data.DataSetnewParserOptions()-
Methods inherited from class gov.nist.secauto.metaschema.core.datatype.markup.AbstractMarkupString
getDocument, getInserts, getInserts, getNodesAsStream, parseHtml, parseMarkdown, toHtml, toMarkdown, toMarkdown, toString, toXHtml, writeXHtml, writeXHtml
-
-
-
-
Constructor Detail
-
MarkupLine
protected MarkupLine(@NonNull com.vladsch.flexmark.util.ast.Document astNode)
-
-
Method Detail
-
newParserOptions
@NonNull protected static com.vladsch.flexmark.util.data.DataSet newParserOptions()
-
fromHtml
@NonNull public static MarkupLine fromHtml(@NonNull String html)
-
fromMarkdown
@NonNull public static MarkupLine fromMarkdown(@NonNull String markdown)
-
getFlexmarkFactory
public FlexmarkFactory getFlexmarkFactory()
-
copy
public MarkupLine copy()
Description copied from interface:ICustomJavaDataTypeProvides a copy of the data value associated with the Datatype instance.- Returns:
- the copy
-
isBlock
public boolean isBlock()
Description copied from interface:IMarkupStringDetermine if the Markup consists of block elements.- Returns:
trueif the markup consists of block elements, orfalseotherwise
-
-