Example usage for javax.xml.soap SOAPPart getParentElement

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

Introduction

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

Prototype

public SOAPElement getParentElement();

Source Link

Document

Returns the parent element of this Node object.

Usage

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

@Validated
@Test//from  ww w  .  j ava 2s  .c  o m
public void testGetParentElement() throws Exception {
    SOAPPart soapPart = factory.createMessage().getSOAPPart();
    assertNull(soapPart.getParentElement());
}