static

in freemarker-docgen-core/src/main/java/org/freemarker/docgen/core/DocgenRestrictionsValidator.java [92:158]


    static {
        Set<String> supportedElements = new TreeSet<String>();

        supportedElements.add(E_ANCHOR);
        supportedElements.add("answer");
        supportedElements.add(E_APPENDIX);
        supportedElements.add(E_ARTICLE);
        supportedElements.add(E_BOOK);
        supportedElements.add(E_CHAPTER);
        supportedElements.add("classname");
        supportedElements.add(E_COL);
        supportedElements.add(E_COLGROUP);
        supportedElements.add("emphasis");
        supportedElements.add("entry");
        supportedElements.add(E_FOOTNOTE);
        supportedElements.add(E_GLOSSARY);
        supportedElements.add("glossdef");
        supportedElements.add(E_GLOSSENTRY);
        supportedElements.add("glosssee");
        supportedElements.add("glossseealso");
        supportedElements.add("glossterm");
        supportedElements.add("imagedata");
        supportedElements.add("imageobject");
        supportedElements.add(E_INDEX);
        supportedElements.add(E_INDEXTERM);
        supportedElements.add(E_INFO);
        supportedElements.add(E_INFORMALTABLE);
        supportedElements.add(E_ITEMIZEDLIST);
        supportedElements.add(E_LINK);
        supportedElements.add(E_LISTITEM);
        supportedElements.add("literal");
        supportedElements.add(E_MEDIAOBJECT);
        supportedElements.add("methodname");
        supportedElements.add(E_NOTE);
        supportedElements.add(E_OLINK);
        supportedElements.add(E_ORDEREDLIST);
        supportedElements.add("package");
        supportedElements.add(E_PARA);
        supportedElements.add(E_PART);
        supportedElements.add("phrase");
        supportedElements.add(E_PREFACE);
        supportedElements.add(E_PRIMARY);
        supportedElements.add(E_PRODUCTNAME);
        supportedElements.add(E_PROGRAMLISTING);
        supportedElements.add(E_QUANDAENTRY);
        supportedElements.add("qandaset");
        supportedElements.add("question");
        supportedElements.add("quote");
        supportedElements.add("remark");
        supportedElements.add("replaceable");
        supportedElements.add(E_SECONDARY);
        supportedElements.add(E_SECTION);
        supportedElements.add(E_SIMPLESECT);
        supportedElements.add(E_SUBTITLE);
        supportedElements.add(E_TBODY);
        supportedElements.add(E_TD);
        supportedElements.add(E_TFOOT);
        supportedElements.add(E_TH);
        supportedElements.add(E_THEAD);
        supportedElements.add(E_TR);
        supportedElements.add(E_TITLE);
        supportedElements.add(E_TITLEABBREV);
        supportedElements.add(E_WARNING);
        supportedElements.add("xref");

        SUPPORTED_ELEMENTS = Collections.unmodifiableSet(supportedElements);
    }