public final class PSCommentHandler extends org.xml.sax.helpers.DefaultHandler
Constructor and Description |
---|
PSCommentHandler()
Create a new handler for comments.
|
PSCommentHandler(PSComment comment)
Create a new handler for document belong to a specific group.
|
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
PSComment |
getComment() |
List<PSComment> |
listComments() |
void |
startElement(String uri,
String localName,
String qName,
Attributes atts) |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
public PSCommentHandler()
public PSCommentHandler(PSComment comment)
comment
- A comment to update.public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException
startElement
in interface ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
SAXException
public void characters(char[] ch, int start, int length) throws SAXException
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
SAXException
public PSComment getComment()
Copyright © 2016 Allette Systems. All rights reserved.