/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
implements
protected boolean isCDATA;
public SAX2StAXBaseWriter() {
}
}
}
this.docLocator = locator;
}
if (docLocator != null) {
return new SAXLocation(docLocator);
} else {
return null;
}
}
reportException("ERROR", e);
}
reportException("FATAL", e);
}
reportException("WARNING", e);
}
}
namespaces = null;
}
namespaces = null;
}
throws SAXException {
namespaces = null;
}
throws SAXException {
prefix = "";
return;
}
if (namespaces == null) {
}
}
}
isCDATA = true;
if (CDATABuffer == null) {
CDATABuffer = new StringBuffer();
} else {
}
}
throws SAXException {
if (isCDATA) {
}
}
isCDATA = false;
}
}
}
}
throws SAXException {
}
}
/**
* Used to report a {@link SAXException}to the {@link XMLReporter}
* registered with this handler.
*/
throws SAXException {
try {
} catch (XMLStreamException e1) {
throw new SAXException(e1);
}
}
}
/**
* Parses an XML qualified name, and places the resulting prefix and local
* name in the provided String array.
*
* @param qName The qualified name to parse.
* @param results An array where parse results will be placed. The prefix
* will be placed at <code>results[0]</code>, and the local
* part at <code>results[1]</code>
*/
if (idx >= 0) {
} else {
prefix = "";
}
}
/**
* {@Link Location}implementation used to expose details from a SAX
* {@link Locator}.
*
* @author christian
*/
private int lineNumber;
private int columnNumber;
}
public int getLineNumber() {
return lineNumber;
}
public int getColumnNumber() {
return columnNumber;
}
public int getCharacterOffset() {
return -1;
}
return publicId;
}
return systemId;
}
}
}