Package com.adobe.epubcheck.nav
Class NavHandler
- java.lang.Object
-
- org.xml.sax.helpers.DefaultHandler
-
- org.xml.sax.ext.DefaultHandler2
-
- All Implemented Interfaces:
org.xml.sax.ContentHandler,org.xml.sax.DTDHandler,org.xml.sax.EntityResolver,org.xml.sax.ErrorHandler,org.xml.sax.ext.DeclHandler,org.xml.sax.ext.EntityResolver2,org.xml.sax.ext.LexicalHandler
public class NavHandler extends OPSHandler30
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static classNavHandler.NavType
-
Field Summary
Fields Modifier and Type Field Description private NavHandler.NavTypecurrentNavTypeprivate booleanisNavTypes-
Fields inherited from class com.adobe.epubcheck.ops.OPSHandler30
anchorNeedsText, hasAltorAnnotation, hasLabel, hasListItem, hasViewport, inBody, inMathML, inPicture, inRegionBasedNav, inSvg, isOutermostSVGAlreadyProcessed, mouseEvents, mouseEventsStrings, scriptEvents, scriptEventsStrings
-
Fields inherited from class com.adobe.epubcheck.ops.OPSHandler
charsCount, elementLocationStack, epubTypeInUse, hasCaption, hasCSS, hasTh, hasThead, openElements, tableDepth, textNode
-
Fields inherited from class com.adobe.epubcheck.xml.handlers.XMLHandler
context, path, report
-
-
Constructor Summary
Constructors Constructor Description NavHandler(ValidationContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckType(java.lang.String type)protected voidcheckTypes(java.util.Set<StructureVocab.EPUB_TYPES> types)voidendElement()voidstartElement()-
Methods inherited from class com.adobe.epubcheck.ops.OPSHandler30
characters, checkDiscouragedElements, checkHead, checkIFrame, checkImage, checkLink, checkMimetypeMatches, checkObject, checkOverlaysStyles, checkProperties, checkResourceURL, checkScript, checkSSMLPh, checkSVGFontFaceURI, endMediaElement, endObject, getMouseEvents, getScriptEvents, isPalpable, processAnchor, processFigure, processHyperlink, processInlineScripts, processJavascript, processLink, processMeta, processSVG, processTable, processVideo, registerMediaResource, startMediaElement, startMediaSource
-
Methods inherited from class com.adobe.epubcheck.ops.OPSHandler
checkBoldItalics, checkDependentCondition, checkSymbol, checkXMLStylesheetPI, processingInstruction
-
Methods inherited from class com.adobe.epubcheck.xml.handlers.XMLHandler
currentElement, endElement, registerReference, registerReference, setDocumentLocator, startElement
-
Methods inherited from class com.adobe.epubcheck.xml.handlers.BaseURLHandler
baseURL, checkURL
-
Methods inherited from class com.adobe.epubcheck.xml.handlers.LocationHandler
location, location
-
Methods inherited from class org.xml.sax.ext.DefaultHandler2
attributeDecl, comment, elementDecl, endCDATA, endDTD, endEntity, externalEntityDecl, getExternalSubset, internalEntityDecl, resolveEntity, resolveEntity, startCDATA, startDTD, startEntity
-
-
-
-
Field Detail
-
currentNavType
private NavHandler.NavType currentNavType
-
isNavTypes
private boolean isNavTypes
-
-
Constructor Detail
-
NavHandler
NavHandler(ValidationContext context)
-
-
Method Detail
-
startElement
public void startElement()
- Overrides:
startElementin classOPSHandler30
-
endElement
public void endElement()
- Overrides:
endElementin classOPSHandler30
-
checkType
protected void checkType(java.lang.String type)
- Overrides:
checkTypein classOPSHandler30
-
checkTypes
protected void checkTypes(java.util.Set<StructureVocab.EPUB_TYPES> types)
- Overrides:
checkTypesin classOPSHandler30
-
-