Example usage for javax.xml.soap SOAPPart getValue

List of usage examples for javax.xml.soap SOAPPart getValue

Introduction

In this page you can find the example usage for javax.xml.soap SOAPPart getValue.

Prototype

public String getValue();

Source Link

Document

Returns the value of this node if this is a Text node or the value of the immediate child of this node otherwise.

Usage

From source file:com.googlecode.ddom.saaj.SOAPPartTest.java

@Validated
@Test//from   www .jav  a 2 s. com
public void testGetValue() throws Exception {
    SOAPPart soapPart = factory.createMessage().getSOAPPart();
    assertNull(soapPart.getValue());
}