com.silverpeas.mailinglist.service.util.neko
Class NekoElementRemover
java.lang.Object
org.cyberneko.html.filters.DefaultFilter
org.cyberneko.html.filters.ElementRemover
com.silverpeas.mailinglist.service.util.neko.NekoElementRemover
- All Implemented Interfaces:
- org.apache.xerces.xni.parser.XMLComponent, org.apache.xerces.xni.parser.XMLDocumentFilter, org.apache.xerces.xni.parser.XMLDocumentSource, org.apache.xerces.xni.XMLDocumentHandler, org.cyberneko.html.HTMLComponent
public class NekoElementRemover
- extends org.cyberneko.html.filters.ElementRemover
Fields inherited from class org.cyberneko.html.filters.ElementRemover |
fAcceptedElements, fElementDepth, fRemovalElementDepth, fRemovedElements, NULL |
Fields inherited from class org.cyberneko.html.filters.DefaultFilter |
fDocumentHandler, fDocumentSource |
Method Summary |
void |
comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
|
void |
endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs)
End element. |
void |
ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
|
void |
processingInstruction(String target,
org.apache.xerces.xni.XMLString data,
org.apache.xerces.xni.Augmentations augs)
|
Methods inherited from class org.cyberneko.html.filters.ElementRemover |
acceptElement, characters, elementAccepted, elementRemoved, emptyElement, endCDATA, endGeneralEntity, endPrefixMapping, handleOpenTag, removeElement, startCDATA, startDocument, startDocument, startElement, startGeneralEntity, startPrefixMapping, textDecl |
Methods inherited from class org.cyberneko.html.filters.DefaultFilter |
doctypeDecl, endDocument, getDocumentHandler, getDocumentSource, getFeatureDefault, getPropertyDefault, getRecognizedFeatures, getRecognizedProperties, merge, reset, setDocumentHandler, setDocumentSource, setFeature, setProperty, xmlDecl |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NekoElementRemover
public NekoElementRemover()
comment
public void comment(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
- Specified by:
comment
in interface org.apache.xerces.xni.XMLDocumentHandler
- Overrides:
comment
in class org.cyberneko.html.filters.ElementRemover
- Throws:
org.apache.xerces.xni.XNIException
ignorableWhitespace
public void ignorableWhitespace(org.apache.xerces.xni.XMLString text,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
- Specified by:
ignorableWhitespace
in interface org.apache.xerces.xni.XMLDocumentHandler
- Overrides:
ignorableWhitespace
in class org.cyberneko.html.filters.ElementRemover
- Throws:
org.apache.xerces.xni.XNIException
endElement
public void endElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
- End element.
- Specified by:
endElement
in interface org.apache.xerces.xni.XMLDocumentHandler
- Overrides:
endElement
in class org.cyberneko.html.filters.ElementRemover
- Throws:
org.apache.xerces.xni.XNIException
processingInstruction
public void processingInstruction(String target,
org.apache.xerces.xni.XMLString data,
org.apache.xerces.xni.Augmentations augs)
throws org.apache.xerces.xni.XNIException
- Specified by:
processingInstruction
in interface org.apache.xerces.xni.XMLDocumentHandler
- Overrides:
processingInstruction
in class org.cyberneko.html.filters.ElementRemover
- Throws:
org.apache.xerces.xni.XNIException
Copyright © 2016 Silverpeas. All Rights Reserved.