Class PreprocessingDefaultHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
com.adobe.epubcheck.xml.handlers.WrappingDefaultHandler
com.adobe.epubcheck.xml.handlers.PreprocessingDefaultHandler
- All Implemented Interfaces:
ContentHandler, DTDHandler, EntityResolver, ErrorHandler
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPreprocessingDefaultHandler(DefaultHandler handler, ValidationContext context) -
Method Summary
Modifier and TypeMethodDescriptionprivate static StringfindReservedStringInHTMLCustomNamespace(String namespace) private AttributespreprocessAttributes(String elemNamespace, Attributes atts) private StringpreprocessNamespace(String uri, String localName) voidsetDocumentLocator(Locator locator) voidstartElement(String uri, String localName, String qName, Attributes attributes) Methods inherited from class WrappingDefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ContentHandler
declaration
-
Field Details
-
context
-
locator
-
-
Constructor Details
-
PreprocessingDefaultHandler
-
-
Method Details
-
findReservedStringInHTMLCustomNamespace
-
setDocumentLocator
- Specified by:
setDocumentLocatorin interfaceContentHandler- Overrides:
setDocumentLocatorin classWrappingDefaultHandler
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classWrappingDefaultHandler- Throws:
SAXException
-
preprocessNamespace
-
preprocessAttributes
-