com.sun.xml.ws.util.xml
Class XmlUtil
java.lang.Object
com.sun.xml.ws.util.xml.XmlUtil
public class XmlUtil
- extends Object
- Author:
- WS Development Team
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
identityTransform
public static <T extends Result> T identityTransform(Source src,
T result)
throws TransformerException,
SAXException,
ParserConfigurationException,
IOException
- Performs identity transformation.
- Throws:
TransformerException
SAXException
ParserConfigurationException
IOException
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
newDocumentBuilderFactory
public static DocumentBuilderFactory newDocumentBuilderFactory()
newDocumentBuilderFactory
public static DocumentBuilderFactory newDocumentBuilderFactory(boolean secureXmlProcessing)
newTransformerFactory
public static TransformerFactory newTransformerFactory(boolean secureXmlProcessingEnabled)
newTransformerFactory
public static TransformerFactory newTransformerFactory()
newSAXParserFactory
public static SAXParserFactory newSAXParserFactory(boolean secureXmlProcessingEnabled)
newXPathFactory
public static XPathFactory newXPathFactory(boolean secureXmlProcessingEnabled)
newXMLInputFactory
public static XMLInputFactory newXMLInputFactory(boolean secureXmlProcessingEnabled)
allowExternalAccess
public static SchemaFactory allowExternalAccess(SchemaFactory sf,
String value,
boolean disableSecureProcessing)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.