java.lang.Object
com.sun.xml.ws.util.xml.XmlUtil
- Author:
- WS Development Team
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ErrorHandler
ErrorHandler
that always treat the error as fatal. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaFactory
allowExternalAccess
(SchemaFactory sf, String value, boolean disableSecurity) static EntityResolver
Gets a default EntityResolver for catalog at META-INF/jaxws-catalog.xmlstatic EntityResolver
createEntityResolver
(URL catalogUrl) Gets an EntityResolver using XML catalogstatic Iterator
getAllAttributes
(Element element) static Iterator
getAllChildren
(Element element) static String
getAttributeNSOrNull
(Element e, String name, String nsURI) static String
getAttributeNSOrNull
(Element e, QName name) static String
getAttributeOrNull
(Element e, String name) static String
static String
static String
getTextForNode
(Node node) static InputStream
static <T extends Result>
TidentityTransform
(Source src, T result) Performs identity transformation.static DocumentBuilderFactory
newDocumentBuilderFactory
(boolean disableSecurity) static SAXParserFactory
newSAXParserFactory
(boolean disableSecurity) static Transformer
Creates a new identity transformer.static TransformerFactory
newTransformerFactory
(boolean disableSecurity) static XMLInputFactory
newXMLInputFactory
(boolean disableSecurity) static XPathFactory
newXPathFactory
(boolean disableSecurity) parseTokenList
(String tokenList)
-
Field Details
-
DRACONIAN_ERROR_HANDLER
ErrorHandler
that always treat the error as fatal.
-
-
Constructor Details
-
XmlUtil
protected XmlUtil()
-
-
Method Details
-
getPrefix
-
getLocalPart
-
getAttributeOrNull
-
getAttributeNSOrNull
-
getAttributeNSOrNull
-
getAllChildren
-
getAllAttributes
-
parseTokenList
-
getTextForNode
-
getUTF8Stream
-
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. -
createEntityResolver
Gets an EntityResolver using XML catalog -
createDefaultCatalogResolver
Gets a default EntityResolver for catalog at META-INF/jaxws-catalog.xml -
newDocumentBuilderFactory
-
newTransformerFactory
-
newSAXParserFactory
-
newXPathFactory
-
newXMLInputFactory
-
allowExternalAccess
public static SchemaFactory allowExternalAccess(SchemaFactory sf, String value, boolean disableSecurity)
-