public class XsdDeriver extends AbstractXmlDeriver
| Constructor and Description |
|---|
XsdDeriver()
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 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 |
processSchema(Collection<BaseArtifactType> derivedArtifacts,
BaseArtifactType artifact,
Element schema,
XPath xpath)
Process the entire schema for all derived content.
|
createDerivedArtifactCollection, derive, queryprotected void configureNamespaceMappings(StaticNamespaceContext namespaceContext)
AbstractXmlDeriverconfigureNamespaceMappings in class AbstractXmlDeriverorg.overlord.sramp.common.repository.derived.AbstractXmlDeriver#configureNamespaceMappings(org.overlord.sramp.common.query.xpath.StaticNamespaceContext)protected void derive(Collection<BaseArtifactType> derivedArtifacts, BaseArtifactType artifact, Element rootElement, XPath xpath) throws IOException
AbstractXmlDeriverpublic void processSchema(Collection<BaseArtifactType> derivedArtifacts, BaseArtifactType artifact, Element schema, XPath xpath) throws XPathExpressionException
derivedArtifacts - artifact - schema - xpath - XPathExpressionExceptionpublic void link(LinkerContext context, BaseArtifactType sourceArtifact, Collection<BaseArtifactType> derivedArtifacts)
ArtifactDeriverCopyright © 2011–2013 JBoss, a division of Red Hat. All rights reserved.