// compute event type
int eventType = 0;
Constants types = new Constants(Event.class);
for (Iterator iter = eventTypes.iterator(); iter.hasNext();) {
Element evenTypeElement = (Element) iter.next();
eventType |= types.asNumber(DomUtils.getTextValue(evenTypeElement)).intValue();
}
definitionBuilder.addPropertyValue(EVENT_TYPE, new Integer(eventType));
}
List nodeTypeNames = DomUtils.getChildElementsByTagName(element, NODE_TYPE_NAME);