com.sun.xml.ws.util.xml
Class XmlUtil
java.lang.Object
com.sun.xml.ws.util.xml.XmlUtil
- Direct Known Subclasses:
- XmlUtil
public class XmlUtil
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
transformerFactory
static final TransformerFactory transformerFactory
DRACONIAN_ERROR_HANDLER
public static final ErrorHandler DRACONIAN_ERROR_HANDLER
ErrorHandler
that always treat the error as fatal.
XmlUtil
public XmlUtil()
getPrefix
public static String getPrefix(String s)
getLocalPart
public static String getLocalPart(String s)
getAttributeOrNull
public static String getAttributeOrNull(Element e,
String name)
getAttributeNSOrNull
public static String getAttributeNSOrNull(Element e,
String name,
String nsURI)
getAttributeNSOrNull
public static String getAttributeNSOrNull(Element e,
QName name)
getAllChildren
public static Iterator getAllChildren(Element element)
getAllAttributes
public static Iterator getAllAttributes(Element element)
parseTokenList
public static List<String> parseTokenList(String tokenList)
getTextForNode
public static String getTextForNode(Node node)
getUTF8Stream
public static InputStream getUTF8Stream(String s)
newTransformer
public static Transformer newTransformer()
- Creates a new identity transformer.
createEntityResolver
public static EntityResolver createEntityResolver(@Nullable
URL catalogUrl)
createDefaultCatalogResolver
public static EntityResolver createDefaultCatalogResolver()
- Gets a default EntityResolver for catalog at META-INF/jaxws-catalog.xml