public class NamespaceFilter extends ContentProxy
Modifier and Type | Field and Description |
---|---|
protected String |
localname |
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> |
msg |
protected String |
prefix |
protected Map<String,String> |
prefix2prefix |
protected Map<String,String> |
prefix2uri |
protected String |
qname |
protected Map<String,String> |
uri2prefix |
out
Constructor and Description |
---|
NamespaceFilter(ContentHandler out,
MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkMapping(String uri,
String qname) |
void |
endElement(String uri,
String localName,
String qName) |
void |
endPrefixMapping(String prefix) |
protected void |
split(String qn)
Taken from bt, NamespaceName
|
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
protected void |
startMapping(String uri,
String prefix) |
void |
startPrefixMapping(String prefix,
String uri) |
characters, endDocument, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument
protected MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg
protected String qname
protected String prefix
protected String localname
public NamespaceFilter(ContentHandler out, MessageReceiver<SimpleMessage<XMLDocumentIdentifier>> msg)
protected void split(String qn)
public void endElement(String uri, String localName, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class ContentProxy
SAXException
public void endPrefixMapping(String prefix) throws SAXException
endPrefixMapping
in interface ContentHandler
endPrefixMapping
in class ContentProxy
SAXException
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class ContentProxy
SAXException
public void startPrefixMapping(String prefix, String uri) throws SAXException
startPrefixMapping
in interface ContentHandler
startPrefixMapping
in class ContentProxy
SAXException
see also the complete user documentation .