public class SPUtils extends Object
Modifier and Type | Method and Description |
---|---|
static Attr |
findIgnorableAttribute(Element element) |
static Attr |
findOptionalAttribute(Element element) |
static String |
getAttribute(Element element,
QName attName) |
static QName |
getElementQName(Element element) |
static Element |
getFirstChildElement(Node parent) |
static Element |
getFirstChildElement(Node parent,
QName childNodeName) |
static Element |
getFirstChildElement(Node parent,
String childNodeName) |
static String |
getFirstChildElementText(Node parent,
QName childNodeName) |
static Element |
getFirstPolicyChildElement(Element element) |
static Element |
getNextSiblingElement(Node node) |
static boolean |
hasChildElements(Element element) |
static boolean |
hasChildElementWithName(Element element,
QName elementName) |
static boolean |
isIgnorable(Element element) |
static boolean |
isOptional(Element element) |
static void |
serialize(Node node,
XMLStreamWriter xmlStreamWriter) |
public static boolean hasChildElements(Element element)
public static boolean hasChildElementWithName(Element element, QName elementName)
public static String getFirstChildElementText(Node parent, QName childNodeName)
public static boolean isOptional(Element element)
public static boolean isIgnorable(Element element) throws IllegalArgumentException
IllegalArgumentException
public static void serialize(Node node, XMLStreamWriter xmlStreamWriter) throws XMLStreamException
XMLStreamException
Copyright © 2016 JBoss by Red Hat. All rights reserved.