Methods Summary |
---|
public void | characters(char[] p1, int p2, int p3)
if (log.isDebugEnabled()) {
log.debug("SAXOutputter.characters ['" + new String(p1, p2, p3) + "']");
}
try {
if(!isCDATA) {
context.writeChars(p1, p2, p3);
} else {
context.writeString(new String(p1, p2, p3));
}
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | comment(char[] ch, int start, int length)
if (log.isDebugEnabled()) {
log.debug("SAXOutputter.comment ['" + new String(ch, start, length) + "']");
}
try {
context.writeString("<!--");
context.writeChars(ch, start, length);
context.writeString("-->");
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | endCDATA()
try {
isCDATA = false;
context.writeString("]]>");
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | endDTD()
|
public void | endDocument()
if (log.isDebugEnabled()) {
log.debug("SAXOutputter.endDocument");
}
|
public void | endElement(java.lang.String namespace, java.lang.String localName, java.lang.String qName)
if (log.isDebugEnabled()) {
log.debug("SAXOutputter.endElement ['" + namespace + "' " +
localName + "]");
}
try {
context.endElement();
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | endEntity(java.lang.String name)
|
public void | endPrefixMapping(java.lang.String p1)
// !!!
|
public void | ignorableWhitespace(char[] p1, int p2, int p3)
try {
context.writeChars(p1, p2, p3);
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | skippedEntity(java.lang.String p1)
|
public void | startCDATA()
try {
isCDATA = true;
context.writeString("<![CDATA[");
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | startDTD(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
|
public void | startDocument()
context.setSendDecl(true);
|
public void | startElement(java.lang.String namespace, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
if (log.isDebugEnabled()) {
log.debug("SAXOutputter.startElement ['" + namespace + "' " +
localName + "]");
}
try {
context.startElement(new QName(namespace,localName), attributes);
} catch (IOException e) {
throw new SAXException(e);
}
|
public void | startEntity(java.lang.String name)
|
public void | startPrefixMapping(java.lang.String p1, java.lang.String p2)
context.registerPrefixForURI(p1,p2);
|