Skip to content

Commit

Permalink
#666 key-value store API on Element
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiostalla committed Oct 13, 2023
1 parent d928e23 commit cb559b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ public interface Element extends XhtmlFragment {
"Copyright (C) 2005-2020 ManyDesigns srl";

void readFromRequest(HttpServletRequest req);
void readFrom(KeyValueAccessor keyValueAccessor);
boolean validate();
boolean isValid();
void readFromObject(Object obj);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,10 @@ public String getId() {
return null;
}

public void readFromRequest(HttpServletRequest req) {
}
public void readFromRequest(HttpServletRequest req) {}

@Override
public void readFrom(KeyValueAccessor keyValueAccessor) {}

public boolean validate() {
return false;
Expand Down

0 comments on commit cb559b6

Please sign in to comment.