logger.debug(asd.toString());
if (logger.isDebugEnabled()) logger.debug(asd.toString());
    protected Vector processElement(Element element) {             Vector states = new Vector();        //publish to BB during execute().        //1. Create a new AssetType instance &         String type = element.getAttribute("assetType");        AssetType assetType = AssetType.findAssetType(type);                //what to do when assetType is null? - create it, process it later?        if (assetType == null) {            logger.warn("AssetType XML Error - AssetType unknown: "+type);            return null;        }                for (Node child = element.getFirstChild(); child != null; child = child.getNextSibling()) {             if (child.getNodeType() == Node.ELEMENT_NODE && child.getNodeName().equalsIgnoreCase("StateDimension") ) {                AssetStateDimension asd = parseStateDimension((Element)child, assetType);                if (asd != null) { // then add it to the asset type                    boolean added = assetType.addStateDimension(asd);                    states.add(asd);                    if (!added) {                        if (logger.isInfoEnabled())			    logger.info("Tried to add duplicate state dimension: "+asd.toString());                        continue;                    }                }                logger.debug(asd.toString());            } //else, likely a text element - ignore        }        return states;    }