public final class XmlRouteParser extends Object
CamelJavaParserHelper.| Modifier and Type | Method and Description |
|---|---|
static void |
parseXmlRouteEndpoints(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelEndpointDetails> endpoints)
Parses the XML source to discover Camel endpoints.
|
static void |
parseXmlRouteSimpleExpressions(InputStream xml,
String baseDir,
String fullyQualifiedFileName,
List<CamelSimpleExpressionDetails> simpleExpressions)
Parses the XML source to discover Camel endpoints.
|
public static void parseXmlRouteEndpoints(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelEndpointDetails> endpoints) throws Exception
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 endpointsExceptionpublic static void parseXmlRouteSimpleExpressions(InputStream xml, String baseDir, String fullyQualifiedFileName, List<CamelSimpleExpressionDetails> simpleExpressions) throws Exception
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 expressionsExceptionApache Camel