class StandardProcessorUtils {



    public static void replaceAttribute(
            final IElementTagStructureHandler structureHandler,
            final AttributeName oldAttributeName,
            final AttributeDefinition attributeDefinition, final String attributeName, final String attributeValue) {<FILL_FUNCTION_BODY>}


    public static void setAttribute(
            final IElementTagStructureHandler structureHandler,
            final AttributeDefinition attributeDefinition, final String attributeName, final String attributeValue) {

        if (structureHandler instanceof ElementTagStructureHandler) {
            ((ElementTagStructureHandler) structureHandler).setAttribute(attributeDefinition, attributeName, attributeValue, null);
        } else {
            structureHandler.setAttribute(attributeName, attributeValue);
        }

    }




    private StandardProcessorUtils() {
        super();
    }



}


        if (structureHandler instanceof ElementTagStructureHandler) {
            ((ElementTagStructureHandler) structureHandler).replaceAttribute(oldAttributeName, attributeDefinition, attributeName, attributeValue, null);
        } else {
            structureHandler.replaceAttribute(oldAttributeName, attributeName, attributeValue);
        }

    
<no_super_class>