|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.cyberneko.html.filters.DefaultFilter
org.cyberneko.html.filters.ElementRemover
org.apache.jetspeed.rewriter.html.neko.CallbackElementRemover
CallbackElementRemover
Extended version of the NekoHTML ElementRemover which provides tag stripping/removal based on Rewriter settings.
Field Summary | |
private Rewriter |
rewriter
|
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 | |
CallbackElementRemover(Rewriter rewriter)
|
Method Summary | |
void |
emptyElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes arg1,
org.apache.xerces.xni.Augmentations arg2)
emptyElement |
protected void |
processTag(String tag)
processTag |
void |
startElement(org.apache.xerces.xni.QName element,
org.apache.xerces.xni.XMLAttributes arg1,
org.apache.xerces.xni.Augmentations arg2)
startElement |
Methods inherited from class org.cyberneko.html.filters.ElementRemover |
acceptElement, characters, comment, elementAccepted, elementRemoved, endCDATA, endElement, endGeneralEntity, endPrefixMapping, handleOpenTag, ignorableWhitespace, processingInstruction, removeElement, startCDATA, startDocument, startDocument, 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 |
Field Detail |
private Rewriter rewriter
Constructor Detail |
public CallbackElementRemover(Rewriter rewriter)
Method Detail |
public void emptyElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes arg1, org.apache.xerces.xni.Augmentations arg2) throws org.apache.xerces.xni.XNIException
emptyElement
element
- arg1
- arg2
-
org.apache.xerces.xni.XNIException
XMLDocumentHandler.emptyElement(org.apache.xerces.xni.QName,
org.apache.xerces.xni.XMLAttributes,
org.apache.xerces.xni.Augmentations)
protected void processTag(String tag)
processTag
tag
- public void startElement(org.apache.xerces.xni.QName element, org.apache.xerces.xni.XMLAttributes arg1, org.apache.xerces.xni.Augmentations arg2) throws org.apache.xerces.xni.XNIException
startElement
element
- arg1
- arg2
-
org.apache.xerces.xni.XNIException
XMLDocumentHandler.startElement(org.apache.xerces.xni.QName,
org.apache.xerces.xni.XMLAttributes,
org.apache.xerces.xni.Augmentations)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |