Package org.jdom.output.support
Class SAXTarget
- java.lang.Object
-
- org.jdom.output.support.SAXTarget
-
public final class SAXTarget extends Object
The target for all SAX notifications in this OuputProcessor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSAXTarget.SAXLocatorA locator specific to the SAXOutputter process.
-
Constructor Summary
Constructors Constructor Description SAXTarget(ContentHandler contentHandler, ErrorHandler errorHandler, DTDHandler dtdHandler, EntityResolver entityResolver, LexicalHandler lexicalHandler, DeclHandler declHandler, boolean declareNamespaces, boolean reportDtdEvents, String publicID, String systemID)Create the collection of handlers for a SAXOutputProcessor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentHandlergetContentHandler()DeclHandlergetDeclHandler()DTDHandlergetDTDHandler()EntityResolvergetEntityResolver()ErrorHandlergetErrorHandler()LexicalHandlergetLexicalHandler()SAXTarget.SAXLocatorgetLocator()booleanisDeclareNamespaces()booleanisReportDTDEvents()
-
-
-
Constructor Detail
-
SAXTarget
public SAXTarget(ContentHandler contentHandler, ErrorHandler errorHandler, DTDHandler dtdHandler, EntityResolver entityResolver, LexicalHandler lexicalHandler, DeclHandler declHandler, boolean declareNamespaces, boolean reportDtdEvents, String publicID, String systemID)
Create the collection of handlers for a SAXOutputProcessor- Parameters:
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)
-
-
Method Detail
-
getContentHandler
public ContentHandler getContentHandler()
- Returns:
- The target ContentHandler
-
getErrorHandler
public ErrorHandler getErrorHandler()
- Returns:
- The target ErrorHandler
-
getDTDHandler
public DTDHandler getDTDHandler()
- Returns:
- The target DTDHandler
-
getEntityResolver
public EntityResolver getEntityResolver()
- Returns:
- The target EntityResolver
-
getLexicalHandler
public LexicalHandler getLexicalHandler()
- Returns:
- The target LexicalHandler
-
getDeclHandler
public DeclHandler getDeclHandler()
- Returns:
- The target DeclHandler
-
isDeclareNamespaces
public boolean isDeclareNamespaces()
- Returns:
- Whether to declare Namespaces
-
isReportDTDEvents
public boolean isReportDTDEvents()
- Returns:
- Whether to report DTD Events
-
getLocator
public SAXTarget.SAXLocator getLocator()
- Returns:
- the Locator used for this Output
-
-