Package com.adobe.epubcheck.ops
Class OPSHandler
- All Implemented Interfaces:
ContentHandler,DTDHandler,EntityResolver,ErrorHandler,DeclHandler,EntityResolver2,LexicalHandler
- Direct Known Subclasses:
OPSHandler30
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected longprotected Stack<EPUBLocation> protected booleanprotected booleanprotected booleanprotected booleanprotected booleanprotected longprotected intprotected StringBuilderFields inherited from class com.adobe.epubcheck.xml.handlers.XMLHandler
context, path, report -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] chars, int start, int length) protected voidprotected voidcheckDependentCondition(MessageId id, boolean condition1, boolean condition2, EPUBLocation location) private voidprotected voidprotected voidcheckImage(String attrNS, String attr) protected voidprotected voidprivate voidcheckPaint(String attr) protected voidprotected io.mola.galimatias.URLprotected voidprotected voidcheckXMLStylesheetPI(String data) voidprotected voidprocessHyperlink(io.mola.galimatias.URL href) voidprocessingInstruction(String target, String data) protected voidvoidMethods inherited from class com.adobe.epubcheck.xml.handlers.XMLHandler
currentElement, endElement, registerReference, registerReference, setDocumentLocator, startElementMethods inherited from class com.adobe.epubcheck.xml.handlers.BaseURLHandler
baseURL, checkURLMethods inherited from class com.adobe.epubcheck.xml.handlers.LocationHandler
location, locationMethods inherited from class org.xml.sax.ext.DefaultHandler2
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntityMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
openElements
protected long openElements -
charsCount
protected long charsCount -
tableDepth
protected int tableDepth -
hasTh
protected boolean hasTh -
hasThead
protected boolean hasThead -
hasCaption
protected boolean hasCaption -
hasCSS
protected boolean hasCSS -
epubTypeInUse
protected boolean epubTypeInUse -
textNode
-
elementLocationStack
-
-
Constructor Details
-
OPSHandler
-
-
Method Details
-
checkPaint
-
checkImage
-
checkObject
protected void checkObject() -
checkLink
protected void checkLink() -
checkSymbol
protected void checkSymbol() -
checkHRef
-
checkSVGFontFaceURI
protected io.mola.galimatias.URL checkSVGFontFaceURI() -
processHyperlink
protected void processHyperlink(io.mola.galimatias.URL href) -
startElement
public void startElement()- Overrides:
startElementin classXMLHandler
-
checkBoldItalics
protected void checkBoldItalics() -
checkIFrame
protected void checkIFrame() -
checkScript
protected void checkScript() -
processJavascript
protected void processJavascript() -
endElement
public void endElement()- Overrides:
endElementin classXMLHandler
-
checkDependentCondition
protected void checkDependentCondition(MessageId id, boolean condition1, boolean condition2, EPUBLocation location) -
characters
public void characters(char[] chars, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classDefaultHandler
-
processingInstruction
- Specified by:
processingInstructionin interfaceContentHandler- Overrides:
processingInstructionin classDefaultHandler- Throws:
SAXException
-
checkXMLStylesheetPI
-