|
||||||||||
| 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
public class XsdDeriver
Creates derived content from an XSD document. This will create the derived content as defined in the XML Schema model found in the s-ramp specification. The following derived artifact types will (potentially) be created:
| Constructor Summary | |
|---|---|
XsdDeriver()
Constructor. |
|
| Method Summary | |
|---|---|
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 |
processSchema(Collection<BaseArtifactType> derivedArtifacts,
BaseArtifactType artifact,
Element schema,
XPath xpath)
Process the entire schema for all derived content. |
| Methods inherited from class org.overlord.sramp.common.derived.AbstractXmlDeriver |
|---|
createDerivedArtifactCollection, derive, query |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XsdDeriver()
| Method Detail |
|---|
protected void configureNamespaceMappings(StaticNamespaceContext namespaceContext)
AbstractXmlDeriver
configureNamespaceMappings 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
AbstractXmlDeriver
derive in class AbstractXmlDeriverIOExceptionAbstractXmlDeriver.derive(java.util.Collection, org.s_ramp.xmlns._2010.s_ramp.BaseArtifactType, org.w3c.dom.Element, javax.xml.xpath.XPath)
public void processSchema(Collection<BaseArtifactType> derivedArtifacts,
BaseArtifactType artifact,
Element schema,
XPath xpath)
throws XPathExpressionException
derivedArtifacts - artifact - schema - xpath -
XPathExpressionException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||