public class WsdlDeriver extends XsdDeriver
AbstractXmlDeriver.XmlDeriverContext| 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<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> |
createDerivedArtifactCollection()
Sub-classes could provide an alternate collection here.
|
protected void |
derive(Collection<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> derivedArtifacts,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact,
AbstractXmlDeriver.XmlDeriverContext xmlDeriverContext)
Derives content for the given artifact.
|
void |
link(LinkerContext context,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType sourceArtifact,
Collection<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> derivedArtifacts)
This method represents the "linker" phase of deriving artifact content.
|
void |
processDefinitions(IndexedArtifactCollection derivedArtifacts,
org.oasis_open.docs.s_ramp.ns.s_ramp_v1.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<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.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<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType> derivedArtifacts, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact, AbstractXmlDeriver.XmlDeriverContext xmlDeriverContext) throws IOException
AbstractXmlDeriverpublic void processDefinitions(IndexedArtifactCollection derivedArtifacts, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType artifact, Element definitions, XPath xpath) throws XPathExpressionException
derivedArtifacts - artifact - definitions - xpath - XPathExpressionExceptionpublic void link(LinkerContext context, org.oasis_open.docs.s_ramp.ns.s_ramp_v1.BaseArtifactType sourceArtifact, Collection<org.oasis_open.docs.s_ramp.ns.s_ramp_v1.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-2014 JBoss, a division of Red Hat. All Rights Reserved.