public abstract class BaseMessageMap
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
brokerSchema |
static java.lang.String |
copyright |
protected static java.lang.String |
DEFAULT_MAP_EXTENSION |
protected org.w3c.dom.Document |
mapDocument |
protected java.lang.String |
mapExtension |
protected java.lang.String |
mapName |
Constructor and Description |
---|
BaseMessageMap(java.io.File file)
Creates a new MessageMap instance from the provided
File . |
BaseMessageMap(java.lang.String messageMapName)
Create a new map instance from which you can retrieve the expression.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBrokerSchema() |
abstract java.lang.String |
getMapMainEntry() |
java.lang.String |
getName() |
protected BaseMessageMap |
load(java.io.File file)
Loads the
File into an XML Document . |
BaseMessageMap |
save(java.lang.String directoryName)
Saves the file to the file system in the directory specified including schema.
|
BaseMessageMap |
setBrokerSchema(java.lang.String brokerSchema)
Sets the schema for this message map.
|
BaseMessageMap |
setName(java.lang.String name)
Sets the message map name.
|
public static final java.lang.String copyright
protected static final java.lang.String DEFAULT_MAP_EXTENSION
protected java.lang.String mapName
protected java.lang.String brokerSchema
protected org.w3c.dom.Document mapDocument
protected java.lang.String mapExtension
public BaseMessageMap(java.lang.String messageMapName)
public BaseMessageMap(java.io.File file) throws java.io.IOException
File
.file
- File
The given message map File
.java.io.IOException
- IOException
.protected BaseMessageMap load(java.io.File file) throws java.io.IOException
File
into an XML Document
.java.io.IOException
- IOException
.public BaseMessageMap save(java.lang.String directoryName) throws java.io.IOException
java.io.IOException
public BaseMessageMap setName(java.lang.String name)
public java.lang.String getName()
public abstract java.lang.String getMapMainEntry()
public java.lang.String getBrokerSchema()
public BaseMessageMap setBrokerSchema(java.lang.String brokerSchema)