*
*/
public synchronized void writeContent(final SimpleArticle simpleArticle)
throws ActionException, ProcessException {
if (!isLoggedIn()) {
throw new ActionException("Please login first");
}
for (char invChar : INVALID_LABEL_CHARS) { // FIXME Replace with a REGEX
if (simpleArticle.getTitle().contains(invChar + "")) {
throw new ActionException("Invalid character in label\""
+ simpleArticle.getTitle() + "\" : \"" + invChar + "\"");
}
}