private CmsAttributeHandler getAttributeHandler(String attributeName, List<String> parentPathElements) {

        List<String> childPathElements = new ArrayList<String>(parentPathElements);
        childPathElements.add(attributeName);
        CmsAttributeHandler handler = getRootAttributeHandler().getHandlerByPath(
            childPathElements.toArray(new String[childPathElements.size()]));
        return handler;
    }
private CmsAttributeHandler getAttributeHandler ( String attributeName , List < String > parentPathElements ) { List < String > childPathElements = new ArrayList < String > ( parentPathElements ) ; childPathElements . add ( attributeName ) ; CmsAttributeHandler handler = getRootAttributeHandler ( ) . getHandlerByPath ( childPathElements . toArray ( new String [ childPathElements . size ( ) ] ) ) ; return handler ; }
Returns the attribute handler for the given attribute.<p>

@param attributeName the attribute name
@param parentPathElements the parent path elements

@return the attribute handler