public class XmlModel extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
LOG |
| Constructor and Description |
|---|
XmlModel(org.apache.camel.spring.CamelContextFactoryBean contextElement,
de.pdark.decentxml.Document doc,
Map<String,String> beans,
de.pdark.decentxml.Node node,
String ns,
boolean justRoutes,
boolean routesContext) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
beanMap()
Returns a Java API for accessing the bean map
|
org.apache.camel.CamelContext |
camelContext() |
org.apache.camel.CamelContext |
createContext(Collection<org.apache.camel.model.RouteDefinition> routes) |
Set<String> |
endpointUris()
Returns the endpoint URIs used in the context
|
Set<String> |
endpointUriSet() |
Map<String,String> |
getBeans() |
org.apache.camel.spring.CamelContextFactoryBean |
getContextElement() |
de.pdark.decentxml.Document |
getDoc() |
de.pdark.decentxml.Node |
getNode() |
String |
getNs() |
List<org.apache.camel.model.RouteDefinition> |
getRouteDefinitionList() |
boolean |
hasMissingId() |
boolean |
isJustRoutes() |
boolean |
isRoutesContext() |
Object |
marshalRootElement()
Returns the root element to be marshalled as XML
|
void |
update(org.apache.camel.spring.CamelContextFactoryBean newContext)
Creates a new model using the given context
|
ValidationHandler |
validate() |
public org.apache.camel.spring.CamelContextFactoryBean getContextElement()
public de.pdark.decentxml.Document getDoc()
public de.pdark.decentxml.Node getNode()
public String getNs()
public boolean isJustRoutes()
public boolean isRoutesContext()
public Object marshalRootElement()
public void update(org.apache.camel.spring.CamelContextFactoryBean newContext)
newContext - public List<org.apache.camel.model.RouteDefinition> getRouteDefinitionList()
public boolean hasMissingId()
public org.apache.camel.CamelContext createContext(Collection<org.apache.camel.model.RouteDefinition> routes) throws Exception
Exceptionpublic Set<String> endpointUris()
public ValidationHandler validate() throws IOException, SAXException
IOExceptionSAXExceptionCopyright © 2011–2014 Red Hat. All rights reserved.