wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/AbstractHtml.java
public AbstractAttribute getAttributeByName(final String attributeName) {
        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).readLock();
        AbstractAttribute result = null;
        try {
            lock.lock();

            if (attributesMap != null) {
                result = attributesMap.get(attributeName);
            }
        } finally {
            lock.unlock();
        }
        return result;
    }
public AbstractAttribute getAttributeByName(final String attributeName) {
        final Lock lock = sharedObject.getLock(ACCESS_OBJECT).readLock();
        AbstractAttribute result = null;
        try {
            lock.lock();

            if (attributesMap != null) {
                result = attributesMap.get(attributeName);
            }
        } finally {
            lock.unlock();
        }
        return result;
    }
gets the attribute by attribute name

@return the attribute object for the given attribute name if exists
otherwise returns null.
@since 2.0.0
@author WFF