/** * @see org.xml.sax.ContentHandler#endPrefixMapping(java.lang.String) */ public void endPrefixMapping(String prefix) throws SAXException { // System.out.println("SaxDeserializer_impl::endPrefixMapping"); mTransformerHandler.endPrefixMapping(prefix); }
@Override public void endPrefixMapping(String prefix) throws SAXException { this.handler.endPrefixMapping(prefix); }
@Override public void endPrefixMapping(String prefix) throws SAXException { this.traxHandler.endPrefixMapping(prefix); }
public void endPrefixMapping(String prefix) throws SAXException { handler.endPrefixMapping(prefix); }
/** {@inheritDoc} */ public void endPrefixMapping(String string) throws SAXException { transformerHandler.endPrefixMapping(string); }
public void endPrefixMapping(String prefix) throws SAXException { handler.endPrefixMapping(prefix); }
public void endPrefixMapping(String prefix) throws SAXException { handler.endPrefixMapping(prefix); }
/** * End the scope of a prefix-URI mapping. */ public void endPrefixMapping(String prefix) throws SAXException { super.contentHandler.endPrefixMapping(prefix); this.serializer.endPrefixMapping(prefix); }
public void endPrefixMapping(String s) throws SAXException { if (!s.equals("wikbook")) { delegate.endPrefixMapping(s); } }
private void endPrefixMappings() throws SAXException{ Enumeration enumer = nsSupport.getDeclaredPrefixes(); while(enumer.hasMoreElements()) xml.endPrefixMapping((String)enumer.nextElement()); }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
public void endPrefixMapping(String prefix) throws SAXException { if (_inHead) { _head.endPrefixMapping(prefix); } else if (_inDocument) { _handler.endPrefixMapping(prefix); } else { _needNSScopePop = true; } }
/** * {@link ContentHandler} implementation. */ public void endPrefixMapping(String prefix) throws SAXException { initContentHandler(); contentHandler.endPrefixMapping(prefix); }
private void writeHeader(TransformerHandler handler) throws SAXException { handler.startPrefixMapping("xsi", "http://www.w3.org/2001/XMLSchema-instance"); handler.endPrefixMapping("xsi"); AttributesImpl attr = new AttributesImpl(); attr.addAttribute( "", "", "xsi:schemaLocation", "CDATA", "http://graphml.graphdrawing.org/xmlns http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd"); handler.startElement("http://graphml.graphdrawing.org/xmlns", "", "graphml", attr); }
/** * Write end element. * * @throws SAXException if processing the event failed */ public void writeEndElement() throws SAXException { processStartElement(); final QName qName = elementStack.remove(); // pop transformer.endElement(qName.uri, qName.localName, qName.qName); for (final NamespaceMapping p: qName.mappings) { if (p.newMapping) { transformer.endPrefixMapping(p.prefix); } } }
/** * Writes the root end tag to the result. * * @throws SAXException */ protected void writeEndDocument() { try { if (indent) { handler.ignorableWhitespace("\n".toCharArray(), 0, 1); } handler.endElement(Constants.MARCXML_NS_URI, COLLECTION, Constants.MARCXML_NS_PREFIX + ":" + COLLECTION); handler.endPrefixMapping(Constants.MARCXML_NS_URI); handler.endDocument(); } catch (final SAXException e) { throw new MarcException("SAX error occured while writing end document", e); } }