|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.woden.internal.BaseWSDLWriter
public abstract class BaseWSDLWriter
This abstract class contains properties and methods common to WSDLWriter implementations. This abstract class implements methods of the WSDLWriter interface that are common across all concrete Writer implementations such as setting and getting features and properties, ExtensionRegistry.
| Field Summary | |
|---|---|
protected WriterFeatures |
features
|
protected WSDLContext |
fWsdlContext
|
| Constructor Summary | |
|---|---|
BaseWSDLWriter(WSDLContext wsdlContext)
|
|
| Method Summary | |
|---|---|
ErrorReporter |
getErrorReporter()
|
ExtensionRegistry |
getExtensionRegistry()
|
protected WSDLFactory |
getFactory()
Get the cached WSDLFactory if there is one, otherwise create and cache a new one. |
java.lang.String |
getFactoryImplName()
|
boolean |
getFeature(java.lang.String name)
Returns the on/off setting of the named feature, represented as a boolean. |
java.lang.Object |
getProperty(java.lang.String name)
Returns the value of the named property. |
void |
setExtensionRegistry(ExtensionRegistry extReg)
|
void |
setFactoryImplName(java.lang.String factoryImplName)
|
void |
setFeature(java.lang.String name,
boolean value)
|
void |
setProperty(java.lang.String name,
java.lang.Object value)
Set a named property to the specified object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.woden.WSDLWriter |
|---|
writeWSDL, writeWSDL |
| Field Detail |
|---|
protected WSDLContext fWsdlContext
protected final WriterFeatures features
| Constructor Detail |
|---|
public BaseWSDLWriter(WSDLContext wsdlContext)
| Method Detail |
|---|
public ErrorReporter getErrorReporter()
protected WSDLFactory getFactory()
throws WSDLException
WSDLExceptionpublic void setFactoryImplName(java.lang.String factoryImplName)
public java.lang.String getFactoryImplName()
public void setExtensionRegistry(ExtensionRegistry extReg)
public ExtensionRegistry getExtensionRegistry()
public void setFeature(java.lang.String name,
boolean value)
setFeature in interface WSDLWriterpublic boolean getFeature(java.lang.String name)
getFeature in interface WSDLWritername - the name of the feature to get the value of
java.lang.IllegalArgumentException - if the feature name is not recognized.
public void setProperty(java.lang.String name,
java.lang.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 to
java.lang.IllegalArgumentException - if the property name is not recognized.public java.lang.Object getProperty(java.lang.String name)
name - the name of the property to get the value of
java.lang.IllegalArgumentException - if the property name is not recognized.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||