setIncludeAttributes(indexAttributes.equals("true") || indexAttributes.equals("yes"));
includeAttributes = indexAttributes.equals("true") || indexAttributes.equals("yes");
    public FulltextIndexSpec(Map namespaces, Element node) {        includeByDefault = true;        ArrayList includeList = new ArrayList(  );        ArrayList excludeList = new ArrayList(  );        ArrayList preserveList = new ArrayList(  );        String def = node.getAttribute(DEFAULT_ATTRIB);        if(def != null && def.length() > 0) {            includeByDefault = def.equals("all");        }        String indexAttributes = node.getAttribute(ATTRIBUTES_ATTRIB);		if (indexAttributes != null && indexAttributes.length() > 0) {			setIncludeAttributes(indexAttributes.equals("true") || indexAttributes.equals("yes"));		}		String indexAlphaNum = node.getAttribute(ALPHANUM_ATTRIB);		if (indexAlphaNum != null && indexAlphaNum.length() > 0)			setIncludeAlphaNum(indexAlphaNum.equals("true") || indexAlphaNum.equals("yes"));		// check paths to include/exclude		NodeList children = node.getChildNodes();		String ps;		Node next;		for(int j = 0; j < children.getLength(); j++) {		    next = children.item(j);		    if(INCLUDE_ELEMENT.equals(next.getLocalName())) {		        ps = ((Element) next).getAttribute(PATH_ATTRIB);                includeList.add( new NodePath(namespaces, ps) );		    } else if(EXCLUDE_INTERFACE.equals(next.getLocalName())) {		        ps = ((Element) next).getAttribute(PATH_ATTRIB);                excludeList.add( new NodePath(namespaces, ps) );		    } else if(PRESERVE_CONTENT_ELEMENT.equals(next.getLocalName())) {		        ps = ((Element) next).getAttribute(PATH_ATTRIB);                preserveList.add( new NodePath(namespaces, ps) );		    }		}        includePath = (NodePath[]) includeList.toArray(ARRAY_TYPE);        excludePath = (NodePath[]) excludeList.toArray(ARRAY_TYPE);        preserveContent = (NodePath[]) preserveList.toArray(ARRAY_TYPE);    }