com.mule.connectors.testdata.parsers
Class ConnectorSchemaParser
java.lang.Object
com.mule.connectors.testdata.parsers.ConnectorSchemaParser
public class ConnectorSchemaParser
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnectorSchemaParser
public ConnectorSchemaParser(File inputFile,
String outputFile)
throws IOException,
SAXException,
ParserConfigurationException
- Throws:
IOException
SAXException
ParserConfigurationException
getMessageProcessors
public Element getMessageProcessors()
parseComplexTypeNodesDefinitions
public void parseComplexTypeNodesDefinitions()
throws XPathExpressionException
- Parses all the types definitions found in the schema file,
creating a lookup table for the elements by name.
- Throws:
XPathExpressionException
parseRootElementNodesDefinitions
public void parseRootElementNodesDefinitions()
throws XPathExpressionException
- Parses all the top level elements found in the schema file,
from the root.
Retrieved Elements are appendend in four categories, creating the
output document structure.
- Throws:
XPathExpressionException
exportToFile
public void exportToFile()
throws TransformerException
- Exports the output document to an xml file
- Throws:
TransformerException
getConnectorName
public String getConnectorName()
getConfigElement
public Element getConfigElement()
getProcessorsElement
public Element getProcessorsElement()
getInboundEndpointElement
public Element getInboundEndpointElement()
getOutboundEndpointElement
public Element getOutboundEndpointElement()
Copyright © 2014. All rights reserved.