wffweb/src/main/java/com/webfirmframework/wffweb/tag/html/attribute/core/AbstractAttribute.java
protected String getWffPrintStructure() {
        final String attributeValue = this.attributeValue;
        String result = "";
        beforeWffPrintStructure();
        final StringBuilder attrBuilder = new StringBuilder();

        attrBuilder.append(attributeName);
        if (attributeValue != null) {
            attrBuilder.append(new char[] { '=' }).append(attributeValue);
            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else if (attributeValueMap != null && attributeValueMap.size() > 0) {
            attrBuilder.append(new char[] { '=' });
            final Set<Entry<String, String>> entrySet = getAttributeValueMap()
                    .entrySet();
            for (final Entry<String, String> entry : entrySet) {
                attrBuilder.append(entry.getKey()).append(':')
                        .append(entry.getValue()).append(';');
            }

            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else if (attributeValueSet != null && attributeValueSet.size() > 0) {
            attrBuilder.append(new char[] { '=' });
            for (final String each : getAttributeValueSet()) {
                attrBuilder.append(each).append(' ');
            }
            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else {
            result = attrBuilder.toString();
        }

        return result;
    }
protected String getWffPrintStructure() {
        final String attributeValue = this.attributeValue;
        String result = "";
        beforeWffPrintStructure();
        final StringBuilder attrBuilder = new StringBuilder();

        attrBuilder.append(attributeName);
        if (attributeValue != null) {
            attrBuilder.append(new char[] { '=' }).append(attributeValue);
            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else if (attributeValueMap != null && attributeValueMap.size() > 0) {
            attrBuilder.append(new char[] { '=' });
            final Set<Entry<String, String>> entrySet = getAttributeValueMap()
                    .entrySet();
            for (final Entry<String, String> entry : entrySet) {
                attrBuilder.append(entry.getKey()).append(':')
                        .append(entry.getValue()).append(';');
            }

            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else if (attributeValueSet != null && attributeValueSet.size() > 0) {
            attrBuilder.append(new char[] { '=' });
            for (final String each : getAttributeValueSet()) {
                attrBuilder.append(each).append(' ');
            }
            result = StringBuilderUtil.getTrimmedString(attrBuilder);
        } else {
            result = attrBuilder.toString();
        }

        return result;
    }
protected String getWffPrintStructure ( ) { final String attributeValue = this . attributeValue ; String result = "" ; beforeWffPrintStructure ( ) ; final StringBuilder attrBuilder = new StringBuilder ( ) ; attrBuilder . append ( attributeName ) ; if ( attributeValue != null ) { attrBuilder . append ( new char [ ] { ' ' } ) . append ( attributeValue ) ; result = StringBuilderUtil . getTrimmedString ( attrBuilder ) ; } else if ( attributeValueMap != null && attributeValueMap . size ( ) > 0 ) { attrBuilder . append ( new char [ ] { ' ' } ) ; final Set < Entry < String , String > > entrySet = getAttributeValueMap ( ) . entrySet ( ) ; for ( final Entry < String , String > entry : entrySet ) { attrBuilder . append ( entry . getKey ( ) ) . append ( ' ' ) . append ( entry . getValue ( ) ) . append ( ' ' ) ; } result = StringBuilderUtil . getTrimmedString ( attrBuilder ) ; } else if ( attributeValueSet != null && attributeValueSet . size ( ) > 0 ) { attrBuilder . append ( new char [ ] { ' ' } ) ; for ( final String each : getAttributeValueSet ( ) ) { attrBuilder . append ( each ) . append ( ' ' ) ; } result = StringBuilderUtil . getTrimmedString ( attrBuilder ) ; } else { result = attrBuilder . toString ( ) ; } return result ; }
gets the attribute name and value in the format of name=value. <br>
Eg: style=color:green;background:blue <br>
This reduces 2 bytes taken for ".

@return the attribute name and value in the format of name=value. Eg:
style=color:green;background:blue
@since 2.0.0
@author WFF
gets the attribute name and value in the format of name = value . <br > Eg : style = color : green ; background : blue <br > This reduces 2 bytes taken for .