Configuration[] () { return new Configuration[]{ createLegacyConfiguration(SSRBundle.message("predefined.template.xml.tag"), "Xml tag", "<'a/>", getHtmlXml(), XmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.xml.attribute"), "Xml attribute", "<'_tag 'attribute=\"'_value\"/>", getHtmlXml(), XmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.html.attribute"), "Html attribute", "<'_tag 'attribute />", getHtmlXml(), HtmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.xml.attribute.value"), "Xml attribute value", "<'_tag '_attribute=\"'value\"/>", getHtmlXml(), XmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.html.attribute.value"), "Html attribute value", "<'_tag '_attribute='value />", getHtmlXml(), HtmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.xml.html.tag.value"), "Xml/html tag value", "<table>'_content*</table>", getHtmlXml(), HtmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.ul.or.ol"), "<ul> or <ol>", "<'_tag:[regex( ul|ol )] />", getHtmlXml(), HtmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.template.li.not.contained.in.ul.or.ol"), "<li> not contained in <ul> or <ol>", "[!within( <ul> or <ol> )]<li />", getHtmlXml(), HtmlFileType.INSTANCE), createLegacyConfiguration(SSRBundle.message("predefined.configuration.xml.attribute.referencing.java.class"), "xml attribute referencing java class", "<'_tag 'attribute=\"'_value:[ref( classes, interfaces \\& enums )]\"/>", getHtmlXml(), XmlFileType.INSTANCE), createConfiguration(SSRBundle.message("predefined.template.xml.tag.without.specific.attribute"), "XML tag without a specific attribute", "<'_tag '_attr{0,0}:attributeName />", getHtmlXml(), XmlFileType.INSTANCE), }; }