|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.overlord.sramp.common.derived.AbstractXmlDeriver
org.overlord.sramp.common.derived.XsdDeriver
org.overlord.sramp.common.derived.WsdlDeriver
public class WsdlDeriver
Creates derived content from a WSDL document. This will create the derived content as defined in the WSDL model found in the s-ramp specification. The following derived artifact types will (potentially) be created:
| Constructor Summary | |
|---|---|
WsdlDeriver()
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
configureNamespaceMappings(StaticNamespaceContext namespaceContext)
Configures the namespace mappings that will be available when executing XPath queries. |
protected Collection<BaseArtifactType> |
createDerivedArtifactCollection()
Sub-classes could provide an alternate collection here. |
protected void |
derive(Collection<BaseArtifactType> derivedArtifacts,
BaseArtifactType artifact,
Element rootElement,
XPath xpath)
Derives content for the given artifact. |
void |
processDefinitions(IndexedArtifactCollection derivedArtifacts,
BaseArtifactType artifact,
Element definitions,
XPath xpath)
Process the entire wsdl for all derived content. |
| Methods inherited from class org.overlord.sramp.common.derived.XsdDeriver |
|---|
processSchema |
| Methods inherited from class org.overlord.sramp.common.derived.AbstractXmlDeriver |
|---|
derive, query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WsdlDeriver()
| Method Detail |
|---|
protected void configureNamespaceMappings(StaticNamespaceContext namespaceContext)
AbstractXmlDeriver
configureNamespaceMappings in class XsdDeriverorg.overlord.sramp.common.repository.derived.XsdDeriver#configureNamespaceMappings(org.overlord.sramp.common.query.xpath.StaticNamespaceContext)protected Collection<BaseArtifactType> createDerivedArtifactCollection()
AbstractXmlDeriverWsdlDeriver
creates an indexed artifact collection so that it can reference derived artifacts and make
connections/relationships.
createDerivedArtifactCollection in class AbstractXmlDeriverAbstractXmlDeriver.createDerivedArtifactCollection()
protected void derive(Collection<BaseArtifactType> derivedArtifacts,
BaseArtifactType artifact,
Element rootElement,
XPath xpath)
throws IOException
AbstractXmlDeriver
derive in class XsdDeriverIOExceptionorg.overlord.sramp.common.repository.derived.XsdDeriver#derive(org.overlord.sramp.common.repository.derived.IndexedArtifactCollection, org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType, org.w3c.dom.Element, javax.xml.xpath.XPath)
public void processDefinitions(IndexedArtifactCollection derivedArtifacts,
BaseArtifactType artifact,
Element definitions,
XPath xpath)
throws XPathExpressionException
derivedArtifacts - artifact - definitions - xpath -
XPathExpressionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||