gkessler | f3e1ae6 | 2006-05-03 21:47:05 +0000 | [diff] [blame^] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <grammar-annotation |
| 3 | xmlns="http://org.eclipse.jsf.core/grammarAnnotationSchema" |
| 4 | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 5 | > |
| 6 | |
| 7 | <cm-element name="MyTag"> |
| 8 | <cm-attribute name="MyBooleanAttr"> |
| 9 | <property name="attribute-value-runtime-type"> |
| 10 | <value>org.eclipse.jst.jsf.metadata.tests.MyBooleanType</value> |
| 11 | </property> |
| 12 | </cm-attribute> |
| 13 | <cm-attribute name="BooleanAttr"> |
| 14 | <property name="attribute-value-runtime-type"> |
| 15 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.BooleanType</value> |
| 16 | </property> |
| 17 | <property name="barks"> |
| 18 | <value>woof</value> |
| 19 | <value>ruff</value> |
| 20 | <value>howllllllll</value> |
| 21 | </property> |
| 22 | </cm-attribute> |
| 23 | <cm-attribute name="NutherBooleanAttr"> |
| 24 | <property name="attribute-value-runtime-type"> |
| 25 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.BooleanType</value> |
| 26 | </property> |
| 27 | <property name="barks"> |
| 28 | <value>WOOF</value> |
| 29 | <value>RUFF</value> |
| 30 | <value>HOWLLL</value> |
| 31 | </property> |
| 32 | </cm-attribute> |
| 33 | <cm-attribute name="MyValidValsAttr"> |
| 34 | <property name="attribute-value-runtime-type"> |
| 35 | <value>org.eclipse.jst.jsf.metadata.tests.MyStringArrayType</value> |
| 36 | </property> |
| 37 | <property name="valid-values"> |
| 38 | <value>FirstVal</value> |
| 39 | <value>SecondVal</value> |
| 40 | <value>ThirdVal</value> |
| 41 | <value>FourthVal</value> |
| 42 | </property> |
| 43 | </cm-attribute> |
| 44 | <cm-attribute name="MyNonMetaDataEnabledAttr"> |
| 45 | <property name="valid-values"> |
| 46 | <value>FirstVal</value> |
| 47 | <value>SecondVal</value> |
| 48 | <value>ThirdVal</value> |
| 49 | <value>FourthVal</value> |
| 50 | </property> |
| 51 | </cm-attribute> |
| 52 | <cm-attribute name="MyNoImplMetaDataEnabledAttr"> |
| 53 | <property name="attribute-value-runtime-type"> |
| 54 | <value>org.eclipse.jst.jsf.metadata.tests.NoImplType</value> |
| 55 | </property> |
| 56 | <property name="valid-values"> |
| 57 | <value>FirstVal</value> |
| 58 | <value>SecondVal</value> |
| 59 | <value>ThirdVal</value> |
| 60 | <value>FourthVal</value> |
| 61 | </property> |
| 62 | </cm-attribute> |
| 63 | <cm-attribute name="MyDualTypeAttr"> |
| 64 | <property name="attribute-value-runtime-type"> |
| 65 | <value>org.eclipse.jst.jsf.metadata.tests.MyStringArrayType</value> |
| 66 | </property> |
| 67 | <property name="valid-values"> |
| 68 | <value>AFirstVal</value> |
| 69 | <value>ASecondVal</value> |
| 70 | <value>AThirdVal</value> |
| 71 | <value>AFourthVal</value> |
| 72 | </property> |
| 73 | </cm-attribute> |
| 74 | <cm-attribute name="MyLongAttr"> |
| 75 | <property name="attribute-value-runtime-type"> |
| 76 | <value>org.eclipse.jst.jsf.metadata.tests.MyLongType</value> |
| 77 | </property> |
| 78 | </cm-attribute> |
| 79 | <cm-attribute name="MyMissingType"> |
| 80 | <property name="attribute-value-runtime-type"> |
| 81 | <value>org.eclipse.jst.jsf.metadata.tests.WhereIsIt</value> |
| 82 | </property> |
| 83 | </cm-attribute> |
| 84 | <cm-attribute name="ValidatorID"> |
| 85 | <property name="attribute-value-runtime-type"> |
| 86 | <value>org.eclipse.jst.jsf.metadataprocessors.IdentifierType</value> |
| 87 | </property> |
| 88 | <property name="identifier-type"> |
| 89 | <value>javax.faces.validator</value> |
| 90 | </property> |
| 91 | </cm-attribute> |
| 92 | </cm-element> |
| 93 | </grammar-annotation> |