public final class Message extends SyntaxElement
| Modifier and Type | Field and Description |
|---|---|
static boolean |
CHECK_SEQ |
static boolean |
DONT_CHECK_SEQ |
static boolean |
DONT_CHECK_VALIDS |
ALLOW_OVERWRITE, DONT_ALLOW_OVERWRITE, DONT_TRY_TO_CREATE, TRY_TO_CREATE| Constructor and Description |
|---|
Message(String type,
Document document) |
Message(String type,
String res,
Document document,
boolean checkSeq,
boolean checkValids) |
| Modifier and Type | Method and Description |
|---|---|
void |
autoSetMsgSize() |
void |
complete() |
protected MultipleSyntaxElements |
createNewChildContainer(Node ref,
Document document)
erzeugt einen neuen Child-Container, welcher durch den
xml-knoten 'ref' identifiziert wird; wird beim erzeugen von elementen
benutzt
|
String |
get(String key) |
HashMap<String,String> |
getData() |
Document |
getDocument() |
void |
getElementPaths(HashMap<String,String> p,
int[] segref,
int[] degref,
int[] deref) |
protected String |
getElementTypeName()
gibt einen string mit den typnamen (msg,seg,deg,de,...) des
elementes zurueck
|
protected char |
getInDelim()
liefert das delimiter-zeichen zurueck, dass innerhalb dieses
syntaxelementes benutzt wird, um die einzelnen child-elemente voneinander
zu trennen
|
String |
getValueOfDE(String path) |
void |
init(String type,
Document document) |
void |
init(String type,
String res,
Document document,
boolean checkSeq,
boolean checkValids) |
boolean |
isCrypted() |
protected MultipleSyntaxElements |
parseNewChildContainer(Node segref,
char predelim0,
char predelim1,
StringBuffer res,
Document document,
Hashtable<String,String> predefs,
Hashtable<String,String> valids)
beim parsen: haengt an die 'childElements' ein neues Element an.
|
void |
rawSet(String path,
String value) |
void |
set(String path,
String value) |
String |
toString(int dummy) |
checkSegSeq, createAndAppendNewChildContainer, enumerateSegs, extractValues, getChildContainers, getElement, getName, getParent, getPath, getPosInMsg, getSyntaxDef, getType, getValueOfDE, init, init, isValid, parseAndAppendNewChildContainer, propagateValue, setName, setParent, setPath, setType, setValid, storeValidValueInDE, validatepublic static final boolean CHECK_SEQ
public static final boolean DONT_CHECK_SEQ
public static final boolean DONT_CHECK_VALIDS
protected MultipleSyntaxElements createNewChildContainer(Node ref, Document document)
SyntaxElementcreateNewChildContainer in class SyntaxElementprotected String getElementTypeName()
SyntaxElementgetElementTypeName in class SyntaxElementpublic void autoSetMsgSize()
public void complete()
public String toString(int dummy)
toString in class SyntaxElementpublic void init(String type, String res, Document document, boolean checkSeq, boolean checkValids)
protected char getInDelim()
SyntaxElementgetInDelim in class SyntaxElementprotected MultipleSyntaxElements parseNewChildContainer(Node segref, char predelim0, char predelim1, StringBuffer res, Document document, Hashtable<String,String> predefs, Hashtable<String,String> valids)
SyntaxElementparseNewChildContainer in class SyntaxElementpublic String getValueOfDE(String path)
getValueOfDE in class SyntaxElementpublic void getElementPaths(HashMap<String,String> p, int[] segref, int[] degref, int[] deref)
getElementPaths in class SyntaxElementpublic boolean isCrypted()
public Document getDocument()
public void set(String path, String value)
path - The path to the document element for which the value is to be set. For
more information about paths, see
SyntaxElement::SyntaxElement()value - The new value for the specified element.
Sets a certain property that is later used in message generation.Copyright © 2018. All rights reserved.