public final class XmlRouteParser extends Object
CamelJavaParserHelper.| Modifier and Type | Method and Description |
|---|---|
static void |
parseXmlRouteCSimpleExpressions(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelCSimpleExpressionDetails> csimpleExpressions)
Parses the XML source to discover Camel compiled simple language.
|
static void |
parseXmlRouteEndpoints(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints)
Parses the XML source to discover Camel endpoints.
|
static void |
parseXmlRouteRouteIds(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelRouteDetails> routes)
Parses the XML source to discover Camel routes with id's assigned.
|
static void |
parseXmlRouteSimpleExpressions(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelSimpleExpressionDetails> simpleExpressions)
Parses the XML source to discover Camel simple languages.
|
static List<CamelNodeDetails> |
parseXmlRouteTree(InputStream xml,
String baseDir,
String fullyQualifiedFileName)
Parses the XML file and build a route model (tree) of the discovered routes in the XML source file.
|
public static List<CamelNodeDetails> parseXmlRouteTree(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 void parseXmlRouteEndpoints(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelEndpointDetails> endpoints)
xml - the xml file as input streambaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file nameendpoints - list to add discovered and parsed endpointspublic static void parseXmlRouteSimpleExpressions(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelSimpleExpressionDetails> simpleExpressions)
xml - the xml file as input streambaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file namesimpleExpressions - list to add discovered and parsed simple expressionspublic static void parseXmlRouteCSimpleExpressions(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelCSimpleExpressionDetails> csimpleExpressions)
xml - the xml file as input streambaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file namecsimpleExpressions - list to add discovered and parsed compiled simple expressionspublic static void parseXmlRouteRouteIds(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelRouteDetails> routes)
xml - the xml file as input streambaseDir - the base of the source codefullyQualifiedFileName - the fully qualified source code file nameroutes - list to add discovered and parsed routesApache Camel