X-Git-Url: https://git.argeo.org/?p=gpl%2Fargeo-suite.git;a=blobdiff_plain;f=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Ftext%2FTextInterpreterImpl.java;fp=publishing%2Forg.argeo.publishing.ui%2Fsrc%2Forg%2Fargeo%2Fcms%2Ftext%2FTextInterpreterImpl.java;h=0000000000000000000000000000000000000000;hp=813fa0fcc9e9601fdf71b5f8ecd7c3d2bc52aad5;hb=2824e4dce1c2239500f865efaac23f2880b12277;hpb=2c7baf5cc1437770abc7df32e29e3c9ca29b7132 diff --git a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/TextInterpreterImpl.java b/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/TextInterpreterImpl.java deleted file mode 100644 index 813fa0f..0000000 --- a/publishing/org.argeo.publishing.ui/src/org/argeo/cms/text/TextInterpreterImpl.java +++ /dev/null @@ -1,28 +0,0 @@ -package org.argeo.cms.text; - -import javax.jcr.Item; -import javax.jcr.RepositoryException; - -/** - * Text interpreter that sanitise and validates before saving, and support CMS - * specific formatting and integration. - */ -class TextInterpreterImpl extends IdentityTextInterpreter { - private MarkupValidatorCopy markupValidator = MarkupValidatorCopy.getInstance(); - - @Override - protected void validateBeforeStoring(String raw) { - markupValidator.validate(raw); - } - - @Override - protected String convertToStorage(Item item, String content) throws RepositoryException { - return super.convertToStorage(item, content); - } - - @Override - protected String convertFromStorage(Item item, String content) throws RepositoryException { - return super.convertFromStorage(item, content); - } - -}