com.sun.xml.ws.transport.httpspi.servlet
Class DeploymentDescriptorParser<A>
java.lang.Object
com.sun.xml.ws.transport.httpspi.servlet.DeploymentDescriptorParser<A>
public class DeploymentDescriptorParser<A>
- extends Object
Parses sun-jaxws.xml
- Author:
- Jitendra Kotamraju
|
Method Summary |
protected static void |
ensureNoContent(XMLStreamReader reader)
|
protected static void |
fail(String key,
XMLStreamReader reader)
|
protected static void |
failWithFullName(String key,
XMLStreamReader reader)
|
protected static void |
failWithLocalName(String key,
XMLStreamReader reader)
|
protected static void |
failWithLocalName(String key,
XMLStreamReader reader,
String arg)
|
protected String |
getAttribute(XMLStreamReader reader,
String name)
|
protected String |
getMandatoryAttribute(XMLStreamReader reader,
String name)
|
protected String |
getMandatoryNonEmptyAttribute(XMLStreamReader reader,
String name)
|
protected String |
getNonEmptyAttribute(XMLStreamReader reader,
String name)
|
protected QName |
getQNameAttribute(XMLStreamReader reader,
String name)
|
protected Class |
loadClass(String name)
|
List<A> |
parse(File f)
Parses the sun-jaxws.xml file and configures
a set of EndpointAdapters. |
List<A> |
parse(String systemId,
InputStream is)
Parses the sun-jaxws.xml file and configures
a set of EndpointAdapters. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NS_RUNTIME
public static final String NS_RUNTIME
- See Also:
- Constant Field Values
JAXWS_WSDL_DD_DIR
public static final String JAXWS_WSDL_DD_DIR
- See Also:
- Constant Field Values
QNAME_ENDPOINTS
public static final QName QNAME_ENDPOINTS
QNAME_ENDPOINT
public static final QName QNAME_ENDPOINT
ATTR_VERSION
public static final String ATTR_VERSION
- See Also:
- Constant Field Values
ATTR_NAME
public static final String ATTR_NAME
- See Also:
- Constant Field Values
ATTR_IMPLEMENTATION
public static final String ATTR_IMPLEMENTATION
- See Also:
- Constant Field Values
ATTR_WSDL
public static final String ATTR_WSDL
- See Also:
- Constant Field Values
ATTR_SERVICE
public static final String ATTR_SERVICE
- See Also:
- Constant Field Values
ATTR_PORT
public static final String ATTR_PORT
- See Also:
- Constant Field Values
ATTR_URL_PATTERN
public static final String ATTR_URL_PATTERN
- See Also:
- Constant Field Values
ATTR_ENABLE_MTOM
public static final String ATTR_ENABLE_MTOM
- See Also:
- Constant Field Values
ATTR_MTOM_THRESHOLD_VALUE
public static final String ATTR_MTOM_THRESHOLD_VALUE
- See Also:
- Constant Field Values
ATTR_BINDING
public static final String ATTR_BINDING
- See Also:
- Constant Field Values
ATTRVALUE_VERSION_1_0
public static final String ATTRVALUE_VERSION_1_0
- See Also:
- Constant Field Values
DeploymentDescriptorParser
public DeploymentDescriptorParser(ClassLoader cl,
ResourceLoader loader,
DeploymentDescriptorParser.AdapterFactory<A> adapterFactory)
throws IOException
- Parameters:
cl - Used to load service implementations.loader - Used to locate resources, in particular WSDL.adapterFactory - Creates EndpointAdapter (or its derived class.)
- Throws:
IOException
parse
public List<A> parse(String systemId,
InputStream is)
- Parses the
sun-jaxws.xml file and configures
a set of EndpointAdapters.
parse
public List<A> parse(File f)
throws IOException
- Parses the
sun-jaxws.xml file and configures
a set of EndpointAdapters.
- Throws:
IOException
getAttribute
protected String getAttribute(XMLStreamReader reader,
String name)
getQNameAttribute
protected QName getQNameAttribute(XMLStreamReader reader,
String name)
getNonEmptyAttribute
protected String getNonEmptyAttribute(XMLStreamReader reader,
String name)
getMandatoryAttribute
protected String getMandatoryAttribute(XMLStreamReader reader,
String name)
getMandatoryNonEmptyAttribute
protected String getMandatoryNonEmptyAttribute(XMLStreamReader reader,
String name)
ensureNoContent
protected static void ensureNoContent(XMLStreamReader reader)
fail
protected static void fail(String key,
XMLStreamReader reader)
failWithFullName
protected static void failWithFullName(String key,
XMLStreamReader reader)
failWithLocalName
protected static void failWithLocalName(String key,
XMLStreamReader reader)
failWithLocalName
protected static void failWithLocalName(String key,
XMLStreamReader reader,
String arg)
loadClass
protected Class loadClass(String name)
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.