public class DOMCallbackLookup extends Object implements CallbackLookup
| Constructor and Description |
|---|
DOMCallbackLookup(Document doc) |
| Modifier and Type | Method and Description |
|---|---|
Element |
getElement(String id,
String valueType,
boolean checkMultipleElements)
Get the DOM element that corresponds to the given id and ValueType reference.
|
List<Element> |
getElements(String localname,
String namespace)
Get the DOM element(s) that correspond to the given localname/namespace.
|
protected Document doc
public DOMCallbackLookup(Document doc)
public Element getElement(String id, String valueType, boolean checkMultipleElements) throws WSSecurityException
getElement in interface CallbackLookupid - The id of the element to locatevalueType - The ValueType attribute of the element to locate (can be null)checkMultipleElements - If true then go through the entire tree and return
null if there are multiple elements with the same IdWSSecurityExceptionpublic List<Element> getElements(String localname, String namespace) throws WSSecurityException
getElements in interface CallbackLookuplocalname - The localname of the Element(s)namespace - The namespace of the Element(s)WSSecurityExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.