Class JaxRpcMappingNode
java.lang.Object
com.sun.xml.rpc.processor.generator.nodes.JaxRpcMappingNode
- Direct Known Subclasses:
ExceptionMappingNode,JavaWsdlMappingNode,JavaXmlTypeMappingNode,PackageMappingNode,ServiceEndpointInterfaceMappingNode,ServiceInterfaceMappingNode
- Version:
- 1.1.5
- Author:
- Qingqing Ouyang
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ElementappendChild(Node parent, String elementName) Append a new element child to the current nodestatic NodeappendTextChild(Node parent, String elementName, int value) Append a new text childstatic NodeappendTextChild(Node parent, String elementName, String text) Append a new text childprotected voidstatic NodeforceAppendTextChild(Node parent, String elementName, String text) Append a new text child even if text is emptyprotected static DocumentgetOwnerDocument(Node node) static voidsetAttribute(Element parent, String elementName, String text) Append a new attribute to an elementstatic voidsetAttributeNS(Element element, String prefix, String namespaceURI) Set a namespace attribute on an element.
-
Constructor Details
-
JaxRpcMappingNode
public JaxRpcMappingNode()
-
-
Method Details
-
getOwnerDocument
- Returns:
- the Document for the given node
-
appendChild
Append a new element child to the current node
- Parameters:
parent- is the parent node for the new child elementelementName- is new element tag name- Returns:
- the newly created child node
-
appendTextChild
Append a new text child
- Parameters:
parent- for the new child elementelementName- is the new element tag nametext- the text for the new element- Returns:
- the newly create child node
-
appendTextChild
Append a new text child
- Parameters:
parent- for the new child elementelementName- is the new element tag namevalue- the int value for the new element- Returns:
- the newly create child node
-
forceAppendTextChild
Append a new text child even if text is empty
- Parameters:
parent- for the new child elementelementName- is the new element tag nametext- the text for the new element- Returns:
- the newly create child node
-
setAttribute
Append a new attribute to an element
- Parameters:
parent- for the new child elementelementName- is the new element tag nametext- the text for the new element
-
setAttributeNS
Set a namespace attribute on an element.- Parameters:
element- on which to set attributeprefix- raw prefix (without "xmlns:")namespaceURI- namespace URI to which prefix is mapped.
-
debug
-