private String createQuery ( Map < String , Collection < AttributeBean > > attributeMap ) { StringBuilder sb = new StringBuilder ( 256 ) ; sb . append ( "collection('" ) ; sb . append ( m_dbXmlManager . CONTAINER ) ; sb . append ( "')" ) ; getXpath ( attributeMap , sb ) ; return sb . toString ( ) ; }
Given a set of attributes this method generates a DBXML XPath query based on those attributes to extract a subset of policies from the database .