private I_CmsFacetQueryItem parseFacetQueryItem ( final String prefix ) { I_CmsXmlContentValue query = m_xml . getValue ( prefix + XML_ELEMENT_QUERY_FACET_QUERY_QUERY , m_locale ) ; if ( null != query ) { String queryString = query . getStringValue ( null ) ; I_CmsXmlContentValue label = m_xml . getValue ( prefix + XML_ELEMENT_QUERY_FACET_QUERY_LABEL , m_locale ) ; String labelString = null != label ? label . getStringValue ( null ) : null ; return new CmsFacetQueryItem ( queryString , labelString ) ; } else { return null ; } }
Parses a single query facet item with query and label .