|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.wsdl.impl.wsdl11.WSDLWriterImpl
public class WSDLWriterImpl
Constructor Summary | |
---|---|
WSDLWriterImpl()
|
Method Summary | |
---|---|
org.w3c.dom.Document |
convertWSDL11Definition2DOMElement(TDefinitions wsdlDescriptor,
java.lang.String schemaLocation)
|
java.lang.String |
convertWSDL11Definition2String(TDefinitions wsdlDescriptor,
java.lang.String schemaLocation)
|
org.w3c.dom.Document |
getDocument(Description wsdlDef)
Return a document generated from the specified WSDL model. |
boolean |
getFeature(java.lang.String name)
Gets the value of the specified feature. |
void |
setFeature(java.lang.String name,
boolean value)
Sets the specified feature to the specified value. |
void |
useCustomNamespacesPrefixes(java.lang.String[] customPrefixes)
Use normalized prefixes for namespace declaration. |
void |
useNormalizedNamespacesPrefixes()
Use normalized prefixes for namespace declaration. |
java.lang.String |
writeWSDL(Description wsdlDef)
Write the specified WSDL definition . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WSDLWriterImpl() throws WSDLException
WSDLException
Method Detail |
---|
public void useCustomNamespacesPrefixes(java.lang.String[] customPrefixes) throws WSDLException
WSDLWriter
useCustomNamespacesPrefixes
in interface WSDLWriter
customPrefixes
- array containing custom prefixes and namespaces to use
with the format : (prefix1,nsUri1,prefix2,nsUri2,...)
WSDLException
public void useNormalizedNamespacesPrefixes() throws WSDLException
WSDLWriter
useNormalizedNamespacesPrefixes
in interface WSDLWriter
WSDLException
public org.w3c.dom.Document convertWSDL11Definition2DOMElement(TDefinitions wsdlDescriptor, java.lang.String schemaLocation) throws WSDLException
WSDLException
public java.lang.String convertWSDL11Definition2String(TDefinitions wsdlDescriptor, java.lang.String schemaLocation) throws WSDLException
WSDLException
public org.w3c.dom.Document getDocument(Description wsdlDef) throws WSDLException
WSDLWriter
getDocument
in interface WSDLWriter
WSDLException
public boolean getFeature(java.lang.String name) throws java.lang.IllegalArgumentException
WSDLWriter
getFeature
in interface WSDLWriter
name
- the name of the feature to get the value of.
java.lang.IllegalArgumentException
- if the feature name is not recognized.WSDLWriter.setFeature(String, boolean)
public void setFeature(java.lang.String name, boolean value) throws java.lang.IllegalArgumentException
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.
java.lang.IllegalArgumentException
- if the feature name is not recognized.WSDLWriter.getFeature(String)
public java.lang.String writeWSDL(Description wsdlDef) throws WSDLException
WSDLWriter
writeWSDL
in interface WSDLWriter
wsdlDef
- the WSDL definition to be written.
WSDLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |