public void generateFirstDelimitersIfNeeded() throws SAXException { if (mustGenerateFirstDelimiters) { // Generate first delimiter beginDelimiterListener.generateFirstDelimiter(this); mustGenerateFirstDelimiters = false; } }
private void checkDelimiters(String uri, String qName, boolean topLevel) throws SAXException { if (topLevel && delimiterNamespaceURI == null) { delimiterNamespaceURI = uri; delimiterPrefix = XMLUtils.prefixFromQName(qName); delimiterLocalName = XMLUtils.localNameFromQName(qName); } if (mustGenerateFirstDelimiters) { // Generate first delimiter beginDelimiterListener.generateFirstDelimiter(this); mustGenerateFirstDelimiters = false; } }