public abstract class BaseWSDLWriter extends Object implements WSDLWriter
Modifier and Type | Field and Description |
---|---|
protected WriterFeatures |
features |
protected WSDLContext |
fWsdlContext |
Constructor and Description |
---|
BaseWSDLWriter(WSDLContext wsdlContext) |
Modifier and Type | Method and Description |
---|---|
ErrorReporter |
getErrorReporter() |
ExtensionRegistry |
getExtensionRegistry() |
protected WSDLFactory |
getFactory()
Get the cached WSDLFactory if there is one, otherwise
create and cache a new one.
|
String |
getFactoryImplName() |
boolean |
getFeature(String name)
Returns the on/off setting of the named feature, represented as a boolean.
|
Object |
getProperty(String name)
Returns the value of the named property.
|
void |
setExtensionRegistry(ExtensionRegistry extReg) |
void |
setFactoryImplName(String factoryImplName) |
void |
setFeature(String name,
boolean value)
Sets the specified feature to the specified value.
|
void |
setProperty(String name,
Object value)
Set a named property to the specified object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
writeWSDL, writeWSDL
protected WSDLContext fWsdlContext
protected final WriterFeatures features
public BaseWSDLWriter(WSDLContext wsdlContext)
public ErrorReporter getErrorReporter()
protected WSDLFactory getFactory() throws WSDLException
WSDLException
public void setFactoryImplName(String factoryImplName)
public String getFactoryImplName()
public void setExtensionRegistry(ExtensionRegistry extReg)
public ExtensionRegistry getExtensionRegistry()
public void setFeature(String name, boolean value)
WSDLWriter
There are no minimum features that must be supported.
All feature names must be fully-qualified, Java package style. All names starting with javax.wsdl. are reserved for features defined by the JWSDL specification. It is recommended that implementation- specific features be fully-qualified to match the package name of that implementation. For example: com.abc.featureName
setFeature
in interface WSDLWriter
name
- the name of the feature to be set.value
- the value to set the feature to.WSDLWriter.getFeature(String)
public boolean getFeature(String name)
getFeature
in interface WSDLWriter
name
- the name of the feature to get the value ofIllegalArgumentException
- if the feature name is not recognized.WSDLWriter.setFeature(String, boolean)
public void setProperty(String name, Object value)
All property names should be fully-qualified, Java package style to avoid name clashes. All names starting with org.apache.woden. are reserved for properties defined by the Woden implementation. Properties specific to other implementations should be fully-qualified to match the package name structure of that implementation. For example: com.abc.propertyName
name
- the name of the property to be setvalue
- an Object representing the value to set the property toIllegalArgumentException
- if the property name is not recognized.public Object getProperty(String name)
name
- the name of the property to get the value ofIllegalArgumentException
- if the property name is not recognized.Copyright © 2005–2019 Apache Software Foundation. All rights reserved.