/** * Get an attribute value of the given element. * * @param element The element to get the attribute value for. * @param attrName The attribute name * @return The attribute value or null. */ public static String getElementAttribute(final Element element, final String attrName) { return getElementAttribute(element, attrName, true); }
/** * Get an attribute value of the given element. * * @param element The element to get the attribute value for. * @param attrName The attribute name * @return The attribute value or null. */ public static String getElementAttribute(final Element element, final String attrName) { return getElementAttribute(element, attrName, true); }
public void importXml(Element element) throws Exception { String str = MetaData.getElementAttribute(element, "invalidate-related"); invalidateRelated = (str == null ? true : Boolean.valueOf(str).booleanValue()); if(log.isTraceEnabled()) { log.trace("invalidate-related: " + invalidateRelated); } } }
String byValueAttr = MetaData.getElementAttribute(ielement, "call-by-value"); if(byValueAttr != null)
if(clientInterceptors != null) String value = MetaData.getElementAttribute(clientInterceptors, "exposeContainer"); this.includeIClientIface = Boolean.valueOf(value).booleanValue(); NodeList children = clientInterceptors.getChildNodes();