| java.lang.Object org.objectweb.celtix.helpers.XMLUtils
XMLUtils | public class XMLUtils (Code) | | |
Method Summary | |
public Element | createElementNS(Node node, QName name) | public Element | createElementNS(Document root, QName name) | public Element | createElementNS(Document root, String namespaceURI, String qualifiedName) | public Text | createTextNode(Document root, String data) | public Text | createTextNode(Node node, String data) | public void | generateXMLFile(Element element, Writer writer) | public Attr | getAttribute(Element el, String attrName) | public QName | getNamespace(Map namespaces, String str, String defaultNamespace) | public boolean | hasAttribute(Element element, String value) | public Document | newDocument() | public Document | parse(InputStream in) | public Document | parse(String in) | public Document | parse(byte[] in) | public static void | printAttributes(Element element) | public void | printDOM(Node node) | public void | printDOM(String words, Node node) | public void | removeContents(Node node) | public void | replaceAttribute(Element element, String attr, String value) | public void | setCharsetEncoding(String value) | public void | setIndention(int i) | public void | setOmitXmlDecl(String value) | public String | toString(Node node) | public String | writeQName(Definition def, QName qname) | public void | writeTo(Node node, OutputStream os) |
XMLUtils | public XMLUtils()(Code) | | |
printAttributes | public static void printAttributes(Element element)(Code) | | |
removeContents | public void removeContents(Node node)(Code) | | |
setCharsetEncoding | public void setCharsetEncoding(String value)(Code) | | |
setIndention | public void setIndention(int i)(Code) | | |
setOmitXmlDecl | public void setOmitXmlDecl(String value)(Code) | | |
|
|