1:
37:
38:
39: package ;
40:
41: import ;
42:
43: import ;
44:
45:
48: public interface IIOMetadataFormat
49: {
50: int CHILD_POLICY_ALL = 1;
51: int CHILD_POLICY_CHOICE = 3;
52: int CHILD_POLICY_EMPTY = 0;
53: int CHILD_POLICY_MAX = 5;
54: int CHILD_POLICY_REPEAT = 5;
55: int CHILD_POLICY_SEQUENCE = 4;
56: int CHILD_POLICY_SOME = 2;
57: int DATATYPE_BOOLEAN = 1;
58: int DATATYPE_DOUBLE = 4;
59: int DATATYPE_FLOAT = 3;
60: int DATATYPE_INTEGER = 2;
61: int DATATYPE_STRING = 0;
62: int VALUE_ARBITRARY = 1;
63: int VALUE_ENUMERATION = 16;
64: int VALUE_LIST = 32;
65: int VALUE_NONE = 0;
66: int VALUE_RANGE = 2;
67: int VALUE_RANGE_MAX_INCLUSIVE = 10;
68: int VALUE_RANGE_MAX_INCLUSIVE_MASK = 8;
69: int VALUE_RANGE_MIN_INCLUSIVE = 6;
70: int VALUE_RANGE_MIN_INCLUSIVE_MASK = 4;
71: int VALUE_RANGE_MIN_MAX_INCLUSIVE = 14;
72:
73: boolean canNodeAppear (String elementName, ImageTypeSpecifier imageType);
74:
75: int getAttributeDataType (String elementName, String attrName);
76:
77: String getAttributeDefaultValue (String elementName, String attrName);
78:
79: String getAttributeDescription (String elementName, String attrName, Locale locale);
80:
81: String[] getAttributeEnumerations (String elementName, String attrName);
82:
83: int getAttributeListMaxLength (String elementName, String attrName);
84:
85: int getAttributeListMinLength (String elementName, String attrName);
86:
87: String getAttributeMaxValue (String elementName, String attrName);
88:
89: String getAttributeMinValue (String elementName, String attrName);
90:
91: String[] getAttributeNames (String elementName);
92:
93: int getAttributeValueType (String elementName, String attrName);
94:
95: String[] getChildNames (String elementName);
96:
97: int getChildPolicy (String elementName);
98:
99: String getElementDescription (String elementName, Locale locale);
100:
101: int getElementMaxChildren (String elementName);
102:
103: int getElementMinChildren (String elementName);
104:
105: int getObjectArrayMaxLength (String elementName);
106:
107: int getObjectArrayMinLength (String elementName);
108:
109: Class<?> getObjectClass (String elementName);
110:
111: Object getObjectDefaultValue (String elementName);
112:
113: Object[] getObjectEnumerations (String elementName);
114:
115: Comparable<?> getObjectMaxValue (String elementName);
116:
117: Comparable<?> getObjectMinValue (String elementName);
118:
119: int getObjectValueType (String elementName);
120:
121: String getRootName();
122:
123: boolean isAttributeRequired (String elementName, String attrName);
124: }