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