public final class XmlRestDslParser extends Object
CamelXmlRestDslParserHelper
.Modifier and Type | Method and Description |
---|---|
static List<RestConfigurationDetails> |
parseRestConfiguration(InputStream xml,
String baseDir,
String fullyQualifiedFileName)
Parses the XML file and build a rest configuration model of the discovered rest configurations in the XML source file.
|
static List<RestServiceDetails> |
parseRestService(InputStream xml,
String baseDir,
String fullyQualifiedFileName)
Parses the java source class and build a rest service model of the discovered rest services in the java source class.
|
public static List<RestConfigurationDetails> parseRestConfiguration(InputStream xml, String baseDir, String fullyQualifiedFileName)
xml
- the xml file as input streambaseDir
- the base of the source codefullyQualifiedFileName
- the fully qualified source code file namepublic static List<RestServiceDetails> parseRestService(InputStream xml, String baseDir, String fullyQualifiedFileName)
xml
- the xml file as input streambaseDir
- the base of the source codefullyQualifiedFileName
- the fully qualified source code file nameApache Camel