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 protected
MarkupLine(com.vladsch.flexmark.util.ast.Document astNode)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MarkupLine
copy()
Provides a copy of the data value associated with the Datatype instance.static MarkupLine
fromHtml(String html)
static MarkupLine
fromMarkdown(String markdown)
FlexmarkFactory
getFlexmarkFactory()
boolean
isBlock()
Determine if the Markup consists of block elements.protected static com.vladsch.flexmark.util.data.DataSet
newParserOptions()
-
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:ICustomJavaDataType
Provides a copy of the data value associated with the Datatype instance.- Returns:
- the copy
-
isBlock
public boolean isBlock()
Description copied from interface:IMarkupString
Determine if the Markup consists of block elements.- Returns:
true
if the markup consists of block elements, orfalse
otherwise
-
-