public class WsdlDeriver extends XsdDeriver
| Modifier and Type | Field and Description |
|---|---|
static QName |
UNRESOLVED_REF |
| Constructor and Description |
|---|
WsdlDeriver()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
link(LinkerContext context,
BaseArtifactType sourceArtifact,
Collection<BaseArtifactType> derivedArtifacts)
This method represents the "linker" phase of deriving artifact content.
|
void |
processDefinitions(IndexedArtifactCollection derivedArtifacts,
BaseArtifactType artifact,
Element definitions,
XPath xpath)
Process the entire wsdl for all derived content.
|
processSchemaderive, querypublic static final QName UNRESOLVED_REF
protected void configureNamespaceMappings(StaticNamespaceContext namespaceContext)
AbstractXmlDeriverconfigureNamespaceMappings 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
AbstractXmlDeriverderive in class XsdDeriverIOExceptionorg.overlord.sramp.common.repository.derived.XsdDeriver#derive(org.overlord.sramp.common.repository.derived.IndexedArtifactCollection, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.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 - XPathExpressionExceptionpublic void link(LinkerContext context, BaseArtifactType sourceArtifact, Collection<BaseArtifactType> derivedArtifacts)
ArtifactDeriverlink in interface ArtifactDeriverlink in class XsdDeriverXsdDeriver.link(org.overlord.sramp.common.derived.LinkerContext, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType, java.util.Collection)Copyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.