public abstract class XmlFilterReader extends Reader
| Modifier | Constructor and Description |
|---|---|
protected |
XmlFilterReader(Reader reader,
UrlRewriteFilterContentDescriptor config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected abstract String |
filterAttribute(QName elementName,
QName attributeName,
String attributeValue,
String ruleName) |
protected abstract String |
filterText(QName elementName,
String text,
String ruleName) |
protected UrlRewriteFilterPathDescriptor |
pickFirstMatchingPath(org.apache.hadoop.gateway.filter.rewrite.impl.xml.XmlFilterReader.Level level) |
int |
read(char[] destBuffer,
int destOffset,
int destCount) |
protected XmlFilterReader(Reader reader, UrlRewriteFilterContentDescriptor config) throws IOException, XMLStreamException
IOExceptionXMLStreamExceptionprotected abstract String filterAttribute(QName elementName, QName attributeName, String attributeValue, String ruleName)
public int read(char[] destBuffer,
int destOffset,
int destCount)
throws IOException
read in class ReaderIOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOExceptionprotected UrlRewriteFilterPathDescriptor pickFirstMatchingPath(org.apache.hadoop.gateway.filter.rewrite.impl.xml.XmlFilterReader.Level level)
Copyright © 2015 Apache Software Foundation. All rights reserved.