public final class SAXTarget
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SAXTarget.SAXLocator
A locator specific to the SAXOutputter process.
|
Constructor and Description |
---|
SAXTarget(org.xml.sax.ContentHandler contentHandler,
org.xml.sax.ErrorHandler errorHandler,
org.xml.sax.DTDHandler dtdHandler,
org.xml.sax.EntityResolver entityResolver,
org.xml.sax.ext.LexicalHandler lexicalHandler,
org.xml.sax.ext.DeclHandler declHandler,
boolean declareNamespaces,
boolean reportDtdEvents,
java.lang.String publicID,
java.lang.String systemID)
Create the collection of handlers for a SAXOutputProcessor
|
Modifier and Type | Method and Description |
---|---|
org.xml.sax.ContentHandler |
getContentHandler() |
org.xml.sax.ext.DeclHandler |
getDeclHandler() |
org.xml.sax.DTDHandler |
getDTDHandler() |
org.xml.sax.EntityResolver |
getEntityResolver() |
org.xml.sax.ErrorHandler |
getErrorHandler() |
org.xml.sax.ext.LexicalHandler |
getLexicalHandler() |
SAXTarget.SAXLocator |
getLocator() |
boolean |
isDeclareNamespaces() |
boolean |
isReportDTDEvents() |
public SAXTarget(org.xml.sax.ContentHandler contentHandler, org.xml.sax.ErrorHandler errorHandler, org.xml.sax.DTDHandler dtdHandler, org.xml.sax.EntityResolver entityResolver, org.xml.sax.ext.LexicalHandler lexicalHandler, org.xml.sax.ext.DeclHandler declHandler, boolean declareNamespaces, boolean reportDtdEvents, java.lang.String publicID, java.lang.String systemID)
contentHandler
- The ContentHandlererrorHandler
- The ErrorHandlerdtdHandler
- The DTDHandlerentityResolver
- The EntityResolverlexicalHandler
- The LexicalHandlerdeclHandler
- The DeclHandlerdeclareNamespaces
- Whether to declare NamespacesreportDtdEvents
- Whether to report DTD EventspublicID
- The public ID (null if none)systemID
- The System ID (null if none)public org.xml.sax.ContentHandler getContentHandler()
public org.xml.sax.ErrorHandler getErrorHandler()
public org.xml.sax.DTDHandler getDTDHandler()
public org.xml.sax.EntityResolver getEntityResolver()
public org.xml.sax.ext.LexicalHandler getLexicalHandler()
public org.xml.sax.ext.DeclHandler getDeclHandler()
public boolean isDeclareNamespaces()
public boolean isReportDTDEvents()
public SAXTarget.SAXLocator getLocator()
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.