public class XSLTUtils
extends java.lang.Object
| Constructor and Description |
|---|
XSLTUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
addAttribute(org.w3c.dom.Document document,
java.lang.String AttribName,
java.lang.String attribValue,
org.w3c.dom.Element element)
Utility method to add an attribute to a given element
|
static org.w3c.dom.Element |
addChildElement(org.w3c.dom.Document document,
java.lang.String elementName,
org.w3c.dom.Node parentNode)
Utility method to add an attribute to a given element
|
static org.w3c.dom.Document |
getDocument() |
static org.w3c.dom.Element |
getElement(org.w3c.dom.Document document,
java.lang.String elementName) |
public static org.w3c.dom.Document getDocument()
throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationExceptionpublic static void addAttribute(org.w3c.dom.Document document,
java.lang.String AttribName,
java.lang.String attribValue,
org.w3c.dom.Element element)
document - AttribName - attribValue - element - public static org.w3c.dom.Element getElement(org.w3c.dom.Document document,
java.lang.String elementName)
public static org.w3c.dom.Element addChildElement(org.w3c.dom.Document document,
java.lang.String elementName,
org.w3c.dom.Node parentNode)
document - elementName - parentNode - Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.