protected class ContentConsistencyEngine.ContentExistsHandler extends DefaultHandler
Modifier and Type | Field and Description |
---|---|
protected boolean |
_hasContent
Has content tag?
|
protected boolean |
_hasFailures
True if the report has content with failures.
|
protected boolean |
_inContentsTag
In content tag?
|
Constructor and Description |
---|
ContentExistsHandler()
Create a handler.
|
Modifier and Type | Method and Description |
---|---|
void |
endElement(String uri,
String localName,
String qName) |
boolean |
hasContent()
Has content.
|
boolean |
hasFailures()
Has failures.
|
void |
startDocument() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
characters, endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning
protected boolean _inContentsTag
protected boolean _hasContent
protected boolean _hasFailures
public ContentExistsHandler()
public void startDocument() throws SAXException
startDocument
in interface ContentHandler
startDocument
in class DefaultHandler
SAXException
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public boolean hasContent()
public boolean hasFailures()