public class XMLDocument extends Object
| Constructor and Description |
|---|
XMLDocument(Result result,
boolean omitXMLDeclaration,
int indentAmount,
String encoding) |
XMLDocument(SAXDelegate xml) |
public XMLDocument(SAXDelegate xml)
public XMLDocument(Result result, boolean omitXMLDeclaration, int indentAmount, String encoding) throws TransformerConfigurationException
public XMLDocument startDocument() throws SAXException
SAXExceptionpublic XMLDocument endDocument() throws SAXException
SAXExceptionpublic MyNamespaceSupport getNamespaceSupport()
public int getDepth()
public int mark()
throws SAXException
SAXExceptionpublic int release()
throws SAXException
SAXExceptionpublic void release(int mark)
throws SAXException
SAXExceptionpublic XMLDocument startElement(String name) throws SAXException
SAXExceptionpublic XMLDocument startElement(String uri, String name) throws SAXException
SAXExceptionpublic XMLDocument addElement(String name, String text, boolean cdata) throws SAXException
SAXExceptionpublic XMLDocument addElement(String uri, String name, String text, boolean cdata) throws SAXException
SAXExceptionpublic XMLDocument addElement(String name, String text) throws SAXException
SAXExceptionpublic XMLDocument addElement(String uri, String name, String text) throws SAXException
SAXExceptionpublic XMLDocument addCDATAElement(String name, String text) throws SAXException
SAXExceptionpublic XMLDocument addCDATAElement(String uri, String name, String text) throws SAXException
SAXExceptionpublic XMLDocument addAttribute(String name, String value) throws SAXException
SAXExceptionpublic XMLDocument addAttribute(String uri, String name, String value) throws SAXException
SAXExceptionpublic XMLDocument addText(String text) throws SAXException
SAXExceptionpublic XMLDocument addCDATA(String text) throws SAXException
SAXExceptionpublic XMLDocument endElement(String uri, String name) throws SAXException
SAXExceptionpublic XMLDocument endElement(String name) throws SAXException
SAXExceptionpublic XMLDocument endElement() throws SAXException
SAXExceptionpublic XMLDocument endElements(String uri, String name) throws SAXException
SAXExceptionpublic XMLDocument endElements(String name) throws SAXException
SAXExceptionpublic XMLDocument endElements() throws SAXException
SAXExceptionpublic void warning(String msg, Exception ex) throws SAXException
SAXExceptionpublic void error(String msg, Exception ex) throws SAXException
SAXExceptionpublic void fatalError(String msg, Exception ex) throws SAXException
SAXExceptionpublic XMLDocument addXML(String xmlString, boolean excludeRoot) throws SAXException
SAXExceptionpublic XMLDocument addXML(InputSource is, boolean excludeRoot) throws SAXException
SAXExceptionpublic XMLDocument addProcessingInstruction(String target, String data) throws SAXException
SAXExceptionpublic XMLDocument addComment(String text) throws SAXException
SAXExceptionpublic XMLDocument add(SAXProducer saxProducer) throws SAXException
SAXExceptionpublic XMLDocument add(SAXProducer saxProducer, String name) throws SAXException
SAXExceptionpublic XMLDocument add(SAXProducer saxProducer, String uri, String name) throws SAXException
SAXExceptionpublic XMLDocument add(SAXProducer saxProducer, QName qname) throws SAXException
SAXExceptionpublic XMLDocument addPublicDTD(String name, String publicId, String systemID) throws SAXException
SAXExceptionpublic XMLDocument addSystemDTD(String name, String systemId) throws SAXException
SAXExceptionCopyright © 2019. All rights reserved.