| java.lang.Object net.sf.saxon.event.SequenceReceiver net.sf.saxon.event.ProxyReceiver net.sf.saxon.event.CommentStripper
CommentStripper | public class CommentStripper extends ProxyReceiver (Code) | | The CommentStripper class is a filter that removes all comments and processing instructions.
It also concatenates text nodes that are split by comments and PIs
author: Michael H. Kay |
Method Summary | |
public void | characters(CharSequence chars, int locationId, int properties) | public void | comment(CharSequence chars, int locationId, int properties) | public void | endElement() | public void | processingInstruction(String name, CharSequence data, int locationId, int properties) | public void | startElement(int nameCode, int typeCode, int locationId, int properties) |
CommentStripper | public CommentStripper()(Code) | | Default constructor for use in subclasses
|
characters | public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code) | | Callback interface for SAX: not for application use
|
comment | public void comment(CharSequence chars, int locationId, int properties)(Code) | | Remove comments
|
endElement | public void endElement() throws XPathException(Code) | | Callback interface for SAX: not for application use
|
processingInstruction | public void processingInstruction(String name, CharSequence data, int locationId, int properties)(Code) | | Remove processing instructions
|
startElement | public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code) | | |
Methods inherited from net.sf.saxon.event.ProxyReceiver | public void attribute(int nameCode, int typeCode, CharSequence value, int locationId, int properties) throws XPathException(Code)(Java Doc) public void characters(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void close() throws XPathException(Code)(Java Doc) public void comment(CharSequence chars, int locationId, int properties) throws XPathException(Code)(Java Doc) public void endDocument() throws XPathException(Code)(Java Doc) public void endElement() throws XPathException(Code)(Java Doc) public Configuration getConfiguration()(Code)(Java Doc) public LocationProvider getDocumentLocator()(Code)(Java Doc) public NamePool getNamePool()(Code)(Java Doc) public String getSystemId()(Code)(Java Doc) public Receiver getUnderlyingReceiver()(Code)(Java Doc) public void namespace(int namespaceCode, int properties) throws XPathException(Code)(Java Doc) public void open() throws XPathException(Code)(Java Doc) public void processingInstruction(String target, CharSequence data, int locationId, int properties) throws XPathException(Code)(Java Doc) public void setPipelineConfiguration(PipelineConfiguration config)(Code)(Java Doc) public void setSystemId(String systemId)(Code)(Java Doc) public void setUnderlyingReceiver(Receiver receiver)(Code)(Java Doc) public void setUnparsedEntity(String name, String uri, String publicId) throws XPathException(Code)(Java Doc) public void startContent() throws XPathException(Code)(Java Doc) public void startDocument(int properties) throws XPathException(Code)(Java Doc) public void startElement(int nameCode, int typeCode, int locationId, int properties) throws XPathException(Code)(Java Doc)
|
|
|