Class SAX3WriterHtml
- All Implemented Interfaces:
Closeable
,AutoCloseable
,SAX3WriterEnumHammer<SAX3WriterHtml.Tag>
- Direct Known Subclasses:
MaisDocContentWriter
ContentWriterHtml writes HTML events as SAX events to XML.
- Version:
- 1.0 Apr 30, 2013
- Author:
- Willem Cazander
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
printHeadLinkCss
(String cssUrl) void
printHeadMeta
(String name, String content) void
void
void
printHeadTitle
(String title) void
void
void
void
printHrefNamed
(String name) void
printHrefTarget
(String href, String target, String text) void
void
printHtmlStart
(String language) void
printScriptInline
(String script) void
void
printScriptNoDiv
(String text) void
printScriptSrc
(String jsUrl) printTag
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum) printTag
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId) printTag
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId, String typeId) printTag
(SAX3WriterHtml.Tag tag, String tagClass) printTag
(SAX3WriterHtml.Tag tag, String tagClass, String tagId, String typeId) void
printTagCharacters
(SAX3WriterHtml.Tag tag, String text, String tagClass) void
printTagCharacters
(SAX3WriterHtml.Tag tag, String text, String tagClass, String tagId) void
printTagStart
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum) void
printTagStart
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId) void
printTagStart
(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId, String typeId) void
printTagStart
(SAX3WriterHtml.Tag tag, String tagClass) void
printTagStart
(SAX3WriterHtml.Tag tag, String tagClass, String tagId, String typeId) Methods inherited from class org.x4o.sax3.SAX3WriterEnum
close, endDocument, getContentWriterWrapped, getTagNamespaceUri, printCharacters, printComment, printTag, printTag, printTagCharacters, printTagEnd, printTagStart, printTagStart, printTagStartEnd, printTagStartEnd, startDocument
-
Constructor Details
-
SAX3WriterHtml
-
-
Method Details
-
getPropertyConfig
-
printDocType
- Throws:
IOException
-
printHtmlStart
- Throws:
IOException
-
printHtmlEnd
- Throws:
IOException
-
printHeadMetaDate
- Throws:
IOException
-
printHeadTitle
- Throws:
IOException
-
printHeadMetaContentType
- Throws:
IOException
-
printHeadMeta
- Throws:
IOException
-
printHeadLinkCss
- Throws:
IOException
-
printScriptSrc
- Throws:
IOException
-
printScriptInline
- Throws:
IOException
-
printScriptNoDiv
- Throws:
IOException
-
printScriptNoDiv
- Throws:
IOException
-
printHrefNamed
- Throws:
IOException
-
printHrefTarget
- Throws:
IOException
-
printHref
- Throws:
IOException
-
printHref
- Throws:
IOException
-
printHref
- Throws:
IOException
-
printTagCharacters
public void printTagCharacters(SAX3WriterHtml.Tag tag, String text, String tagClass) throws IOException - Throws:
IOException
-
printTagCharacters
public void printTagCharacters(SAX3WriterHtml.Tag tag, String text, String tagClass, String tagId) throws IOException - Throws:
IOException
-
printTag
- Throws:
IOException
-
printTag
- Throws:
IOException
-
printTag
public ContentCloseable printTag(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId) throws IOException - Throws:
IOException
-
printTag
public ContentCloseable printTag(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId, String typeId) throws IOException - Throws:
IOException
-
printTag
public ContentCloseable printTag(SAX3WriterHtml.Tag tag, String tagClass, String tagId, String typeId) throws IOException - Throws:
IOException
-
printTagStart
- Throws:
IOException
-
printTagStart
- Throws:
IOException
-
printTagStart
public void printTagStart(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId) throws IOException - Throws:
IOException
-
printTagStart
public void printTagStart(SAX3WriterHtml.Tag tag, Enum<?> tagClassEnum, String tagId, String typeId) throws IOException - Throws:
IOException
-
printTagStart
public void printTagStart(SAX3WriterHtml.Tag tag, String tagClass, String tagId, String typeId) throws IOException - Throws:
IOException
-