|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xml.sax.helpers.XMLFilterImpl
org.xwiki.portlet.view.HTMLURLAttributeXMLFilter
public class HTMLURLAttributeXMLFilter
An XML filter that rewrites some of the servlet URLs into portlet URLs. Only relative URLs are changed. The following components are affected:
href attributeaction attributesrc attributehref attribute when style sheets are imported
| Constructor Summary | |
|---|---|
HTMLURLAttributeXMLFilter(URLRewriter urlRewriter)
Creates a new HTML XML filter which rewrites servlet URLs into portlet URLs. |
|
| Method Summary | |
|---|---|
void |
startElement(String uri,
String localName,
String qName,
Attributes atts)
|
| Methods inherited from class org.xml.sax.helpers.XMLFilterImpl |
|---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HTMLURLAttributeXMLFilter(URLRewriter urlRewriter)
urlRewriter - the object used to rewrite URLs| Method Detail |
|---|
public void startElement(String uri,
String localName,
String qName,
Attributes atts)
throws SAXException
startElement in interface ContentHandlerstartElement in class org.xml.sax.helpers.XMLFilterImplSAXException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||