parseHeader(); parseBody(); parseTrailer();
try { parseHeader(); parseBody(); parseTrailer(); } catch (InvalidMessage e) { isValidStructure = false; }
    public void fromString(String messageData, DataDictionary dd, boolean doValidation)            throws InvalidMessage {        this.messageData = messageData;        this.dd = dd;        this.doValidation = doValidation;        parseHeader();        parseBody();        parseTrailer();        if (doValidation) {            validate(messageData);        }    }