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, warningprotected boolean _inContentsTag
protected boolean _hasContent
protected boolean _hasFailures
public ContentExistsHandler()
public void startDocument() throws SAXException
startDocument in interface ContentHandlerstartDocument in class DefaultHandlerSAXExceptionpublic void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String localName, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionpublic boolean hasContent()
public boolean hasFailures()