protected List < I_CmsFacetQueryItem > parseFacetQueryItems ( final String path ) throws Exception { final List < I_CmsXmlContentValue > values = m_xml . getValues ( path , m_locale ) ; if ( values == null ) { return null ; } else { List < I_CmsFacetQueryItem > parsedItems = new ArrayList < I_CmsFacetQueryItem > ( values . size ( ) ) ; for ( I_CmsXmlContentValue value : values ) { I_CmsFacetQueryItem item = parseFacetQueryItem ( value . getPath ( ) + "/" ) ; if ( null != item ) { parsedItems . add ( item ) ; } else { // TODO: log } } return parsedItems ; } }
Helper to read a mandatory String value list .