bugged
stringlengths 6
599k
| fixed
stringlengths 6
40.8M
| __index_level_0__
int64 0
3.24M
|
---|---|---|
void onClosing() { control.synchPlaneSelected(view.getCurZ(), previousModel); view.dispose(); }
|
void onClosing() { view.dispose(); }
| 3,238,960 |
protected void addAttributeProperties(BeanDefinitionHolder definition, MappingMetaData metadata, String className, Element element) { NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } // we could use namespaced attributes to differentiate real spring // attributes from namespace-specific attributes if (isEmpty(uri) && !localName.equals("class")) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { // should we allow the property to shine through? PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
|
protected void addAttributeProperties(BeanDefinitionHolder definition, MappingMetaData metadata, String className, Element element) { NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } // we could use namespaced attributes to differentiate real spring // attributes from namespace-specific attributes if (isEmpty(uri) && !localName.equals("class")) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { // should we allow the property to shine through? PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
| 3,238,961 |
protected void addAttributeProperties(BeanDefinitionHolder definition, MappingMetaData metadata, String className, Element element) { NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } // we could use namespaced attributes to differentiate real spring // attributes from namespace-specific attributes if (isEmpty(uri) && !localName.equals("class")) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { // should we allow the property to shine through? PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
|
protected void addAttributeProperties(BeanDefinitionHolder definition, MappingMetaData metadata, String className, Element element) { NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } // we could use namespaced attributes to differentiate real spring // attributes from namespace-specific attributes if (isEmpty(uri) && !localName.equals("class")) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { // should we allow the property to shine through? PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
| 3,238,962 |
protected void addAttributeProperties(BeanDefinitionHolder definition, MappingMetaData metadata, String className, Element element) { NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } // we could use namespaced attributes to differentiate real spring // attributes from namespace-specific attributes if (isEmpty(uri) && !localName.equals("class")) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { // should we allow the property to shine through? PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
|
for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } protected for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } void for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } addAttributeProperties(BeanDefinitionHolder for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } definition, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } MappingMetaData for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } metadata, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } String for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } className, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } Element for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } element) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } NamedNodeMap for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (int for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } i for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } 0, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } size for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes.getLength(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } i for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } < for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } size; for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } i++) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } Attr for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attribute for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (Attr) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes.item(i); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } String for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } uri for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attribute.getNamespaceURI(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } String for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } localName for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attribute.getLocalName(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } if for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (localName for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } == for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } null for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } || for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } localName.equals("xmlns") for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } || for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } localName.startsWith("xmlns:")) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } continue; for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } // for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } we for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } could for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } use for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } namespaced for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } to for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } differentiate for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } real for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } spring for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } // for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } from for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } namespace-specific for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attributes for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } if for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (isEmpty(uri) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } && for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } !localName.equals("class")) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } boolean for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } addProperty for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } true; for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } if for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (reservedBeanAttributeNames.contains(localName)) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } // for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } should for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } we for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } allow for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } the for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } property for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } to for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } shine for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } through? for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } PropertyDescriptor for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } descriptor for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } getPropertyDescriptor(className, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } localName); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } addProperty for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } = for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } descriptor for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } != for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } null; for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } if for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } (addProperty) for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } { for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } addAttributeProperty(definition, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } metadata, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } element, for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } attribute); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); String localName = attribute.getLocalName(); if (localName == null || localName.equals("xmlns") || localName.startsWith("xmlns:")) { continue; } if (!isEmpty(uri) && uri.equals(element.getNamespaceURI())) { boolean addProperty = true; if (reservedBeanAttributeNames.contains(localName)) { PropertyDescriptor descriptor = getPropertyDescriptor(className, localName); addProperty = descriptor != null; } if (addProperty) { addAttributeProperty(definition, metadata, element, attribute); } } } }
| 3,238,963 |
protected void addAttributeProperty(BeanDefinitionHolder definition, MappingMetaData metadata, Element element, Attr attribute) { String localName = attribute.getName(); String value = attribute.getValue(); addProperty(definition, metadata, element, localName, value); }
|
protected void addAttributeProperty(BeanDefinitionHolder definition, MappingMetaData metadata, Element element, Attr attribute) { String localName = attribute.getLocalName(); String value = attribute.getValue(); addProperty(definition, metadata, element, localName, value); }
| 3,238,964 |
protected Element cloneElement(Element element) { Element answer = element.getOwnerDocument().createElement(getLocalName(element)); NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); answer.setAttributeNS(uri, attribute.getName(), attribute.getNodeValue()); } return answer; }
|
protected Element cloneElement(Element element) { Element answer = element.getOwnerDocument().createElementNS(element.getNamespaceURI(), element.getNodeName()); NamedNodeMap attributes = element.getAttributes(); for (int i = 0, size = attributes.getLength(); i < size; i++) { Attr attribute = (Attr) attributes.item(i); String uri = attribute.getNamespaceURI(); answer.setAttributeNS(uri, attribute.getName(), attribute.getNodeValue()); } return answer; }
| 3,238,965 |
private void loadThumbail(int index) throws ImageServerException { PixelsDescription pxd = images[index].getDefaultPixels(); int sizeX = maxWidth, sizeY = maxHeight; double ratio = (double) pxd.getSizeX()/pxd.getSizeY(); if (ratio < 1) sizeX *= ratio; else if (ratio > 1) sizeY *= ratio; BufferedImage thumbPix = context.getPixelsService().getThumbnail( pxd.getPixels(), sizeX, sizeY); currentThumbnail = new ThumbnailData(images[index].getID(), thumbPix); }
|
private void loadThumbail(int index) throws ImageServerException { PixelsDescription pxd = images[index].getDefaultPixels(); int sizeX = maxWidth, sizeY = maxHeight; double ratio = (double) pxd.getSizeX()/pxd.getSizeY(); if (ratio < 1) sizeX *= ratio; else if (ratio > 1 && ratio != 0) sizeY *= 1/ratio; BufferedImage thumbPix = context.getPixelsService().getThumbnail( pxd.getPixels(), sizeX, sizeY); currentThumbnail = new ThumbnailData(images[index].getID(), thumbPix); }
| 3,238,967 |
public List fullRetrieveUserDatasets(DatasetData dProto, ImageSummary iProto) throws DSOutOfServiceException, DSAccessException { //Make a new proto if none was provided. if (dProto == null) dProto = new DatasetData(); if (iProto == null) iProto = new ImageSummary(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = DatasetMapper.buildFullUserDatasetsCriteria(uc.getUserID()); //Load the graph defined by criteria. List datasets = (List) gateway.retrieveListData(Dataset.class, c); //List of dataset summary objects. List datasetsDS = null; //Put the server data into the corresponding client object. if (datasets != null) datasetsDS = DatasetMapper.fillFullUserDatasets(datasets, dProto,iProto); //can be null return datasetsDS; }
|
public List fullRetrieveUserDatasets(DatasetData dProto, ImageSummary iProto) throws DSOutOfServiceException, DSAccessException { //Make a new proto if none was provided. if (dProto == null) dProto = new DatasetData(); if (iProto == null) iProto = new ImageSummary(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = DatasetMapper.buildFullUserDatasetsCriteria(uc.getUserID()); //Load the graph defined by criteria. List datasets = (List) gateway.retrieveListData(Dataset.class, c); //List of dataset summary objects. List datasetsDS = null; //Put the server data into the corresponding client object. if (datasets != null) datasetsDS = DatasetMapper.fillFullUserDatasets(datasets, dProto,iProto); //can be null return datasetsDS; }
| 3,238,968 |
public List retrieveDatasetsTree(List datasetIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (datasetIDs.size() > LIMIT_FOR_IN) c = DatasetMapper.buildDatasetsTree(null); else c = DatasetMapper.buildDatasetsTree(datasetIDs); List datasets = (List) gateway.retrieveListData(Dataset.class, c); List results = new ArrayList(); if (datasets == null || datasets.size() == 0) return results; if (!annotated) { DatasetMapper.fillDatasetsTree(datasets, results, datasetIDs); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List ids = DatasetMapper.prepareListImagesID(datasets); if (ids.size() > LIMIT_FOR_IN) ids = null; c = AnnotationMapper.buildImageAnnotationCriteria(ids, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); DatasetMapper.fillDatasetsTree(datasets, results, datasetIDs, dsAnnotations, isAnnotations); return results; }
|
public List retrieveDatasetsTree(List datasetIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (datasetIDs.size() > LIMIT_FOR_IN) c = DatasetMapper.buildDatasetsTree(null); else c = DatasetMapper.buildDatasetsTree(datasetIDs); List datasets = (List) gateway.retrieveListData(Dataset.class, c); List results = new ArrayList(); if (datasets == null || datasets.size() == 0) return results; if (!annotated) { DatasetMapper.fillDatasetsTree(datasets, results, datasetIDs); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List ids = DatasetMapper.prepareListImagesID(datasets); if (ids.size() > LIMIT_FOR_IN) ids = null; c = AnnotationMapper.buildImageAnnotationCriteria(ids, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); DatasetMapper.fillDatasetsTree(datasets, results, datasetIDs, dsAnnotations, isAnnotations); return results; }
| 3,238,969 |
public List retrieveImagesWithAnnotations(int datasetID, ImageSummary retVal) throws DSOutOfServiceException, DSAccessException { //Create a new dataObject if none provided. //Object used as prototype. if (retVal == null) retVal = new ImageSummary(); //Define the criteria by which the object graph is pulled out. List datasetIDs = new ArrayList(); datasetIDs.add(new Integer(datasetID)); Criteria c = DatasetMapper.buildImagesCriteria(datasetIDs, null, null); //Load the graph defined by criteria. Dataset dataset = (Dataset) gateway.retrieveData(Dataset.class, c); //List of image summary object. List images = new ArrayList(); //Put the server data into the corresponding client object. if (dataset == null) return images; //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List ids = DatasetMapper.prepareListImagesID(dataset); if (ids.size() > LIMIT_FOR_IN) ids = null; c = AnnotationMapper.buildImageAnnotationCriteria(ids, uc.getUserID()); //if (ids != null && ids.size() != 0) { List l = (List) gateway.retrieveListSTSData("ImageAnnotation", c); DatasetMapper.fillListAnnotatedImages(dataset, retVal, l, images); //} return images; }
|
public List retrieveImagesWithAnnotations(int datasetID, ImageSummary retVal) throws DSOutOfServiceException, DSAccessException { //Create a new dataObject if none provided. //Object used as prototype. if (retVal == null) retVal = new ImageSummary(); //Define the criteria by which the object graph is pulled out. List datasetIDs = new ArrayList(); datasetIDs.add(new Integer(datasetID)); Criteria c = DatasetMapper.buildImagesCriteria(datasetIDs, null, null); //Load the graph defined by criteria. Dataset dataset = (Dataset) gateway.retrieveData(Dataset.class, c); //List of image summary object. List images = new ArrayList(); //Put the server data into the corresponding client object. if (dataset == null) return images; //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List ids = DatasetMapper.prepareListImagesID(dataset); c = AnnotationMapper.buildImageAnnotationCriteria(ids, uc.getUserID()); //if (ids != null && ids.size() != 0) { List l = (List) gateway.retrieveListSTSData("ImageAnnotation", c); DatasetMapper.fillListAnnotatedImages(dataset, retVal, l, images); //} return images; }
| 3,238,970 |
public List retrieveProjectsTree(List projectIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (projectIDs.size() > LIMIT_FOR_IN) c = ProjectMapper.buildProjectsTreeCriteria(null); else c = ProjectMapper.buildProjectsTreeCriteria(projectIDs); List projects = (List) gateway.retrieveListData(Project.class, c); List results = new ArrayList(); //Put the server data into the corresponding client object. if (projects == null || projects.size() == 0) return results; if (!annotated) { ProjectMapper.fillProjectsTree(projects, results, projectIDs); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List datasetIDs = ProjectMapper.prepareListDatasetsID(projects); List imageIDs = ProjectMapper.prepareListImagesID(projects); if (datasetIDs.size() > LIMIT_FOR_IN) datasetIDs = null; c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); if (imageIDs.size() > LIMIT_FOR_IN) imageIDs = null; c = AnnotationMapper.buildImageAnnotationCriteria(imageIDs, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); ProjectMapper.fillProjectsTree(projects, results, projectIDs, dsAnnotations, isAnnotations); return results; }
|
public List retrieveProjectsTree(List projectIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (projectIDs.size() > LIMIT_FOR_IN) c = ProjectMapper.buildProjectsTreeCriteria(null); else c = ProjectMapper.buildProjectsTreeCriteria(projectIDs); List projects = (List) gateway.retrieveListData(Project.class, c); List results = new ArrayList(); //Put the server data into the corresponding client object. if (projects == null || projects.size() == 0) return results; if (!annotated) { ProjectMapper.fillProjectsTree(projects, results, projectIDs); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List datasetIDs = ProjectMapper.prepareListDatasetsID(projects); List imageIDs = ProjectMapper.prepareListImagesID(projects); if (datasetIDs.size() > LIMIT_FOR_IN) datasetIDs = null; c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); if (imageIDs.size() > LIMIT_FOR_IN) imageIDs = null; c = AnnotationMapper.buildImageAnnotationCriteria(imageIDs, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); ProjectMapper.fillProjectsTree(projects, results, projectIDs, dsAnnotations, isAnnotations); return results; }
| 3,238,972 |
public List retrieveProjectsTree(List projectIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (projectIDs.size() > LIMIT_FOR_IN) c = ProjectMapper.buildProjectsTreeCriteria(null); else c = ProjectMapper.buildProjectsTreeCriteria(projectIDs); List projects = (List) gateway.retrieveListData(Project.class, c); List results = new ArrayList(); //Put the server data into the corresponding client object. if (projects == null || projects.size() == 0) return results; if (!annotated) { ProjectMapper.fillProjectsTree(projects, results, projectIDs); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List datasetIDs = ProjectMapper.prepareListDatasetsID(projects); List imageIDs = ProjectMapper.prepareListImagesID(projects); if (datasetIDs.size() > LIMIT_FOR_IN) datasetIDs = null; c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); if (imageIDs.size() > LIMIT_FOR_IN) imageIDs = null; c = AnnotationMapper.buildImageAnnotationCriteria(imageIDs, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); ProjectMapper.fillProjectsTree(projects, results, projectIDs, dsAnnotations, isAnnotations); return results; }
|
public List retrieveProjectsTree(List projectIDs, boolean annotated) throws DSOutOfServiceException, DSAccessException { Criteria c; if (projectIDs.size() > LIMIT_FOR_IN) c = ProjectMapper.buildProjectsTreeCriteria(null); else c = ProjectMapper.buildProjectsTreeCriteria(projectIDs); List projects = (List) gateway.retrieveListData(Project.class, c); List results = new ArrayList(); //Put the server data into the corresponding client object. if (projects == null || projects.size() == 0) return results; if (!annotated) { ProjectMapper.fillProjectsTree(projects, results, projectIDs, null, null); return results; } //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); List datasetIDs = ProjectMapper.prepareListDatasetsID(projects); List imageIDs = ProjectMapper.prepareListImagesID(projects); if (datasetIDs.size() > LIMIT_FOR_IN) datasetIDs = null; c = AnnotationMapper.buildDatasetAnnotationCriteria(datasetIDs, uc.getUserID()); List dsAnnotations = (List) gateway.retrieveListSTSData("DatasetAnnotation", c); if (imageIDs.size() > LIMIT_FOR_IN) imageIDs = null; c = AnnotationMapper.buildImageAnnotationCriteria(imageIDs, uc.getUserID()); List isAnnotations = (List) gateway.retrieveListSTSData("ImageAnnotation", c); ProjectMapper.fillProjectsTree(projects, results, projectIDs, dsAnnotations, isAnnotations); return results; }
| 3,238,973 |
public List retrieveUserDatasets(DatasetSummary dProto) throws DSOutOfServiceException, DSAccessException { //Make a new proto if none was provided. if (dProto == null) dProto = new DatasetSummary(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = DatasetMapper.buildUserDatasetsCriteria(uc.getUserID()); //Load the graph defined by criteria. List datasets = (List) gateway.retrieveListData(Dataset.class, c); //List of dataset summary objects. List datasetsDS = null; //Put the server data into the corresponding client object. if (datasets != null) datasetsDS = DatasetMapper.fillUserDatasets(datasets, dProto); //can be null return datasetsDS; }
|
public List retrieveUserDatasets(DatasetSummary dProto) throws DSOutOfServiceException, DSAccessException { //Make a new proto if none was provided. if (dProto == null) dProto = new DatasetSummary(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = DatasetMapper.buildUserDatasetsCriteria(uc.getUserID()); //Load the graph defined by criteria. List datasets = (List) gateway.retrieveListData(Dataset.class, c); //List of dataset summary objects. List datasetsDS = null; //Put the server data into the corresponding client object. if (datasets != null) datasetsDS = DatasetMapper.fillUserDatasets(datasets, dProto); //can be null return datasetsDS; }
| 3,238,975 |
public List retrieveUserProjectsWithDatasetData(ProjectSummary pProto, DatasetData dProto) throws DSOutOfServiceException, DSAccessException { //Make new protos if none was provided. if (pProto == null) pProto = new ProjectSummary(); if (dProto == null) dProto = new DatasetData(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = ProjectMapper.buildUserProjectsCriteria(uc.getUserID()); //Load the graph defined by criteria. List projects = (List) gateway.retrieveListData(Project.class, c); //List of project summary objects. List projectsDS = null; if (projects != null) //Put the server data into the corresponding client object. projectsDS = ProjectMapper.fillUserProjectsWithDatasetData( projects, pProto, dProto); //can be null return projectsDS; }
|
public List retrieveUserProjectsWithDatasetData(ProjectSummary pProto, DatasetData dProto) throws DSOutOfServiceException, DSAccessException { //Make new protos if none was provided. if (pProto == null) pProto = new ProjectSummary(); if (dProto == null) dProto = new DatasetData(); //Retrieve the user ID. UserCredentials uc = (UserCredentials) registry.lookup(LookupNames.USER_CREDENTIALS); //Define the criteria by which the object graph is pulled out. Criteria c = ProjectMapper.buildUserProjectsCriteria(uc.getUserID()); //Load the graph defined by criteria. List projects = (List) gateway.retrieveListData(Project.class, c); //List of project summary objects. List projectsDS = null; if (projects != null) //Put the server data into the corresponding client object. projectsDS = ProjectMapper.fillUserProjectsWithDatasetData( projects, pProto, dProto); //can be null return projectsDS; }
| 3,238,976 |
public void propertyChange(PropertyChangeEvent evt) { String name = evt.getPropertyName(); if (name.equals(ImViewer.Z_SELECTED_PROPERTY) || name.equals(ImViewer.T_SELECTED_PROPERTY)) { //retrieve plane statistics for specific channel. } else if (name.equals( CodomainMapContextDialog.UPDATE_MAP_CONTEXT_PROPERTY)) { CodomainMapContext ctx = (CodomainMapContext) evt.getNewValue(); model.updateCodomainMap(ctx); } else if (name.equals(ControlPane.FAMILY_PROPERTY)) { String oldValue = (String) evt.getOldValue(); String newValue = (String) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setFamily(newValue); } else if (name.equals(ControlPane.GAMMA_PROPERTY)) { Double oldValue = (Double) evt.getOldValue(); Double newValue = (Double) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setCurveCoefficient(newValue.doubleValue()); } else if (name.equals(ControlPane.BIT_RESOLUTION_PROPERTY)) { Integer oldValue = (Integer) evt.getOldValue(); Integer newValue = (Integer) evt.getNewValue(); if (newValue.equals(oldValue)) return; model.setBitResolution(newValue.intValue()); } else if (name.equals(ChannelToggleButton.CHANNEL_PICKED_PROPERTY)) { int v = ((Integer) evt.getNewValue()).intValue(); model.setSelectedChannel(v); } else if (name.equals(ImViewer.CHANNEL_ACTIVE_PROPERTY)) { //int v = ((Integer) evt.getNewValue()).intValue(); //model.setSelectedChannel(v); } else if (name.equals(ImViewer.ICONIFIED_PROPERTY)) { if (((Boolean) evt.getNewValue()).booleanValue()) view.iconify(); //else view.deIconify(); } else if (name.equals(Renderer.INPUT_INTERVAL_PROPERTY)) { view.setInputInterval(); } else if (name.equals(ImViewer.CHANNEL_COLOR_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. int newValue = ((Integer) evt.getNewValue()).intValue(); model.setChannelButtonColor(newValue); } else if (name.equals(ImViewer.COLOR_MODEL_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. model.setColorModelChanged(); } }
|
public void propertyChange(PropertyChangeEvent evt) { String name = evt.getPropertyName(); if (name.equals(ImViewer.Z_SELECTED_PROPERTY) || name.equals(ImViewer.T_SELECTED_PROPERTY)) { //retrieve plane statistics for specific channel. } else if (name.equals( CodomainMapContextDialog.UPDATE_MAP_CONTEXT_PROPERTY)) { CodomainMapContext ctx = (CodomainMapContext) evt.getNewValue(); model.updateCodomainMap(ctx); } else if (name.equals(ControlPane.FAMILY_PROPERTY)) { String oldValue = (String) evt.getOldValue(); String newValue = (String) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); } else if (name.equals(ControlPane.GAMMA_PROPERTY)) { Double oldValue = (Double) evt.getOldValue(); Double newValue = (Double) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setCurveCoefficient(newValue.doubleValue()); } else if (name.equals(ControlPane.BIT_RESOLUTION_PROPERTY)) { Integer oldValue = (Integer) evt.getOldValue(); Integer newValue = (Integer) evt.getNewValue(); if (newValue.equals(oldValue)) return; model.setBitResolution(newValue.intValue()); } else if (name.equals(ChannelToggleButton.CHANNEL_PICKED_PROPERTY)) { int v = ((Integer) evt.getNewValue()).intValue(); model.setSelectedChannel(v); } else if (name.equals(ImViewer.CHANNEL_ACTIVE_PROPERTY)) { //int v = ((Integer) evt.getNewValue()).intValue(); //model.setSelectedChannel(v); } else if (name.equals(ImViewer.ICONIFIED_PROPERTY)) { if (((Boolean) evt.getNewValue()).booleanValue()) view.iconify(); //else view.deIconify(); } else if (name.equals(Renderer.INPUT_INTERVAL_PROPERTY)) { view.setInputInterval(); } else if (name.equals(ImViewer.CHANNEL_COLOR_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. int newValue = ((Integer) evt.getNewValue()).intValue(); model.setChannelButtonColor(newValue); } else if (name.equals(ImViewer.COLOR_MODEL_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. model.setColorModelChanged(); } }
| 3,238,977 |
public void propertyChange(PropertyChangeEvent evt) { String name = evt.getPropertyName(); if (name.equals(ImViewer.Z_SELECTED_PROPERTY) || name.equals(ImViewer.T_SELECTED_PROPERTY)) { //retrieve plane statistics for specific channel. } else if (name.equals( CodomainMapContextDialog.UPDATE_MAP_CONTEXT_PROPERTY)) { CodomainMapContext ctx = (CodomainMapContext) evt.getNewValue(); model.updateCodomainMap(ctx); } else if (name.equals(ControlPane.FAMILY_PROPERTY)) { String oldValue = (String) evt.getOldValue(); String newValue = (String) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setFamily(newValue); } else if (name.equals(ControlPane.GAMMA_PROPERTY)) { Double oldValue = (Double) evt.getOldValue(); Double newValue = (Double) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setCurveCoefficient(newValue.doubleValue()); } else if (name.equals(ControlPane.BIT_RESOLUTION_PROPERTY)) { Integer oldValue = (Integer) evt.getOldValue(); Integer newValue = (Integer) evt.getNewValue(); if (newValue.equals(oldValue)) return; model.setBitResolution(newValue.intValue()); } else if (name.equals(ChannelToggleButton.CHANNEL_PICKED_PROPERTY)) { int v = ((Integer) evt.getNewValue()).intValue(); model.setSelectedChannel(v); } else if (name.equals(ImViewer.CHANNEL_ACTIVE_PROPERTY)) { //int v = ((Integer) evt.getNewValue()).intValue(); //model.setSelectedChannel(v); } else if (name.equals(ImViewer.ICONIFIED_PROPERTY)) { if (((Boolean) evt.getNewValue()).booleanValue()) view.iconify(); //else view.deIconify(); } else if (name.equals(Renderer.INPUT_INTERVAL_PROPERTY)) { view.setInputInterval(); } else if (name.equals(ImViewer.CHANNEL_COLOR_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. int newValue = ((Integer) evt.getNewValue()).intValue(); model.setChannelButtonColor(newValue); } else if (name.equals(ImViewer.COLOR_MODEL_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. model.setColorModelChanged(); } }
|
public void propertyChange(PropertyChangeEvent evt) { String name = evt.getPropertyName(); if (name.equals(ImViewer.Z_SELECTED_PROPERTY) || name.equals(ImViewer.T_SELECTED_PROPERTY)) { //retrieve plane statistics for specific channel. } else if (name.equals( CodomainMapContextDialog.UPDATE_MAP_CONTEXT_PROPERTY)) { CodomainMapContext ctx = (CodomainMapContext) evt.getNewValue(); model.updateCodomainMap(ctx); } else if (name.equals(ControlPane.FAMILY_PROPERTY)) { String oldValue = (String) evt.getOldValue(); String newValue = (String) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); model.setFamily(newValue); } else if (name.equals(ControlPane.GAMMA_PROPERTY)) { Double oldValue = (Double) evt.getOldValue(); Double newValue = (Double) evt.getNewValue(); if (newValue.equals(oldValue)) return; view.onCurveChange(); } else if (name.equals(ControlPane.BIT_RESOLUTION_PROPERTY)) { Integer oldValue = (Integer) evt.getOldValue(); Integer newValue = (Integer) evt.getNewValue(); if (newValue.equals(oldValue)) return; model.setBitResolution(newValue.intValue()); } else if (name.equals(ChannelToggleButton.CHANNEL_PICKED_PROPERTY)) { int v = ((Integer) evt.getNewValue()).intValue(); model.setSelectedChannel(v); } else if (name.equals(ImViewer.CHANNEL_ACTIVE_PROPERTY)) { //int v = ((Integer) evt.getNewValue()).intValue(); //model.setSelectedChannel(v); } else if (name.equals(ImViewer.ICONIFIED_PROPERTY)) { if (((Boolean) evt.getNewValue()).booleanValue()) view.iconify(); //else view.deIconify(); } else if (name.equals(Renderer.INPUT_INTERVAL_PROPERTY)) { view.setInputInterval(); } else if (name.equals(ImViewer.CHANNEL_COLOR_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. int newValue = ((Integer) evt.getNewValue()).intValue(); model.setChannelButtonColor(newValue); } else if (name.equals(ImViewer.COLOR_MODEL_CHANGE_PROPERTY)) { // DO SOME UPDATES ON THE CHANNEL TOGGLE BUTTON MODEL. model.setColorModelChanged(); } }
| 3,238,978 |
public Object getProperty(final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc = null; if (names[start] instanceof String) { prop = (String) names[start]; } else if (names[start] instanceof PropertyMethod) { PropertyMethod pm = (PropertyMethod) names[start]; prop = pm.getName(); acc = (Accessor) _directAccessors.get(prop); Object[] args = pm.getArguments(context); if (acc == null) { if (isMethodRestricted(instance.getClass(), prop)) throw new PropertyException.RestrictedMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); throw new PropertyException.NoSuchMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); } try { nextProp = acc.get(instance,args); start++; } catch (NoSuchMethodException e) { throw new PropertyException.NoSuchMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); } } else { prop = names[start].toString(); } // unary? if (acc == null) { acc = (Accessor) _unaryAccessors.get(prop); if (acc != null) { try { nextProp = acc.get(instance); start++; } catch (NoSuchMethodException e) { acc = null; } } } // binary? if (acc == null) { acc = (Accessor) _binaryAccessors.get(prop); if ((acc != null) && ( (start+1) <= end) ) { try { nextProp = acc.get(instance, (String) names[start + 1]); start += 2; } catch (NoSuchMethodException e) { acc = null; } catch (ClassCastException e) { // names[start + 1] was not a String, just move on // this catch is more efficient than using instanceof // since 90% of the time it really will be a string acc = null; } } else { acc = null; } } // hash? if (acc == null) { acc = _hashAccessor; try { if (acc != null) { nextProp = acc.get(instance,prop); start++; } } catch (NoSuchMethodException e) { acc = null; } } if (acc == null) { // user tried to access a property of a property that doesn't exist // ex: $TestObject.FirstName.NotThere // check if object is restricted if (isMethodRestricted(instance.getClass(), "get" + prop) || isMethodRestricted(instance.getClass(), "set" + prop)) throw new PropertyException.RestrictedPropertyException( prop, fillInName(names, start), instance.getClass().getName()); throw new PropertyException.NoSuchPropertyException( prop, fillInName(names, start), instance.getClass().getName()); } if (start <= end) { try { return _cache.getOperator(nextProp) .getProperty(context,nextProp,names,start,end); } catch (NullPointerException e) { // will we ever get here? --eric throw new PropertyException("No way to access property " + names[start] + " on object " + instance + " of " + instance.getClass() + "--possibly null?"); } } else { return nextProp; } }
|
public Object getProperty(final Context context, final Object instance, final Object[] names, int start, int end) throws PropertyException { String prop; Object nextProp = null; Accessor acc = null; if (names[start] instanceof String) { prop = (String) names[start]; } else if (names[start] instanceof PropertyMethod) { PropertyMethod pm = (PropertyMethod) names[start]; prop = pm.getName(); acc = (Accessor) _directAccessors.get(prop); Object[] args = pm.getArguments(context); if (acc == null) { if (isMethodRestricted(instance.getClass(), prop)) throw new PropertyException.RestrictedMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); throw new PropertyException.NoSuchMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); } try { nextProp = acc.get(instance,args); start++; } catch (NoSuchMethodException e) { throw new PropertyException.NoSuchMethodException( pm.toString(), fillInName(names, start), instance.getClass().getName()); } } else { prop = names[start].toString(); } // unary? if (acc == null) { acc = (Accessor) _unaryAccessors.get(prop); if (acc != null) { try { nextProp = acc.get(instance); start++; } catch (NoSuchMethodException e) { acc = null; } } } // binary? if (acc == null) { acc = (Accessor) _binaryAccessors.get(prop); if ((acc != null) && ( (start+1) <= end) ) { try { nextProp = acc.get(instance, (String) names[start + 1]); start += 2; } catch (NoSuchMethodException e) { acc = null; } catch (ClassCastException e) { // names[start + 1] was not a String, just move on // this catch is more efficient than using instanceof // since 90% of the time it really will be a string acc = null; } } else { acc = null; } } // hash? if (acc == null) { acc = _hashAccessor; try { if (acc != null) { nextProp = acc.get(instance,prop); start++; } } catch (NoSuchMethodException e) { acc = null; } } if (acc == null) { // user tried to access a property of a property that doesn't exist // ex: $TestObject.FirstName.NotThere // check if object is restricted if (isMethodRestricted(instance.getClass(), "get" + prop) || isMethodRestricted(instance.getClass(), "set" + prop)) throw new PropertyException.RestrictedPropertyException( prop, fillInName(names, start), instance.getClass().getName()); throw new PropertyException.NoSuchPropertyException( prop, fillInName(names, start), instance.getClass().getName()); } if (start <= end) { try { return _cache.getOperator(nextProp) .getProperty(context,nextProp,names,start,end); } catch (NullPointerException e) { // will we ever get here? --eric throw new PropertyException("No way to access property " + fillInName(names, start) + " on object " + instance + " of " + instance.getClass() + "--possibly null?"); } } else { return nextProp; } }
| 3,238,980 |
public void copy(IObject model, ModelMapper mapper) { if (model instanceof ExperimenterGroup) { ExperimenterGroup grp = (ExperimenterGroup) model; super.copy(model,mapper); // Details if (grp.getDetails() != null){ this.setOwner((ExperimenterData) mapper.findTarget(grp.getDetails().getOwner())); } // Fields this.setName(grp.getName()); // Collections MapperBlock block = new MapperBlock( mapper ); setExperimenters( new HashSet(grp.eachLinkedExperimenter( block ))); } else { throw new IllegalArgumentException( "GroupData can only copy from Group, not "+ model.getClass().getName()); // TODO all errors like this. } }
|
public void copy(IObject model, ModelMapper mapper) { if (model instanceof ExperimenterGroup) { ExperimenterGroup grp = (ExperimenterGroup) model; super.copy(model,mapper); // Details if (grp.getDetails() != null){ this.setOwner((ExperimenterData) mapper.findTarget(grp.getDetails().getOwner())); } // Fields this.setName(grp.getName()); // Collections MapperBlock block = new MapperBlock( mapper ); setExperimenters( makeSet( grp.sizeOfGroupExperimenterMap(), grp.eachLinkedExperimenter( block ))); } else { throw new IllegalArgumentException( "GroupData can only copy from Group, not "+ model.getClass().getName()); // TODO all errors like this. } }
| 3,238,981 |
protected void initializeContent() { setId(EDIT_ARTICLE_BLOCK_ID); if(clearOnInit){ getArticleItemBean().clear(); } // WFUtil.invoke(EDIT_ARTICLES_BEAN_ID, "setArticleLinkListener", this, ActionListener.class); add(getEditContainer()); }
|
protected void initializeContent() { setId(EDIT_ARTICLE_BLOCK_ID); if(clearOnInit){ getArticleItemBean().clear(); } // WFUtil.invoke(EDIT_ARTICLES_BEAN_ID, "setArticleLinkListener", this, ActionListener.class); add(getEditContainer()); }
| 3,238,982 |
public void mousePressed(MouseEvent e) { if (e.getClickCount() == 1 && click) { Point p = new Point(e.getPoint()); //view.resetLens(); if (!dragging && onOff && drawingArea.contains(p)) { dragging = true; drawLens(p); } } else if (e.getClickCount() == 2 && !click) control.showInspector(); }
|
publicvoidmousePressed(MouseEvente){if(e.getClickCount()==1&&click){Pointp=newPoint(e.getPoint());//view.resetLens();if(!dragging&&onOff&&drawingArea.contains(p)){dragging=true;drawLens(p);}}elseif(e.getClickCount()==2&&!click)control.showInspector();}
| 3,238,983 |
public void mouseReleased(MouseEvent e) { dragging = false; if (onOff && !pin) { view.resetLens(); //view.repaint(); } }
|
public void mouseReleased(MouseEvent e) { dragging = false; if (onOff && !pin) { view.resetLens(); //view.repaint(); } }
| 3,238,984 |
public void setPin(boolean b) { pin = b; if (pin && anchor != null) drawLens(anchor); else if (!pin) view.resetLens(); //view.repaint(); }
|
public void setPin(boolean b) { pin = b; if (pin && anchor != null) drawLens(anchor); else if (!pin) view.resetLens(); //view.repaint(); }
| 3,238,986 |
private void onClosing() { //control.setMagFactor(curZoomLevel); canvas.resetLens(); canvas.repaint(); view.dispose(); }
|
private void onClosing() { //control.setMagFactor(curZoomLevel); canvas.resetLens(); canvas.repaint(); view.dispose(); }
| 3,238,987 |
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method: " + id.toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
|
public NODE getMethodBody(RubyId id, int scope) { NODE body = searchMethod(id); // ?? if (body == null) { System.out.println("Cant find method \"" + id.toName() + "\" in class " + toName()); return null; } // ?? // ... cache body = body.nd_body(); if (body.nd_type() == NODE_FBODY) { body = body.nd_head(); } return body; }
| 3,238,988 |
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
|
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", standardError); RubyClass rangeError = defineClass("RangeError", standardError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
| 3,238,989 |
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
|
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
| 3,238,990 |
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
|
private void initCoreClasses() { ObjectMetaClass objectMetaClass = new ObjectMetaClass(this); objectMetaClass.initializeClass(); objectClass = objectMetaClass; objectClass.setConstant("Object", objectClass); RubyClass moduleClass = new ModuleMetaClass(this, objectClass); objectClass.setConstant("Module", moduleClass); RubyClass classClass = new RubyClass(this, null /* Would be Class if it could */, moduleClass, null, "Class"); objectClass.setConstant("Class", classClass); // I don't think the containment is correct here (parent cref) RubyClass metaClass = objectClass.makeMetaClass(classClass, objectMetaClass.getCRef()); metaClass = moduleClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); metaClass = classClass.makeMetaClass(metaClass, objectMetaClass.getCRef()); ((ObjectMetaClass) moduleClass).initializeBootstrapClass(); objectClass.includeModule(RubyKernel.createKernelModule(this)); RubyClass.createClassClass(classClass); RubyNil.createNilClass(this); // We cannot define this constant until nil itself was made objectClass.defineConstant("NIL", getNil()); // Pre-create the core classes we know we will get referenced by starting up the runtime. RubyBoolean.createFalseClass(this); RubyBoolean.createTrueClass(this); RubyComparable.createComparable(this); defineModule("Enumerable"); // Impl: src/builtin/enumerable.rb new StringMetaClass(this).initializeClass(); new SymbolMetaClass(this).initializeClass(); RubyThreadGroup.createThreadGroupClass(this); RubyThread.createThreadClass(this); RubyException.createExceptionClass(this); new NumericMetaClass(this).initializeClass(); new IntegerMetaClass(this).initializeClass(); new FixnumMetaClass(this).initializeClass(); new HashMetaClass(this).initializeClass(); new IOMetaClass(this).initializeClass(); new ArrayMetaClass(this).initializeClass(); Java.createJavaModule(this); RubyStruct.createStructClass(this); RubyFloat.createFloatClass(this); new BignumMetaClass(this).initializeClass(); new BindingMetaClass(this).initializeClass(); RubyMath.createMathModule(this); // depends on all numeric types RubyRegexp.createRegexpClass(this); RubyRange.createRangeClass(this); RubyObjectSpace.createObjectSpaceModule(this); RubyGC.createGCModule(this); new ProcMetaClass(this).initializeClass(); RubyMethod.createMethodClass(this); RubyMatchData.createMatchDataClass(this); RubyMarshal.createMarshalModule(this); RubyDir.createDirClass(this); RubyFileTest.createFileTestModule(this); new FileMetaClass(this).initializeClass(); // depends on IO, FileTest RubyPrecision.createPrecisionModule(this); RubyProcess.createProcessModule(this); new TimeMetaClass(this).initializeClass(); RubyUnboundMethod.defineUnboundMethodClass(this); RubyClass exceptionClass = getClass("Exception"); RubyClass standardError = defineClass("StandardError", exceptionClass); RubyClass runtimeError = defineClass("RuntimeError", standardError); RubyClass ioError = defineClass("IOError", standardError); RubyClass scriptError = defineClass("ScriptError", exceptionClass); RubyClass nameError = defineClass("NameError", scriptError); defineClass("SystemExit", exceptionClass); defineClass("Fatal", exceptionClass); defineClass("Interrupt", exceptionClass); defineClass("SignalException", exceptionClass); defineClass("TypeError", standardError); defineClass("ArgumentError", standardError); defineClass("IndexError", standardError); defineClass("RangeError", standardError); defineClass("SyntaxError", scriptError); defineClass("LoadError", scriptError); defineClass("NotImplementedError", scriptError); defineClass("NoMethodError", nameError); defineClass("SecurityError", standardError); defineClass("NoMemoryError", exceptionClass); defineClass("RegexpError", standardError); defineClass("EOFError", ioError); defineClass("LocalJumpError", standardError); defineClass("ThreadError", standardError); defineClass("SystemStackError", exceptionClass); NativeException.createClass(this, runtimeError); systemCallError = defineClass("SystemCallError", standardError); errnoModule = defineModule("Errno"); initErrnoErrors(); getLoadService().addAutoload("UnboundMethod", new IAutoloadMethod() { public IRubyObject load(IRuby ruby, String name) { return RubyUnboundMethod.defineUnboundMethodClass(ruby); } }); }
| 3,238,991 |
List getImagesDiffInUserDatasets() { return control.getImagesDiffInUserDatasetsNotInCategoryGroup(model); }
|
List getImagesDiffInUserDatasets(List datasets) { return control.getImagesDiffInUserDatasetsNotInCategoryGroup(model); }
| 3,238,993 |
List getImagesDiffInUserDatasets() { return control.getImagesDiffInUserDatasetsNotInCategoryGroup(model); }
|
List getImagesDiffInUserDatasets() { return control.getImagesDiffInUserDatasetsNotInCategoryGroup(model, datasets); }
| 3,238,994 |
public IRubyObject create(IRubyObject[] args) { RubyHash hash = new RubyHash(getRuntime()); if (args.length == 1) { hash.setValueMap(new HashMap(((RubyHash) args[0]).getValueMap())); } else if (args.length % 2 != 0) { throw getRuntime().newArgumentError("odd number of args for Hash"); } else { for (int i = 0; i < args.length; i += 2) { hash.aset(args[i], args[i + 1]); } } return hash; }
|
public IRubyObject create(IRubyObject[] args) { RubyHash hash = (RubyHash)allocateObject(); if (args.length == 1) { hash.setValueMap(new HashMap(((RubyHash) args[0]).getValueMap())); } else if (args.length % 2 != 0) { throw getRuntime().newArgumentError("odd number of args for Hash"); } else { for (int i = 0; i < args.length; i += 2) { hash.aset(args[i], args[i + 1]); } } return hash; }
| 3,238,995 |
public IRubyObject newInstance(IRubyObject[] args) { IRuby runtime = getRuntime(); RubyHash hash = new RubyHash(runtime); // A block to represent 'default' value for unknown values if (runtime.getCurrentContext().isBlockGiven()) { hash.setDefaultProc(runtime.newProc()); } hash.setMetaClass(this); hash.callInit(args); return hash; }
|
public IRubyObject newInstance(IRubyObject[] args) { IRuby runtime = getRuntime(); RubyHash hash = (RubyHash)allocateObject(); // A block to represent 'default' value for unknown values if (runtime.getCurrentContext().isBlockGiven()) { hash.setDefaultProc(runtime.newProc()); } hash.setMetaClass(this); hash.callInit(args); return hash; }
| 3,238,996 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } else reloadRoot = false; } }
|
private void buildTreeNode(TreeImageDisplay parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } else reloadRoot = false; } }
| 3,238,997 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } else reloadRoot = false; } }
|
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } else reloadRoot = false; } }
| 3,238,998 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } else reloadRoot = false; } }
|
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } else { buildTreeNode(display, sorter.sort(children), tm); } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; parent.removeAllChildren(); while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } else { buildTreeNode(display, sorter.sort(children), tm); } } else { buildTreeNode(display, sorter.sort(children), tm); } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } else { buildTreeNode(display, sorter.sort(children), tm); } } else { buildTreeNode(display, sorter.sort(children), tm); } else reloadRoot = false; } else { buildTreeNode(display, sorter.sort(children), tm); } }
| 3,238,999 |
private void expandNode(DefaultMutableTreeNode node) { //First remove listener otherwise an event is fired. treeDisplay.removeTreeExpansionListener(listener); treeDisplay.expandPath(new TreePath(node.getPath())); treeDisplay.addTreeExpansionListener(listener); }
|
private void expandNode(TreeImageDisplay node) { //First remove listener otherwise an event is fired. treeDisplay.removeTreeExpansionListener(listener); treeDisplay.expandPath(new TreePath(node.getPath())); treeDisplay.addTreeExpansionListener(listener); }
| 3,239,001 |
void setViews(Set nodes, boolean reload) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
|
void setViews(Set nodes) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
| 3,239,004 |
void setViews(Set nodes, boolean reload) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
|
void setViews(Set nodes, boolean reload) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
| 3,239,005 |
void setViews(Set nodes, boolean reload) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
|
void setViews(Set nodes, boolean reload) { DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); root.removeAllChildren(); root.setChildrenLoaded(Boolean.TRUE); dtm.reload(); if (nodes.size() != 0) { Iterator i = nodes.iterator(); while (i.hasNext()) root.addChildDisplay((TreeImageDisplay) i.next()) ; buildTreeNode(root, sorter.sort(nodes), (DefaultTreeModel) treeDisplay.getModel()); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
| 3,239,006 |
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); root.removeAllChildren(); dtm.reload(root); if (children.size() != 0) { buildTreeNode(root, sorter.sort(children), dtm); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (reload) dtm.reload(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
|
void sortNodes(int type) { sorter.setByDate(type == Browser.SORT_NODES_BY_DATE); DefaultTreeModel dtm = (DefaultTreeModel) treeDisplay.getModel(); TreeImageDisplay root = (TreeImageDisplay) dtm.getRoot(); boolean reload = false; Set children = root.getChildrenDisplay(); root.removeAllChildren(); dtm.reload(root); if (children.size() != 0) { buildTreeNode(root, sorter.sort(children), dtm); if (!reload) reload = reloadRoot; } else buildEmptyNode(root); if (!model.isMainTree()) loadGoIntoTree(); reloadRoot = true; }
| 3,239,007 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,009 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); window.setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,010 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); window.add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,011 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); window.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,012 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,013 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); window.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
| 3,239,014 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); window.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.setText(contact); }
| 3,239,015 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); window.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.setText(contact); }
| 3,239,016 |
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } } }); contactField.setText(contact); }
|
public void searchContacts(String contact, JFrame parent) { final Map contactMap = new HashMap(); final Set contacts = new HashSet(); final ContactList contactList = SparkManager.getWorkspace().getContactList(); Iterator groups = contactList.getContactGroups().iterator(); while (groups.hasNext()) { ContactGroup group = (ContactGroup)groups.next(); Iterator contactItems = group.getContactItems().iterator(); while (contactItems.hasNext()) { ContactItem item = (ContactItem)contactItems.next(); if (contactMap.get(item.getNickname()) == null) { contacts.add(item); contactMap.put(item.getNickname(), item); } } } final JWindow frame = new JWindow(parent); final JContactItemField contactField = new JContactItemField(new ArrayList(contacts), frame); JPanel layoutPanel = new JPanel(); layoutPanel.setLayout(new GridBagLayout()); frame.getContentPane().setLayout(new BorderLayout()); JLabel enterLabel = new JLabel(Res.getString("label.contact.to.find")); enterLabel.setFont(new Font("dialog", Font.BOLD, 10)); layoutPanel.add(enterLabel, new GridBagConstraints(0, 0, 1, 1, 0.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 0, 5), 0, 0)); layoutPanel.add(contactField, new GridBagConstraints(0, 1, 1, 1, 1.0, 0.0, GridBagConstraints.WEST, GridBagConstraints.HORIZONTAL, new Insets(5, 5, 5, 5), 200, 0)); layoutPanel.setBorder(BorderFactory.createBevelBorder(0)); frame.getContentPane().add(layoutPanel); frame.pack(); frame.setLocationRelativeTo(parent); frame.setVisible(true); frame.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.addKeyListener(new KeyAdapter() { public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); window.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } } }); contactField.setText(contact); }
| 3,239,017 |
public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } }
|
public void keyPressed(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } }
| 3,239,018 |
public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } }
|
public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); window.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } }
| 3,239,019 |
public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); frame.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { frame.dispose(); } }
|
public void keyReleased(KeyEvent keyEvent) { if (keyEvent.getKeyChar() == KeyEvent.VK_ENTER) { if (ModelUtil.hasLength(contactField.getText())) { ContactItem item = (ContactItem)contactMap.get(contactField.getText()); if (item != null) { SparkManager.getChatManager().activateChat(item.getFullJID(), item.getNickname()); window.dispose(); } } } else if (keyEvent.getKeyChar() == KeyEvent.VK_ESCAPE) { window.dispose(); } }
| 3,239,020 |
public IRubyObject[] scanArgs(IRuby runtime, IRubyObject[] args, int required, int optional) { int total = required+optional; int real = checkArgumentCount(args,required,total); IRubyObject[] narr = new IRubyObject[total]; System.arraycopy(args,0,narr,0,real); for(int i=real; i<total; i++) { narr[i] = runtime.getNil(); } return narr; }
|
public IRubyObject[] scanArgs(IRubyObject[] args, int required, int optional) { int total = required+optional; int real = checkArgumentCount(args,required,total); IRubyObject[] narr = new IRubyObject[total]; System.arraycopy(args,0,narr,0,real); for(int i=real; i<total; i++) { narr[i] = runtime.getNil(); } return narr; }
| 3,239,021 |
public IRubyObject[] scanArgs(IRuby runtime, IRubyObject[] args, int required, int optional) { int total = required+optional; int real = checkArgumentCount(args,required,total); IRubyObject[] narr = new IRubyObject[total]; System.arraycopy(args,0,narr,0,real); for(int i=real; i<total; i++) { narr[i] = runtime.getNil(); } return narr; }
|
public IRubyObject[] scanArgs(IRuby runtime, IRubyObject[] args, int required, int optional) { int total = required+optional; int real = checkArgumentCount(args,required,total); IRubyObject[] narr = new IRubyObject[total]; System.arraycopy(args,0,narr,0,real); for(int i=real; i<total; i++) { narr[i] = getRuntime().getNil(); } return narr; }
| 3,239,022 |
public void visitBeanFactory(ConfigurableListableBeanFactory beanRegistry) throws BeansException { String[] beanNames = beanRegistry.getBeanDefinitionNames(); for (int i = 0; i < beanNames.length; i++) { String beanName = beanNames[i]; visitBeanDefinition(beanName, beanRegistry.getBeanDefinition(beanName)); } }
|
public void visitBeanFactory(ConfigurableListableBeanFactory beanRegistry, Object data) throws BeansException { String[] beanNames = beanRegistry.getBeanDefinitionNames(); for (int i = 0; i < beanNames.length; i++) { String beanName = beanNames[i]; visitBeanDefinition(beanName, beanRegistry.getBeanDefinition(beanName)); } }
| 3,239,023 |
public void visitBeanFactory(ConfigurableListableBeanFactory beanRegistry) throws BeansException { String[] beanNames = beanRegistry.getBeanDefinitionNames(); for (int i = 0; i < beanNames.length; i++) { String beanName = beanNames[i]; visitBeanDefinition(beanName, beanRegistry.getBeanDefinition(beanName)); } }
|
public void visitBeanFactory(ConfigurableListableBeanFactory beanRegistry) throws BeansException { String[] beanNames = beanRegistry.getBeanDefinitionNames(); for (int i = 0; i < beanNames.length; i++) { String beanName = beanNames[i]; visitBeanDefinition(beanName, beanRegistry.getBeanDefinition(beanName), data); } }
| 3,239,024 |
public void visitCollection(Collection collection) throws BeansException { for (Iterator iterator = collection.iterator(); iterator.hasNext();) { visitNext(iterator.next()); } }
|
public void visitCollection(Collection collection, Object data) throws BeansException { for (Iterator iterator = collection.iterator(); iterator.hasNext();) { visitNext(iterator.next()); } }
| 3,239,025 |
public void visitCollection(Collection collection) throws BeansException { for (Iterator iterator = collection.iterator(); iterator.hasNext();) { visitNext(iterator.next()); } }
|
public void visitCollection(Collection collection) throws BeansException { for (Iterator iterator = collection.iterator(); iterator.hasNext();) { visitNext(iterator.next(), data); } }
| 3,239,026 |
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
|
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues, Object data) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
| 3,239,027 |
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
|
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValue((ConstructorArgumentValues.ValueHolder) iterator.next(), data); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValue((ConstructorArgumentValues.ValueHolder) iterator.next(), data); } }
| 3,239,028 |
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
|
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } List genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
| 3,239,029 |
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) iterator.next()); } }
|
public void visitConstructorArgumentValues(ConstructorArgumentValues constructorArgumentValues) throws BeansException { Map indexedArgumentValues = constructorArgumentValues.getIndexedArgumentValues(); for (Iterator iterator = indexedArgumentValues.values().iterator(); iterator.hasNext();) { visitConstructorArgumentValue((ConstructorArgumentValues.ValueHolder) iterator.next(), data); } Set genericArgumentValues = constructorArgumentValues.getGenericArgumentValues(); for (Iterator iterator = genericArgumentValues.iterator(); iterator.hasNext();) { visitConstructorArgumentValue((ConstructorArgumentValues.ValueHolder) iterator.next(), data); } }
| 3,239,030 |
public void visitMap(Map map) throws BeansException { for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); visitNext(entry.getKey()); visitNext(entry.getValue()); } }
|
public void visitMap(Map map, Object data) throws BeansException { for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); visitNext(entry.getKey()); visitNext(entry.getValue()); } }
| 3,239,031 |
public void visitMap(Map map) throws BeansException { for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); visitNext(entry.getKey()); visitNext(entry.getValue()); } }
|
public void visitMap(Map map) throws BeansException { for (Iterator iterator = map.entrySet().iterator(); iterator.hasNext();) { Map.Entry entry = (Map.Entry) iterator.next(); visitNext(entry.getKey()); visitNext(entry.getValue()); } }
| 3,239,032 |
public void visitMutablePropertyValues(MutablePropertyValues propertyValues) throws BeansException { PropertyValue[] values = propertyValues.getPropertyValues(); for (int i = 0; i < values.length; i++) { visitPropertyValue(values[i]); } }
|
public void visitMutablePropertyValues(MutablePropertyValues propertyValues, Object data) throws BeansException { PropertyValue[] values = propertyValues.getPropertyValues(); for (int i = 0; i < values.length; i++) { visitPropertyValue(values[i]); } }
| 3,239,033 |
public void visitMutablePropertyValues(MutablePropertyValues propertyValues) throws BeansException { PropertyValue[] values = propertyValues.getPropertyValues(); for (int i = 0; i < values.length; i++) { visitPropertyValue(values[i]); } }
|
public void visitMutablePropertyValues(MutablePropertyValues propertyValues) throws BeansException { PropertyValue[] values = propertyValues.getPropertyValues(); for (int i = 0; i < values.length; i++) { visitPropertyValue(values[i], data); } }
| 3,239,034 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value, Object data) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,035 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value, data); } else if (value instanceof BeanDefinitionHolder) { visitBeanDefinitionHolder((BeanDefinitionHolder) value, data); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,036 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value, data); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,037 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value, data); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,038 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValue((ConstructorArgumentValues.ValueHolder) value, data); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,039 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value, data); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,040 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value, data); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,041 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value, data); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,042 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value, data); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
| 3,239,043 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value, data); } else { visitObject(value); } }
| 3,239,044 |
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value); } }
|
protected void visitNext(Object value) throws BeansException { if (value == null) { return; } if (value instanceof ConfigurableListableBeanFactory) { visitBeanFactory((ConfigurableListableBeanFactory) value); } else if (value instanceof BeanDefinition) { visitBeanDefinition((BeanDefinition) value); } else if (value instanceof ConstructorArgumentValues) { visitConstructorArgumentValues((ConstructorArgumentValues) value); } else if (value instanceof ConstructorArgumentValues.ValueHolder) { visitConstructorArgumentValues((ConstructorArgumentValues.ValueHolder) value); } else if (value instanceof MutablePropertyValues) { visitMutablePropertyValues((MutablePropertyValues) value); } else if (value instanceof PropertyValue) { visitPropertyValue((PropertyValue) value); } else if (value instanceof RuntimeBeanReference) { visitRuntimeBeanReference((RuntimeBeanReference) value); } else if (value instanceof Map) { visitMap((Map) value); } else if (value instanceof Collection) { visitCollection((Collection) value); } else { visitObject(value, data); } }
| 3,239,045 |
public void visitObject(Object value) throws BeansException { }
|
public void visitObject(Object value, Object data) throws BeansException { }
| 3,239,046 |
public void visitPropertyValue(PropertyValue propertyValue) throws BeansException { visitNext(propertyValue.getValue()); }
|
public void visitPropertyValue(PropertyValue propertyValue) throws BeansException { visitNext(propertyValue.getValue()); }
| 3,239,047 |
private void buildGUI(double magFactor) { JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem("25%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_25); add(menuItem); menuItem = new JCheckBoxMenuItem("50%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_50); add(menuItem); menuItem = new JCheckBoxMenuItem("75%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_75); add(menuItem); menuItem = new JCheckBoxMenuItem("100%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_100); add(menuItem); menuItem = new JCheckBoxMenuItem("125%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_125); add(menuItem); menuItem = new JCheckBoxMenuItem("150%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_150); add(menuItem); menuItem = new JCheckBoxMenuItem("175%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_175); add(menuItem); menuItem = new JCheckBoxMenuItem("200%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_200); add(menuItem); menuItem = new JCheckBoxMenuItem("225%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_225); add(menuItem); menuItem = new JCheckBoxMenuItem("250%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_250); add(menuItem); menuItem = new JCheckBoxMenuItem("275%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_275); add(menuItem); menuItem = new JCheckBoxMenuItem("300%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_300); add(menuItem); manager.setItemSelected(magFactor); }
|
private void buildGUI(double magFactor) { JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem("25%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_25); add(menuItem); menuItem = new JCheckBoxMenuItem("50%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_50); add(menuItem); menuItem = new JCheckBoxMenuItem("75%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_75); add(menuItem); menuItem = new JCheckBoxMenuItem("100%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_100); add(menuItem); menuItem = new JCheckBoxMenuItem("125%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_125); add(menuItem); menuItem = new JCheckBoxMenuItem("150%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_150); add(menuItem); menuItem = new JCheckBoxMenuItem("175%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_175); add(menuItem); menuItem = new JCheckBoxMenuItem("200%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_200); add(menuItem); menuItem = new JCheckBoxMenuItem("225%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_225); add(menuItem); menuItem = new JCheckBoxMenuItem("250%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_250); add(menuItem); menuItem = new JCheckBoxMenuItem("275%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_275); add(menuItem); menuItem = new JCheckBoxMenuItem("300%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_300); add(menuItem); manager.setItemSelected(magFactor); }
| 3,239,048 |
private void buildGUI(double magFactor) { JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem("25%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_25); add(menuItem); menuItem = new JCheckBoxMenuItem("50%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_50); add(menuItem); menuItem = new JCheckBoxMenuItem("75%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_75); add(menuItem); menuItem = new JCheckBoxMenuItem("100%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_100); add(menuItem); menuItem = new JCheckBoxMenuItem("125%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_125); add(menuItem); menuItem = new JCheckBoxMenuItem("150%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_150); add(menuItem); menuItem = new JCheckBoxMenuItem("175%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_175); add(menuItem); menuItem = new JCheckBoxMenuItem("200%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_200); add(menuItem); menuItem = new JCheckBoxMenuItem("225%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_225); add(menuItem); menuItem = new JCheckBoxMenuItem("250%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_250); add(menuItem); menuItem = new JCheckBoxMenuItem("275%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_275); add(menuItem); menuItem = new JCheckBoxMenuItem("300%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_300); add(menuItem); manager.setItemSelected(magFactor); }
|
private void buildGUI(double magFactor) { JCheckBoxMenuItem menuItem = new JCheckBoxMenuItem("25%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_25); add(menuItem); menuItem = new JCheckBoxMenuItem("50%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_50); add(menuItem); menuItem = new JCheckBoxMenuItem("75%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_75); add(menuItem); menuItem = new JCheckBoxMenuItem("100%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_100); add(menuItem); menuItem = new JCheckBoxMenuItem("125%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_125); add(menuItem); menuItem = new JCheckBoxMenuItem("150%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_150); add(menuItem); menuItem = new JCheckBoxMenuItem("175%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_175); add(menuItem); menuItem = new JCheckBoxMenuItem("200%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_200); add(menuItem); menuItem = new JCheckBoxMenuItem("225%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_225); add(menuItem); menuItem = new JCheckBoxMenuItem("250%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_250); add(menuItem); menuItem = new JCheckBoxMenuItem("275%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_275); add(menuItem); menuItem = new JCheckBoxMenuItem("300%"); manager.attachItemListener(menuItem, ZoomMenuManager.ZOOM_300); add(menuItem); manager.setItemSelected(magFactor); }
| 3,239,049 |
public RubyClasses(Ruby runtime) { this.runtime = runtime; classMap = new HashMap(); }
|
public RubyClasses(Ruby runtime) { this.runtime = runtime; topLevelClasses = new HashMap(); nonTopLevelClasses = new HashMap(); }
| 3,239,050 |
private RubyClass defineBootClass(String name, RubyClass superClass) { RubyClass bootClass = RubyClass.newClass(runtime, superClass, null, name); classMap.put(name, bootClass); return bootClass; }
|
private RubyClass defineBootClass(String name, RubyClass superClass) { RubyClass bootClass = RubyClass.newClass(runtime, superClass, null, name); topLevelClasses.put(name, bootClass); return bootClass; }
| 3,239,051 |
public RubyModule getClass(String name) { RubyModule type = (RubyModule) classMap.get(name); if (type == null) { type = getAutoload(name); } return type; }
|
public RubyModule getClass(String name) { RubyModule type = (RubyModule) topLevelClasses.get(name); if (type == null) { type = getAutoload(name); } return type; }
| 3,239,052 |
public Iterator nameIterator() { return classMap.keySet().iterator(); }
|
public Iterator nameIterator() { return topLevelClasses.keySet().iterator(); }
| 3,239,053 |
public void putClass(String name, RubyModule rbClass) { classMap.put(name, rbClass); }
|
public void putClass(String name, RubyModule rbClass) { classMap.put(name, rbClass); }
| 3,239,054 |
private IRubyObject userUnmarshal() throws IOException { String className = unmarshalObject().asSymbol(); String marshaled = unmarshalString(); RubyModule classInstance; try { classInstance = runtime.getClassFromPath(className); } catch (RaiseException e) { if (e.getException().getType() == runtime.getModule("NameError")) { throw runtime.newArgumentError("undefined class/module " + className); } throw e; } if (!classInstance.respondsTo("_load")) { throw runtime.newTypeError("class " + classInstance.getName() + " needs to have method `_load'"); } IRubyObject result = classInstance.callMethod(getRuntime().getCurrentContext(), "_load", runtime.newString(marshaled)); registerLinkTarget(result); return result; }
|
private IRubyObject userUnmarshal() throws IOException { String className = unmarshalObject().asSymbol(); String marshaled = unmarshalString(); RubyModule classInstance; try { classInstance = runtime.getClassFromPath(className); } catch (RaiseException e) { if (e.getException().isKindOf(runtime.getModule("NameError"))) { throw runtime.newArgumentError("undefined class/module " + className); } throw e; } if (!classInstance.respondsTo("_load")) { throw runtime.newTypeError("class " + classInstance.getName() + " needs to have method `_load'"); } IRubyObject result = classInstance.callMethod(getRuntime().getCurrentContext(), "_load", runtime.newString(marshaled)); registerLinkTarget(result); return result; }
| 3,239,055 |
public void actionPerformed(ActionEvent e) { String username = getScreenName(); String password = getPassword(); if (!ModelUtil.hasLength(username) || !ModelUtil.hasLength(password)) { JOptionPane.showMessageDialog(this, Res.getString("message.username.password.error"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); return; } try { TransportManager.registerUser(SparkManager.getConnection(), serviceName, username, password); // Send Presence final StatusBar statusBar = SparkManager.getWorkspace().getStatusBar(); Presence presence = statusBar.getPresence(); presence.setTo(transport.getServiceName()); SparkManager.getConnection().sendPacket(presence); } catch (XMPPException e1) { e1.printStackTrace(); JOptionPane.showMessageDialog(this, Res.getString("message.registration.transport.failed"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); } dialog.dispose(); }
|
public void actionPerformed(ActionEvent e) { String username = getScreenName(); String password = getPassword(); if (!ModelUtil.hasLength(username) || !ModelUtil.hasLength(password)) { JOptionPane.showMessageDialog(this, Res.getString("message.username.password.error"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); return; } try { TransportUtils.registerUser(SparkManager.getConnection(), serviceName, username, password); // Send Presence final StatusBar statusBar = SparkManager.getWorkspace().getStatusBar(); Presence presence = statusBar.getPresence(); presence.setTo(transport.getServiceName()); SparkManager.getConnection().sendPacket(presence); } catch (XMPPException e1) { e1.printStackTrace(); JOptionPane.showMessageDialog(this, Res.getString("message.registration.transport.failed"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); } dialog.dispose(); }
| 3,239,056 |
public void actionPerformed(ActionEvent e) { String username = getScreenName(); String password = getPassword(); if (!ModelUtil.hasLength(username) || !ModelUtil.hasLength(password)) { JOptionPane.showMessageDialog(this, Res.getString("message.username.password.error"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); return; } try { TransportManager.registerUser(SparkManager.getConnection(), serviceName, username, password); // Send Presence final StatusBar statusBar = SparkManager.getWorkspace().getStatusBar(); Presence presence = statusBar.getPresence(); presence.setTo(transport.getServiceName()); SparkManager.getConnection().sendPacket(presence); } catch (XMPPException e1) { e1.printStackTrace(); JOptionPane.showMessageDialog(this, Res.getString("message.registration.transport.failed"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); } dialog.dispose(); }
|
public void actionPerformed(ActionEvent e) { String username = getScreenName(); String password = getPassword(); if (!ModelUtil.hasLength(username) || !ModelUtil.hasLength(password)) { JOptionPane.showMessageDialog(this, Res.getString("message.username.password.error"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); return; } try { TransportManager.registerUser(SparkManager.getConnection(), serviceName, username, password); // Send Presence final StatusBar statusBar = SparkManager.getWorkspace().getStatusBar(); Presence presence = statusBar.getPresence(); presence.setTo(transport.getServiceName()); SparkManager.getConnection().sendPacket(presence); } catch (XMPPException e1) { e1.printStackTrace(); JOptionPane.showMessageDialog(this, Res.getString("message.registration.transport.failed"), Res.getString("title.registration.error"), JOptionPane.ERROR_MESSAGE); } dialog.dispose(); }
| 3,239,057 |
public void changePermissions(final IObject iObject, final Permissions perms) { final IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); getSecuritySystem().managedDetails(iObject, copy.getDetails()); AdminAction action = new AdminAction(){ public void runAsAdmin() { Permissions p = new Permissions(perms); // FIXME ticket:215 copy.getDetails().setPermissions(p); iUpdate.saveObject(copy); } }; getSecuritySystem().runAsAdmin(action); }
|
public void changePermissions(final IObject iObject, final Permissions perms) { final IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); getSecuritySystem().managedDetails(iObject, copy.getDetails()); AdminAction action = new AdminAction(){ public void runAsAdmin() { Permissions p = new Permissions(perms); // FIXME ticket:215 copy.getDetails().setPermissions(p); iUpdate.saveObject(copy); } }; getSecuritySystem().runAsAdmin(action); }
| 3,239,058 |
public void changePermissions(final IObject iObject, final Permissions perms) { final IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); getSecuritySystem().managedDetails(iObject, copy.getDetails()); AdminAction action = new AdminAction(){ public void runAsAdmin() { Permissions p = new Permissions(perms); // FIXME ticket:215 copy.getDetails().setPermissions(p); iUpdate.saveObject(copy); } }; getSecuritySystem().runAsAdmin(action); }
|
public void changePermissions(final IObject iObject, final Permissions perms) { final IObject copy = iQuery.get(iObject.getClass(), iObject.getId()); getSecuritySystem().managedDetails(iObject, copy.getDetails()); AdminAction action = new AdminAction(){ public void runAsAdmin() { Permissions p = new Permissions(perms); // FIXME ticket:215 copy.getDetails().setPermissions(p); iUpdate.saveObject(copy); } }; getSecuritySystem().runAsAdmin(action); }
| 3,239,059 |
public void hideLastChainView() { if (lastChainView != null) { lastChainView.hide(); } lastChainView = null; }
|
public void hideLastChainView() { if (lastChainView != null) { lastChainView.hide(); } lastChainView = null; }
| 3,239,062 |
public void mouseEntered(PInputEvent e) { PNode n = e.getPickedNode(); if (n != lastChainView && lastChainView != null && !checkEventInNodeInterior(lastChainView,e) && !n.isAncestorOf(lastChainView) && !n.isDescendentOf(lastChainView)) hideLastChainView(); super.mouseEntered(e); }
|
public void mouseEntered(PInputEvent e) { PNode n = e.getPickedNode(); if (n != lastChainView && lastChainView != null && !checkEventInNodeInterior(lastChainView,e) && !n.isAncestorOf(lastChainView) && !n.isDescendentOf(lastChainView)) hideLastChainView(); super.mouseEntered(e); }
| 3,239,063 |
public void mouseEntered(PInputEvent e) { PNode n = e.getPickedNode(); if (n != lastChainView && lastChainView != null && !checkEventInNodeInterior(lastChainView,e) && !n.isAncestorOf(lastChainView) && !n.isDescendentOf(lastChainView)) hideLastChainView(); super.mouseEntered(e); }
|
public void mouseEntered(PInputEvent e) { PNode n = e.getPickedNode(); if (n != lastChainView && lastChainView != null && !checkEventInNodeInterior(lastChainView,e) && !n.isAncestorOf(lastChainView) && !n.isDescendentOf(lastChainView)) hideLastChainView(); super.mouseEntered(e); }
| 3,239,064 |
public void setLastChainView(PaletteChainView lastChainView) { // if I get this twice, show the full view. if (this.lastChainView == lastChainView) lastChainView.showFullView(true); this.lastChainView = lastChainView; }
|
public void setLastChainView(PaletteChainView lastChainView) { // if I get this twice, show the full view. if (this.lastChainView == lastChainView) lastChainView.showFullView(true); this.lastChainView = lastChainView; }
| 3,239,065 |
public void execute() throws MojoExecutionException, MojoFailureException { getLog().debug( " ======= XBeanMojo settings =======" ); getLog().debug( "namespace[" + namespace + "]" ); getLog().debug( "srcDir[" + srcDir + "]" ); getLog().debug( "schema[" + schema + "]" ); getLog().debug( "excludedClasses" + excludedClasses ); getLog().debug( "outputDir[" + outputDir + "]" ); getLog().debug( "propertyEditorPaths[" + propertyEditorPaths + "]" ); if (schema == null) { schema = new File(outputDir, project.getArtifactId() + ".xsd"); } if (propertyEditorPaths != null) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); StringTokenizer paths = new StringTokenizer(propertyEditorPaths, " ,"); editorSearchPath.addAll(Collections.list(paths)); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); try { schema.getParentFile().mkdirs(); String[] excludedClasses = null; if (this.excludedClasses != null) { excludedClasses = this.excludedClasses.split(" *, *"); } MappingLoader mappingLoader = new QdoxMappingLoader(namespace, new File[] { srcDir }, excludedClasses); GeneratorPlugin[] plugins = new GeneratorPlugin[]{ new XmlMetadataGenerator(this, outputDir.getAbsolutePath(), schema), new DocumentationGenerator(this, schema), new XsdGenerator(this, schema) }; // load the mappings Set namespaces = mappingLoader.loadNamespaces(); if (namespaces.isEmpty()) { System.out.println("Warning: no namespaces found!"); } // generate the files for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) { NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next(); for (int i = 0; i < plugins.length; i++) { GeneratorPlugin plugin = plugins[i]; plugin.generate(namespaceMapping); } } Resource res = new Resource(); res.setDirectory(outputDir.toString()); project.addResource(res); log("...done."); } catch (Exception e) { throw new BuildException(e); } finally { Thread.currentThread().setContextClassLoader(oldCL); } }
|
public void execute() throws MojoExecutionException, MojoFailureException { getLog().debug( " ======= XBeanMojo settings =======" ); getLog().debug( "namespace[" + namespace + "]" ); getLog().debug( "srcDir[" + srcDir + "]" ); getLog().debug( "schema[" + schema + "]" ); getLog().debug( "excludedClasses" + excludedClasses ); getLog().debug( "outputDir[" + outputDir + "]" ); getLog().debug( "propertyEditorPaths[" + propertyEditorPaths + "]" ); if (schema == null) { schema = new File(outputDir, project.getArtifactId() + ".xsd"); } if (propertyEditorPaths != null) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); StringTokenizer paths = new StringTokenizer(propertyEditorPaths, " ,"); editorSearchPath.addAll(Collections.list(paths)); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); try { schema.getParentFile().mkdirs(); String[] excludedClasses = null; if (this.excludedClasses != null) { excludedClasses = this.excludedClasses.split(" *, *"); } MappingLoader mappingLoader = new QdoxMappingLoader(namespace, new File[] { srcDir }, excludedClasses); GeneratorPlugin[] plugins = new GeneratorPlugin[]{ new XmlMetadataGenerator(this, outputDir.getAbsolutePath(), schema), new DocumentationGenerator(this, schema), new XsdGenerator(this, schema) }; // load the mappings Set namespaces = mappingLoader.loadNamespaces(); if (namespaces.isEmpty()) { System.out.println("Warning: no namespaces found!"); } // generate the files for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) { NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next(); for (int i = 0; i < plugins.length; i++) { GeneratorPlugin plugin = plugins[i]; plugin.generate(namespaceMapping); } } Resource res = new Resource(); res.setDirectory(outputDir.toString()); project.addResource(res); log("...done."); } catch (Exception e) { throw new BuildException(e); } finally { Thread.currentThread().setContextClassLoader(oldCL); } }
| 3,239,067 |
public void execute() throws MojoExecutionException, MojoFailureException { getLog().debug( " ======= XBeanMojo settings =======" ); getLog().debug( "namespace[" + namespace + "]" ); getLog().debug( "srcDir[" + srcDir + "]" ); getLog().debug( "schema[" + schema + "]" ); getLog().debug( "excludedClasses" + excludedClasses ); getLog().debug( "outputDir[" + outputDir + "]" ); getLog().debug( "propertyEditorPaths[" + propertyEditorPaths + "]" ); if (schema == null) { schema = new File(outputDir, project.getArtifactId() + ".xsd"); } if (propertyEditorPaths != null) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); StringTokenizer paths = new StringTokenizer(propertyEditorPaths, " ,"); editorSearchPath.addAll(Collections.list(paths)); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); try { schema.getParentFile().mkdirs(); String[] excludedClasses = null; if (this.excludedClasses != null) { excludedClasses = this.excludedClasses.split(" *, *"); } MappingLoader mappingLoader = new QdoxMappingLoader(namespace, new File[] { srcDir }, excludedClasses); GeneratorPlugin[] plugins = new GeneratorPlugin[]{ new XmlMetadataGenerator(this, outputDir.getAbsolutePath(), schema), new DocumentationGenerator(this, schema), new XsdGenerator(this, schema) }; // load the mappings Set namespaces = mappingLoader.loadNamespaces(); if (namespaces.isEmpty()) { System.out.println("Warning: no namespaces found!"); } // generate the files for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) { NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next(); for (int i = 0; i < plugins.length; i++) { GeneratorPlugin plugin = plugins[i]; plugin.generate(namespaceMapping); } } Resource res = new Resource(); res.setDirectory(outputDir.toString()); project.addResource(res); log("...done."); } catch (Exception e) { throw new BuildException(e); } finally { Thread.currentThread().setContextClassLoader(oldCL); } }
|
public void execute() throws MojoExecutionException, MojoFailureException { getLog().debug( " ======= XBeanMojo settings =======" ); getLog().debug( "namespace[" + namespace + "]" ); getLog().debug( "srcDir[" + srcDir + "]" ); getLog().debug( "schema[" + schema + "]" ); getLog().debug( "excludedClasses" + excludedClasses ); getLog().debug( "outputDir[" + outputDir + "]" ); getLog().debug( "propertyEditorPaths[" + propertyEditorPaths + "]" ); if (schema == null) { schema = new File(outputDir, project.getArtifactId() + ".xsd"); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } if (propertyEditorPaths != null) { List editorSearchPath = new LinkedList(Arrays.asList(PropertyEditorManager.getEditorSearchPath())); StringTokenizer paths = new StringTokenizer(propertyEditorPaths, " ,"); editorSearchPath.addAll(Collections.list(paths)); PropertyEditorManager.setEditorSearchPath((String[]) editorSearchPath.toArray(new String[editorSearchPath.size()])); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } ClassLoader oldCL = Thread.currentThread().getContextClassLoader(); Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); try { schema.getParentFile().mkdirs(); String[] excludedClasses = null; if (this.excludedClasses != null) { excludedClasses = this.excludedClasses.split(" *, *"); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } MappingLoader mappingLoader = new QdoxMappingLoader(namespace, new File[] { srcDir }, excludedClasses); GeneratorPlugin[] plugins = new GeneratorPlugin[]{ new XmlMetadataGenerator(this, outputDir.getAbsolutePath(), schema), new DocumentationGenerator(this, schema), new XsdGenerator(this, schema) }; // load the mappings Set namespaces = mappingLoader.loadNamespaces(); if (namespaces.isEmpty()) { System.out.println("Warning: no namespaces found!"); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } // generate the files for (Iterator iterator = namespaces.iterator(); iterator.hasNext();) { NamespaceMapping namespaceMapping = (NamespaceMapping) iterator.next(); for (int i = 0; i < plugins.length; i++) { GeneratorPlugin plugin = plugins[i]; plugin.generate(namespaceMapping); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } Resource res = new Resource(); res.setDirectory(outputDir.toString()); project.addResource(res); log("...done."); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } catch (Exception e) { throw new BuildException(e); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } finally { Thread.currentThread().setContextClassLoader(oldCL); } for (Iterator iter = generatorPlugins.iterator(); iter.hasNext();) { GeneratorPlugin plugin = (GeneratorPlugin) iter.next(); plugin.setLog(this); plugin.generate(namespaceMapping); } }
| 3,239,068 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
|
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
| 3,239,069 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
|
privatevoidbuildTreeNode(DefaultMutableTreeNodeparent,Collectionnodes,DefaultTreeModeltm){if(nodes.size()==0){tm.insertNodeInto(newDefaultMutableTreeNode(EMPTY_MSG),parent,parent.getChildCount());return;}Iteratori=nodes.iterator();TreeImageDisplaydisplay;Setchildren;while(i.hasNext()){display=(TreeImageDisplay)i.next();tm.insertNodeInto(display,parent,parent.getChildCount());if(displayinstanceofTreeImageSet){children=display.getChildrenDisplay();if(children.size()!=0){buildTreeNode(display,sorter.sort(children),tm);if(display.containsImages()){expandNode(display);tm.reload(display);}}else{tm.insertNodeInto(newDefaultMutableTreeNode(EMPTY_MSG),display,display.getChildCount());}}}}
| 3,239,070 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
|
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
| 3,239,071 |
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } } else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } } } }
|
private void buildTreeNode(DefaultMutableTreeNode parent, Collection nodes, DefaultTreeModel tm) { if (nodes.size() == 0) { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), parent, parent.getChildCount()); return; } else reloadRoot = false; Iterator i = nodes.iterator(); TreeImageDisplay display; Set children; while (i.hasNext()) { display = (TreeImageDisplay) i.next(); tm.insertNodeInto(display, parent, parent.getChildCount()); if (display instanceof TreeImageSet) { children = display.getChildrenDisplay(); if (children.size() != 0) { buildTreeNode(display, sorter.sort(children), tm); if (display.containsImages()) { expandNode(display); tm.reload(display); } else reloadRoot = false; } else reloadRoot = false; else { tm.insertNodeInto(new DefaultMutableTreeNode(EMPTY_MSG), display, display.getChildCount()); } else reloadRoot = false; } else reloadRoot = false; } else reloadRoot = false; }
| 3,239,072 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.