|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Optional add-on SAX2 handler for Namespace declarations. This handler type is optional: not all SAX parsers will support it. To set the NamespaceHandler for a parser, use Configurable.setProperty with the propertyId "http://xml.org/sax/handlers/NamespaceHandler".
Configurable
Method Summary | |
void |
endNamespaceDeclScope(java.lang.String prefix)
Report the end of the scope of a namespace declaration. |
void |
startNamespaceDeclScope(java.lang.String prefix,
java.lang.String uri)
Report the start of the scope of a namespace declaration. |
Method Detail |
public void startNamespaceDeclScope(java.lang.String prefix, java.lang.String uri) throws SAXException
prefix
- The declared prefix ("" for the default prefix).uri
- The associated namespace URI ("" to cancel the
scope for a subbranch).
SAXException
- The application may throw an exception.endNamespaceDeclScope(java.lang.String)
,
DocumentHandler.startElement(java.lang.String, org.xml.sax.AttributeList)
public void endNamespaceDeclScope(java.lang.String prefix) throws SAXException
prefix
- The declared prefix ("" for the default prefix).
SAXException
- The application may throw an exception.startNamespaceDeclScope(java.lang.String, java.lang.String)
,
DocumentHandler.endElement(java.lang.String)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |