java.lang.Object
org.cyberneko.html.filters.DefaultFilter
org.cyberneko.html.filters.ElementRemover
org.silverpeas.components.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
  • Field Summary

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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
  • Constructor Details

    • NekoElementRemover

      public NekoElementRemover()
  • Method Details

    • comment

      public void comment(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs)
      Specified by:
      comment in interface org.apache.xerces.xni.XMLDocumentHandler
      Overrides:
      comment in class org.cyberneko.html.filters.ElementRemover
    • ignorableWhitespace

      public void ignorableWhitespace(org.apache.xerces.xni.XMLString text, org.apache.xerces.xni.Augmentations augs)
      Specified by:
      ignorableWhitespace in interface org.apache.xerces.xni.XMLDocumentHandler
      Overrides:
      ignorableWhitespace in class org.cyberneko.html.filters.ElementRemover
    • 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)
      Specified by:
      processingInstruction in interface org.apache.xerces.xni.XMLDocumentHandler
      Overrides:
      processingInstruction in class org.cyberneko.html.filters.ElementRemover