|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.easywsdl.wsdl.impl.wsdl20.WSDLWriterImpl
public class WSDLWriterImpl
Constructor Summary | |
---|---|
WSDLWriterImpl()
|
|
WSDLWriterImpl(java.util.List<java.lang.Class> addedObjectFactories)
|
Method Summary | |
---|---|
org.w3c.dom.Document |
convertWSDL20Description2DOMElement(DescriptionType wsdlDescriptor,
java.lang.String schemaLocation)
Build the XML nodes from the WSDL descriptor in Java classes form. |
java.lang.String |
convertWSDL20Description2String(DescriptionType wsdlDescriptor,
org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl namespaceMapperImpl,
java.lang.String schemaLocation)
Build the XML String from the WSDL descriptor in Java classes form. |
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
public WSDLWriterImpl(java.util.List<java.lang.Class> addedObjectFactories) throws WSDLException
WSDLException
Method Detail |
---|
public org.w3c.dom.Document convertWSDL20Description2DOMElement(DescriptionType wsdlDescriptor, java.lang.String schemaLocation) throws WSDLException
schemaLocation
- EndpointReferenceDescriptorClass
- The EndpointReference Descriptor root classEndpointReferenceDescriptorNode
- The XML Node to fill with the EndpointReference descriptor XML nodes
WSDLException
public java.lang.String convertWSDL20Description2String(DescriptionType wsdlDescriptor, org.ow2.easywsdl.schema.api.extensions.NamespaceMapperImpl namespaceMapperImpl, java.lang.String schemaLocation) throws WSDLException
namespaceMapperImpl
- schemaLocation
- WSDLDescriptorClass
- The WSDL Descriptor root class
WSDLException
- The exception raised during the marshaller creation or the exception raised during the build of the XML string.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
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |