org.xml.sax.DocumentHandler Java Examples

The following examples show how to use org.xml.sax.DocumentHandler. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ResolvingParser.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #2
Source File: ResolvingParser.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #3
Source File: BaseMarkupSerializer.java    From openjdk-jdk9 with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #4
Source File: BaseMarkupSerializer.java    From Bytecoder with Apache License 2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #5
Source File: BaseMarkupSerializer.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #6
Source File: ResolvingParser.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #7
Source File: ResolvingParser.java    From hottub with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #8
Source File: BaseMarkupSerializer.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #9
Source File: ResolvingParser.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #10
Source File: BaseMarkupSerializer.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #11
Source File: BaseMarkupSerializer.java    From openjdk-jdk8u with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #12
Source File: ResolvingParser.java    From openjdk-8-source with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #13
Source File: BaseMarkupSerializer.java    From JDKSourceCode1.8 with MIT License 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #14
Source File: BaseMarkupSerializer.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #15
Source File: MockParser.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void setDocumentHandler(DocumentHandler handler) {
    logger.add("setDocumentHandler", handler);
}
 
Example #16
Source File: ResolvingParser.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #17
Source File: NoInstanceParser.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void setDocumentHandler(DocumentHandler handler) {
}
 
Example #18
Source File: NoAccessParser.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void setDocumentHandler(DocumentHandler handler) {
}
 
Example #19
Source File: BaseMarkupSerializer.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #20
Source File: ResolvingParser.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #21
Source File: NoSubclassParser.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void setDocumentHandler(DocumentHandler handler) {
}
 
Example #22
Source File: DoNothingParser.java    From j2objc with Apache License 2.0 4 votes vote down vote up
public void setDocumentHandler(DocumentHandler handler) {
}
 
Example #23
Source File: ResolvingParser.java    From TencentKona-8 with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #24
Source File: ResolvingParser.java    From openjdk-8 with GNU General Public License v2.0 4 votes vote down vote up
/** SAX Parser API. */
public void setDocumentHandler(DocumentHandler handler) {
  documentHandler = handler;
}
 
Example #25
Source File: BaseMarkupSerializer.java    From jdk8u60 with GNU General Public License v2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #26
Source File: BaseMarkupSerializer.java    From jdk1.8-source-analysis with Apache License 2.0 4 votes vote down vote up
public DocumentHandler asDocumentHandler()
    throws IOException
{
    prepare();
    return this;
}
 
Example #27
Source File: XMLReaderAdapter.java    From openjdk-8-source with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Register the SAX1 document event handler.
 *
 * <p>Note that the SAX1 document handler has no Namespace
 * support.</p>
 *
 * @param handler The new SAX1 document event handler.
 * @see org.xml.sax.Parser#setDocumentHandler
 */
public void setDocumentHandler (DocumentHandler handler)
{
    documentHandler = handler;
}
 
Example #28
Source File: AbstractSAXParser.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Allow an application to register a document event handler.
 * <p>
 * If the application does not register a document handler, all
 * document events reported by the SAX parser will be silently
 * ignored (this is the default behaviour implemented by
 * HandlerBase).
 * <p>
 * Applications may register a new or different handler in the
 * middle of a parse, and the SAX parser must begin using the new
 * handler immediately.
 *
 * @param documentHandler The document handler.
 */
public void setDocumentHandler(DocumentHandler documentHandler) {
    fDocumentHandler = documentHandler;
}
 
Example #29
Source File: XMLReaderAdapter.java    From hottub with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Register the SAX1 document event handler.
 *
 * <p>Note that the SAX1 document handler has no Namespace
 * support.</p>
 *
 * @param handler The new SAX1 document event handler.
 * @see org.xml.sax.Parser#setDocumentHandler
 */
public void setDocumentHandler (DocumentHandler handler)
{
    documentHandler = handler;
}
 
Example #30
Source File: XMLReaderAdapter.java    From Java8CN with Apache License 2.0 2 votes vote down vote up
/**
 * Register the SAX1 document event handler.
 *
 * <p>Note that the SAX1 document handler has no Namespace
 * support.</p>
 *
 * @param handler The new SAX1 document event handler.
 * @see org.xml.sax.Parser#setDocumentHandler
 */
public void setDocumentHandler (DocumentHandler handler)
{
    documentHandler = handler;
}