public class XMLConfigParser extends Object
| Constructor and Description |
|---|
XMLConfigParser(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
DataModel |
getDataModelByName(String name) |
List<DataModel> |
getDataModels() |
String |
getFilePattern() |
Collection<Path> |
getPaths(String strPattern) |
Scenario |
getScenarioByName(String name) |
List<Scenario> |
getScenarios() |
static String |
parseSchemaName(String fullTableName) |
static String |
parseTableName(String fullTableName) |
static DataModel |
readDataModel(Path file)
Unmarshall an XML data file
|
static void |
writeDataModel(DataModel data,
OutputStream output) |
public Collection<Path> getPaths(String strPattern) throws Exception
Exceptionpublic String getFilePattern()
public static DataModel readDataModel(Path file) throws JAXBException, XMLStreamException
file - Name of FileDataModel Returns DataModel from
XML configurationJAXBExceptionXMLStreamExceptionpublic static void writeDataModel(DataModel data, OutputStream output) throws JAXBException
JAXBExceptionCopyright © 2018 Apache Software Foundation. All Rights Reserved.