@Test void testDump() throws Throwable { PrintStream p = new PrintStream(new ByteArrayOutputStream(), true, "UTF-8"); instance.setMCL("testMcl"); instance.dump(p, "testIndent"); assertTrue(true, "Test completed without Exception"); }
@Override public void dump (PrintStream p, String indent) { String inner = indent + " "; p.print(indent + "<csm"); p.print(" class=\"" + getMCL() + "\""); p.println(">"); for (String tag : orderedTags) { p.println(inner + "<field tag=\"" + tag + "\" value=\"" + getFieldContent(tag) + "\"/>"); } p.println(indent + "</csm>"); }
CryptographicServiceMessage implements Loggeable { @Override public void dump (PrintStream p, String indent) { String inner = indent + " "; p.print(indent + "<csm"); p.print(" class=\"" + getMCL() + "\""); p.println(">"); for (String tag : orderedTags) { p.println(inner + "<field tag=\"" + tag + "\" value=\"" + getFieldContent(tag) + "\"/>"); } p.println(indent + "</csm>"); } }
CryptographicServiceMessage implements Loggeable { @Override public void dump (PrintStream p, String indent) { String inner = indent + " "; p.print(indent + "<csm"); p.print(" class=\"" + getMCL() + "\""); p.println(">"); for (String tag : orderedTags) { p.println(inner + "<field tag=\"" + tag + "\" value=\"" + getFieldContent(tag) + "\"/>"); } p.println(indent + "</csm>"); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); }
CryptographicServiceMessage implements Loggeable { @Override public void dump (PrintStream p, String indent) { String inner = indent + " "; p.print(indent + "<csm"); p.print(" class=\"" + getMCL() + "\""); p.println(">"); for (String tag : orderedTags) { p.println(inner + "<field tag=\"" + tag + "\" value=\"" + getFieldContent(tag) + "\"/>"); } p.println(indent + "</csm>"); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); void setMCL(String mcl); String getMCL(); void addField(String tag, String content); String getFieldContent(String tag); @Override String toString(); @Override void dump(PrintStream p, String indent); static CryptographicServiceMessage parse(String csmString); }
CryptographicServiceMessage implements Loggeable { @Override public void dump (PrintStream p, String indent) { String inner = indent + " "; p.print(indent + "<csm"); p.print(" class=\"" + getMCL() + "\""); p.println(">"); for (String tag : orderedTags) { p.println(inner + "<field tag=\"" + tag + "\" value=\"" + getFieldContent(tag) + "\"/>"); } p.println(indent + "</csm>"); } CryptographicServiceMessage();  CryptographicServiceMessage(String mcl); void setMCL(String mcl); String getMCL(); void addField(String tag, String content); String getFieldContent(String tag); @Override String toString(); @Override void dump(PrintStream p, String indent); static CryptographicServiceMessage parse(String csmString); static final String MCL_RSI; static final String MCL_KSM; static final String MCL_RSM; static final String MCL_ESM; static final String TAG_RCV; static final String TAG_ORG; static final String TAG_SVR; static final String TAG_KD; static final String TAG_CTP; static final String TAG_CTR; static final String TAG_ERF; }