Code example for ContentHandler

Methods: endPrefixMapping

0
	throws SAXException 
    { 
	final Stack uriStack = (Stack) _nsPrefixes.get(prefix);
 
	if (uriStack != null) {
	    _sax.endPrefixMapping(prefix);
	    uriStack.pop();
	} 
    } 
 
    /** 
     * If the DOM was created using a DOM 1.0 API, the local name may be  
     * null. If so, get the local name from the qualified name before  
     * generating the SAX event.  
     */ 
    private static String getLocalName(Node node) {
	final String localName = node.getLocalName();
 
	if (localName == null) {
	    final String qname = node.getNodeName();
Contextual code suggestions in your IDE  Get Codota for Java