public abstract class JaxRpcMappingNode extends Object
| Constructor and Description |
|---|
JaxRpcMappingNode() |
| Modifier and Type | Method and Description |
|---|---|
static Element |
appendChild(Node parent,
String elementName)
Append a new element child to the current node
|
static Node |
appendTextChild(Node parent,
String elementName,
int value)
Append a new text child
|
static Node |
appendTextChild(Node parent,
String elementName,
String text)
Append a new text child
|
protected void |
debug(String className,
String msg) |
static Node |
forceAppendTextChild(Node parent,
String elementName,
String text)
Append a new text child even if text is empty
|
protected static Document |
getOwnerDocument(Node node) |
static void |
setAttribute(Element parent,
String elementName,
String text)
Append a new attribute to an element
|
static void |
setAttributeNS(Element element,
String prefix,
String namespaceURI)
Set a namespace attribute on an element.
|
protected static Document getOwnerDocument(Node node)
public static Element appendChild(Node parent, String elementName)
Append a new element child to the current node
parent - is the parent node for the new child elementelementName - is new element tag namepublic static Node appendTextChild(Node parent, String elementName, String text)
Append a new text child
parent - for the new child elementelementName - is the new element tag nametext - the text for the new elementpublic static Node appendTextChild(Node parent, String elementName, int value)
Append a new text child
parent - for the new child elementelementName - is the new element tag namevalue - the int value for the new elementpublic static Node forceAppendTextChild(Node parent, String elementName, String text)
Append a new text child even if text is empty
parent - for the new child elementelementName - is the new element tag nametext - the text for the new elementpublic static void setAttribute(Element parent, String elementName, String text)
Append a new attribute to an element
parent - for the new child elementelementName - is the new element tag nametext - the text for the new elementpublic static void setAttributeNS(Element element, String prefix, String namespaceURI)
element - on which to set attributeprefix - raw prefix (without "xmlns:")namespaceURI - namespace URI to which prefix is mapped.Copyright © 2017–2019 Eclipse Foundation. All rights reserved.