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="BooleanType"> |
| 9 | <property name="attribute-value-runtime-type"> |
| 10 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.BooleanType</value> |
| 11 | </property> |
| 12 | <property name="default-value"> |
| 13 | <value>true</value> |
| 14 | </property> |
| 15 | </cm-attribute> |
| 16 | <cm-attribute name="StringType"> |
| 17 | <property name="attribute-value-runtime-type"> |
| 18 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.StringType</value> |
| 19 | </property> |
| 20 | <property name="valid-values"> |
| 21 | <value>A</value> |
| 22 | <value>B</value> |
| 23 | <value>C</value> |
| 24 | <value>D</value> |
| 25 | </property> |
| 26 | <property name="displayed-values"> |
| 27 | <value>A FirstVal</value> |
| 28 | <value>B SecondVal</value> |
| 29 | <value>C ThirdVal</value> |
| 30 | <value>D FourthVal</value> |
| 31 | </property> |
| 32 | <property name = "small-icon"> |
| 33 | <value>/icons/foo.gif</value> |
| 34 | </property> |
| 35 | <property name = "default-value"> |
| 36 | <value>A</value> |
| 37 | </property> |
| 38 | </cm-attribute> |
| 39 | <cm-attribute name="IntegerType"> |
| 40 | <property name="attribute-value-runtime-type"> |
| 41 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.IntegerType</value> |
| 42 | </property> |
| 43 | <property name="valid-minimum"><value>0</value></property> |
| 44 | <property name="default-value"><value>10</value></property> |
| 45 | </cm-attribute> |
| 46 | <cm-attribute name="LongType"> |
| 47 | <property name="attribute-value-runtime-type"> |
| 48 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.LongType</value> |
| 49 | </property> |
| 50 | <property name="valid-minimum"><value>-1000</value></property> |
| 51 | <property name="valid-maximum"><value>1000</value></property> |
| 52 | </cm-attribute> |
| 53 | <cm-attribute name="DoubleType"> |
| 54 | <property name="attribute-value-runtime-type"> |
| 55 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.DoubleType</value> |
| 56 | </property> |
| 57 | <property name="valid-values"> |
| 58 | <value>188.23</value> |
| 59 | <value>245.32</value> |
| 60 | <value>1</value> |
| 61 | </property> |
| 62 | </cm-attribute> |
| 63 | <cm-attribute name="JavaClassType"> |
| 64 | <property name="attribute-value-runtime-type"> |
| 65 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.JavaClassType</value> |
| 66 | </property> |
| 67 | </cm-attribute> |
| 68 | <cm-attribute name="MethodBindingType"> |
| 69 | <property name="attribute-value-runtime-type"> |
| 70 | <value>org.eclipse.jst.jsf.taglibprocessing.attributevalues.MethodBindingType</value> |
| 71 | </property> |
| 72 | </cm-attribute> |
| 73 | </cm-element> |
| 74 | </grammar-annotation> |