public class SourceFactoryHtml extends AbstractSourceFactory
The settings of NekoHTML makes the XML attributes name be in lower case. This
poses a restriction on attribute names of plugins, instead of defining in a
IPlugin implementation PluginX an attribute named
loadOnStart, use loadonstart in small caps.
cache, namespaceDEFAULT_ENCODING, FEATURE_ENCODING| Constructor and Description |
|---|
SourceFactoryHtml() |
| Modifier and Type | Method and Description |
|---|---|
protected nu.xom.Document |
fromTarget(URI uri,
String target,
String encoding)
Load file from source.
|
protected nu.xom.Document |
load(Reader reader)
Load a source from either an InputStream or a Reader.
|
addDoctype, cleanTarget, initialize, isFile, newSourcegetEncodingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEncodingprotected nu.xom.Document fromTarget(URI uri, String target, String encoding) throws SourceException
AbstractSourceFactoryfromTarget in class AbstractSourceFactoryuri - The source URI.target - The source name.encoding - The encoding.SourceException - On load errors.protected nu.xom.Document load(Reader reader) throws SourceException
reader - InputStream.SourceException - On load error.Copyright © 2016. All rights reserved.