public class XMLMessageTemplateLoader extends Object implements MessageTemplateLoader
Constructor and Description |
---|
XMLMessageTemplateLoader() |
XMLMessageTemplateLoader(boolean namespaceAwareness) |
Modifier and Type | Method and Description |
---|---|
void |
addFieldParser(FieldParser fieldParser) |
static ParsingContext |
createInitialContext() |
TemplateRegistry |
getTemplateRegistry() |
MessageTemplate[] |
load(InputStream source)
Parses the XML stream and creates an array of the elements
|
void |
setErrorHandler(ErrorHandler errorHandler)
Sets the errorHandler object to a method
|
void |
setLoadTemplateIdFromAuxId(boolean loadTempalteIdFromAuxId) |
void |
setTemplateRegistry(TemplateRegistry templateRegistry) |
void |
setTypeMap(Map typeMap) |
public XMLMessageTemplateLoader()
public XMLMessageTemplateLoader(boolean namespaceAwareness)
public static ParsingContext createInitialContext()
public void addFieldParser(FieldParser fieldParser)
public MessageTemplate[] load(InputStream source)
load
in interface MessageTemplateLoader
source
- The inputStream object to loadpublic void setErrorHandler(ErrorHandler errorHandler)
errorHandler
- The errorHandler that is being setpublic void setTemplateRegistry(TemplateRegistry templateRegistry)
setTemplateRegistry
in interface MessageTemplateLoader
public TemplateRegistry getTemplateRegistry()
getTemplateRegistry
in interface MessageTemplateLoader
public void setTypeMap(Map typeMap)
public void setLoadTemplateIdFromAuxId(boolean loadTempalteIdFromAuxId)
Copyright © 2006-2013 The LaSalle Technology Group, LLC. All Rights Reserved.