コード例 #1
0
  public String bindRestoreBackupStylePropertyMethod(ClientDocumentStfulDelegateWebImpl clientDoc) {
    StringBuilder code = new StringBuilder();

    String methodName = getRestoreBackupPropertyMethodName();
    if (!clientDoc.isClientMethodBounded(methodName))
      code.append(bindRestoreBackupStylePropertyMethod(methodName, clientDoc));

    return code.toString();
  }
コード例 #2
0
  public String getRestoreBackupStyleProperty(
      String elemVarName, String propName, ClientDocumentStfulDelegateWebImpl clientDoc) {
    StringBuilder code = new StringBuilder();

    String methodName = getRestoreBackupPropertyMethodName();
    if (!clientDoc.isClientMethodBounded(methodName))
      code.append(bindRestoreBackupStylePropertyMethod(methodName, clientDoc));

    code.append("itsNatDoc." + methodName + "(" + elemVarName + ",\"" + propName + "\");\n");
    return code.toString();
  }