Class MarkupXmlStreamWriter
- java.lang.Object
-
- gov.nist.secauto.metaschema.core.datatype.markup.flexmark.AbstractMarkupWriter<XMLStreamWriter,XMLStreamException>
-
- gov.nist.secauto.metaschema.core.datatype.markup.flexmark.MarkupXmlStreamWriter
-
- All Implemented Interfaces:
IMarkupWriter<XMLStreamWriter,XMLStreamException>
public class MarkupXmlStreamWriter extends AbstractMarkupWriter<XMLStreamWriter,XMLStreamException>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class gov.nist.secauto.metaschema.core.datatype.markup.flexmark.AbstractMarkupWriter
AbstractMarkupWriter.NodeVisitorException
-
Nested classes/interfaces inherited from interface gov.nist.secauto.metaschema.core.datatype.markup.flexmark.IMarkupWriter
IMarkupWriter.ChildHandler<T,E extends Throwable>
-
-
Constructor Summary
Constructors Constructor Description MarkupXmlStreamWriter(String namespace, com.vladsch.flexmark.parser.ListOptions listOptions, XMLStreamWriter writer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
writeComment(CharSequence text)
void
writeElementEnd(QName qname)
void
writeElementStart(QName qname, Map<String,String> attributes)
void
writeEmptyElement(QName qname, Map<String,String> attributes)
protected void
writeHtmlEntityInternal(String entityText)
void
writeText(CharSequence text)
-
Methods inherited from class gov.nist.secauto.metaschema.core.datatype.markup.flexmark.AbstractMarkupWriter
asQName, collapseWhitespace, getNamespace, getOptions, getStream, visitChildren, writeBlockHtml, writeBlockQuote, writeBreak, writeBreak, writeCode, writeCodeBlock, writeCodeBlock, writeCodeBlock, writeComment, writeElement, writeHeading, writeHtmlEntity, writeHtmlEntity, writeImage, writeInlineHtml, writeInsertAnchor, writeLink, writeLink, writeLink, writeList, writeListItem, writeParagraph, writePrecedingNewline, writeTable, writeText, writeText, writeTrailingNewline, writeTypographicQuotes
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface gov.nist.secauto.metaschema.core.datatype.markup.flexmark.IMarkupWriter
writeElement, writeElement, writeElementStart, writeEmptyElement, writeList
-
-
-
-
Constructor Detail
-
MarkupXmlStreamWriter
public MarkupXmlStreamWriter(@NonNull String namespace, @NonNull com.vladsch.flexmark.parser.ListOptions listOptions, @NonNull XMLStreamWriter writer)
-
-
Method Detail
-
writeEmptyElement
public void writeEmptyElement(QName qname, Map<String,String> attributes) throws XMLStreamException
- Throws:
XMLStreamException
-
writeElementStart
public void writeElementStart(QName qname, Map<String,String> attributes) throws XMLStreamException
- Throws:
XMLStreamException
-
writeElementEnd
public void writeElementEnd(QName qname) throws XMLStreamException
- Throws:
XMLStreamException
-
writeText
public void writeText(CharSequence text) throws XMLStreamException
- Throws:
XMLStreamException
-
writeHtmlEntityInternal
protected void writeHtmlEntityInternal(String entityText) throws XMLStreamException
- Overrides:
writeHtmlEntityInternal
in classAbstractMarkupWriter<XMLStreamWriter,XMLStreamException>
- Throws:
XMLStreamException
-
writeComment
protected void writeComment(CharSequence text) throws XMLStreamException
- Specified by:
writeComment
in classAbstractMarkupWriter<XMLStreamWriter,XMLStreamException>
- Throws:
XMLStreamException
-
-