Package htmlcompiler.compilers.html
Class DefaultNekoCompiler
java.lang.Object
htmlcompiler.compilers.html.DefaultNekoCompiler
- All Implemented Interfaces:
HtmlCompiler,NekoCompiler
- Direct Known Subclasses:
CodelibsCompiler,CyberNekoCompiler,HtmlUnitCompiler
public abstract class DefaultNekoCompiler extends Object implements NekoCompiler
-
Constructor Summary
Constructors Constructor Description DefaultNekoCompiler(Logger log, LibraryArchive archive, org.apache.xerces.parsers.DOMParser parser) -
Method Summary
Modifier and Type Method Description StringcompileHtmlCode(Path file, String content)StringcompressHtmlCode(String content)StringdoctypeCompressCompile(Path file, String content)DocumenthtmlToDocument(String html)DocumentprocessHtml(Path file, Document document)StringtoHtml(Node node)
-
Constructor Details
-
DefaultNekoCompiler
public DefaultNekoCompiler(Logger log, LibraryArchive archive, org.apache.xerces.parsers.DOMParser parser)
-
-
Method Details
-
doctypeCompressCompile
- Specified by:
doctypeCompressCompilein interfaceHtmlCompiler- Throws:
InvalidInput
-
compressHtmlCode
- Specified by:
compressHtmlCodein interfaceHtmlCompiler
-
compileHtmlCode
- Specified by:
compileHtmlCodein interfaceHtmlCompiler- Throws:
InvalidInput
-
processHtml
- Specified by:
processHtmlin interfaceNekoCompiler- Throws:
Exception
-
htmlToDocument
- Specified by:
htmlToDocumentin interfaceNekoCompiler- Throws:
IOExceptionSAXException
-
toHtml
- Specified by:
toHtmlin interfaceNekoCompiler- Throws:
TransformerExceptionIOException
-