org.picketlink.trust.jbossws
Class Util
java.lang.Object
org.picketlink.trust.jbossws.Util
public class Util
- extends Object
- Author:
- Jason T. Greene
Field Summary |
static int |
count
|
Constructor Summary |
Util()
|
Method Summary |
static void |
addNamespace(Element element,
String prefix,
String uri)
|
static String |
assignWsuId(Element element)
|
static boolean |
equalStrings(String string1,
String string2)
|
static List<Node> |
findAllElements(Element root,
QName name,
boolean local)
|
static Element |
findElement(Element root,
QName name)
|
static Element |
findElement(Element root,
String localName,
String namespace)
|
static Element |
findElementByWsuId(Element root,
String id)
|
static Element |
findOrCreateSoapHeader(Element envelope)
|
static String |
generateId()
|
static String |
generateId(String prefix)
|
static Element |
getFirstChildElement(Node node)
|
static Element |
getNextSiblingElement(Element element)
|
static Element |
getPreviousSiblingElement(Element element)
|
static String |
getWsuId(Element element)
|
static boolean |
matchNode(Node node,
QName name)
|
static boolean |
matchNode(Node node,
QName name,
boolean local)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
count
public static int count
Util
public Util()
assignWsuId
public static String assignWsuId(Element element)
getFirstChildElement
public static Element getFirstChildElement(Node node)
getNextSiblingElement
public static Element getNextSiblingElement(Element element)
getPreviousSiblingElement
public static Element getPreviousSiblingElement(Element element)
findElement
public static Element findElement(Element root,
String localName,
String namespace)
findElement
public static Element findElement(Element root,
QName name)
findAllElements
public static List<Node> findAllElements(Element root,
QName name,
boolean local)
findElementByWsuId
public static Element findElementByWsuId(Element root,
String id)
findOrCreateSoapHeader
public static Element findOrCreateSoapHeader(Element envelope)
getWsuId
public static String getWsuId(Element element)
equalStrings
public static boolean equalStrings(String string1,
String string2)
matchNode
public static boolean matchNode(Node node,
QName name)
matchNode
public static boolean matchNode(Node node,
QName name,
boolean local)
generateId
public static String generateId()
addNamespace
public static void addNamespace(Element element,
String prefix,
String uri)
generateId
public static String generateId(String prefix)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.