public class CXMLElementBrowser
extends java.lang.Object
CXML instance.| Constructor and Description |
|---|
CXMLElementBrowser(CXML cxml)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected <T> T |
findElementInList(java.util.List<?> list,
java.lang.Class<T> clazz) |
Header |
findHeader() |
Request |
findRequest() |
<T> T |
findRequestByType(java.lang.Class<T> clazz) |
Response |
findResponse() |
<T> T |
findResponseByType(java.lang.Class<T> clazz)
Finds a response by type.
|
boolean |
hasResponse()
Checks whether there is
Response instance. |
public <T> T findRequestByType(java.lang.Class<T> clazz)
clazz - the request type classpublic Request findRequest()
public <T> T findResponseByType(java.lang.Class<T> clazz)
clazz - the element type classpublic Response findResponse()
CXML or null if not foundprotected <T> T findElementInList(java.util.List<?> list,
java.lang.Class<T> clazz)
Copyright © 2018 SAP SE. All Rights Reserved.