XMLReader filter for supporting
http://xml.org/sax/features/namespace-prefixes feature.
| Modifier and Type | Field and Description |
|---|---|
| private final AttributesImpl | |
| private int | |
| private static final String | |
| private boolean | namespacePrefixes
True if |
| private String[] | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getFeature(String name)
Overrides org. Implements org. Look up the value of a feature. |
| public void | setFeature(String name, boolean value)
Overrides org. Implements org. Set the value of a feature. |
| public void | startElement(String uri, String localName, String qName, Attributes atts)
Overrides org. Implements org. Filter a start element event. |
| public void | startPrefixMapping(String prefix, String uri)
Overrides org. Implements org. Filter a start Namespace prefix mapping event. |
| atts | back to summary |
|---|---|
| private final AttributesImpl atts | |
| len | back to summary |
|---|---|
| private int len | |
| NAMESPACE_FEATURE | back to summary |
|---|---|
| private static final String NAMESPACE_FEATURE | |
| namespacePrefixes | back to summary |
|---|---|
| private boolean namespacePrefixes True if | |
| nsBinding | back to summary |
|---|---|
| private String[] nsBinding | |
| PREFIX_FEATURE | back to summary |
|---|---|
| private static final String PREFIX_FEATURE | |
| ContentHandlerNamespacePrefixAdapter | back to summary |
|---|---|
| public ContentHandlerNamespacePrefixAdapter() | |
| ContentHandlerNamespacePrefixAdapter | back to summary |
|---|---|
| public ContentHandlerNamespacePrefixAdapter(XMLReader parent) | |
| getFeature | back to summary |
|---|---|
| public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException Overrides org. Implements org. Doc from org. Look up the value of a feature. This will always fail if the parent is null.
| |
| setFeature | back to summary |
|---|---|
| public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException Overrides org. Implements org. Doc from org. Set the value of a feature. This will always fail if the parent is null.
| |
| startElement | back to summary |
|---|---|
| public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException Overrides org. Implements org. Doc from org. Filter a start element event.
| |
| startPrefixMapping | back to summary |
|---|---|
| public void startPrefixMapping(String prefix, String uri) throws SAXException Overrides org. Implements org. Doc from org. Filter a start Namespace prefix mapping event.
| |