Method Summary |
|
void | clear() |
public ContentHandler | getContentHandler() |
public DTDHandler | getDTDHandler() |
public String | getDefaultEncoding() Gets the default encoding if none is specified. |
public boolean | getEntitiesAsText() |
public EntityResolver | getEntityResolver() Sets the callback object finding files from system ids. |
public ErrorHandler | getErrorHandler() |
public boolean | getFeature(String name) |
public boolean | getForgiving() Returns true if the parser is forgiving. |
public boolean | getJsp() Returns true if the parser should handle special JSP forgiveness. |
public Object | getProperty(String name) |
public boolean | getResinInclude() Returns true if resin:include will include other XML documents. |
public Path | getSearchPath() Gets the search path for included documents. |
public boolean | getSkipComments() |
void | init() |
public boolean | isCoalescing() Returns true if text and cdata nodes will be combined. |
public boolean | isNamespaceAware() Returns true if the parsing is namespace aware. |
public boolean | isNamespacePrefixes() |
public boolean | isSAXNamespaces() |
public boolean | isValidating() |
protected InputStream | openSource(InputSource source) |
public InputStream | openStream(String systemId, String publicId) Looks up an input stream from the system id. |
public InputStream | openStream(String systemId, String publicId, EntityResolver entityResolver) Looks up an input stream from the system id. |
protected InputStream | openStream(String systemId, String publicId, EntityResolver entityResolver, boolean isTop) Looks up an input stream from the system id. |
public InputStream | openTopStream(String systemId, String publicId) Looks up an input stream from the system id. |
public void | parse(InputSource source) |
public void | parse(InputStream is) |
public void | parse(InputStream is, String systemId) |
public void | parse(String systemId) |
public void | parse(Path path) |
public Document | parseDocument(InputSource source) |
public Document | parseDocument(String systemId) Parses a document from system path. |
public Document | parseDocument(Path path) |
public Document | parseDocument(InputStream is) |
public Document | parseDocument(InputStream is, String systemId) Parses an input stream into a DOM document
Parameters: is - the input stream containing the XML Parameters: systemId - the URL of the stream. |
public void | parseDocument(QDocument doc, InputStream is, String systemId) |
public Document | parseDocumentString(String string) |
public void | parseImpl(InputStream is, String systemId) |
abstract Document | parseInt(ReadStream is) Parse the document from a read stream.
Parameters: is - read stream to parse from. |
public void | parseString(String string) SAX parsing from a string. |
public void | setAutodetectXml(boolean autodetectXml) Set true if the parser should switch from HTML to XML if it detects
the <?xml ?> header. |
public void | setCoalescing(boolean isCoalescing) Set true if text and cdata nodes should be combined. |
public void | setConfig(DocumentBuilderFactory factory) Sets the configuration for a document builder. |
public void | setContentHandler(ContentHandler handler) |
public void | setDTDHandler(DTDHandler handler) |
public void | setDefaultEncoding(String encoding) Sets the default encoding if none is specified. |
public void | setDocumentHandler(DocumentHandler handler) Configures the document handler callback. |
public void | setEntitiesAsText(boolean entitiesAsText) |
public void | setEntityResolver(EntityResolver resolver) Sets the callback object to find files. |
public void | setErrorHandler(ErrorHandler handler) |
public void | setExpandEntities(boolean expandEntities) |
public void | setFeature(String name, boolean value) |
public void | setFilename(String filename) |
public void | setForgiving(boolean forgiving) Sets the parser as a forgiving parser, allowing some non-strict
XML. |
public void | setJsp(boolean isJsp) Sets the parser to handle special JSP forgiveness. |
public void | setLexicalHandler(LexicalHandler handler) |
public void | setLocale(Locale locale) |
public void | setNamespaceAware(boolean isNamespaceAware) Set true if the parsing is namespace aware. |
public void | setNamespacePrefixes(boolean isNamespaces) |
public void | setOwner(QDocument doc) Sets the owner. |
public void | setProperty(String name, Object obj) |
public void | setResinInclude(boolean doResinInclude) Enables including of other XML documents with resin:include. |
public void | setSAXNamespaces(boolean isNamespaces) |
public void | setSearchPath(Path path) Sets the search path for included documents. |
public void | setSkipComments(boolean skipComments) Set to true if comments should be skipped. |
public void | setSkipWhitespace(boolean skipWhitespace) Set to true if ignorable-whitespace should be skipped. |
public void | setToLower(boolean toLower) If true, normalizes HTML tags to lower case. |
public void | setValidating(boolean isValidating) |