private List getXmlPages() {

        boolean isRecursive = Boolean.valueOf(getParamRecursive()).booleanValue();
        // filter definition to read only the required resources
        int xmlPageId;
        try {
            xmlPageId = OpenCms.getResourceManager().getResourceType(
                CmsResourceTypeXmlPage.getStaticTypeName()).getTypeId();
        } catch (CmsLoaderException e1) {
            xmlPageId = CmsResourceTypeXmlPage.getStaticTypeId();
        }
        CmsResourceFilter filter = CmsResourceFilter.IGNORE_EXPIRATION.addRequireType(xmlPageId);
        // trying to read the resources
        List xmlPages = null;

        try {
            xmlPages = getCms().readResources(getParamResource(), filter, isRecursive);
        } catch (CmsException e) {
            if (LOG.isErrorEnabled()) {
                LOG.error(e.getLocalizedMessage(), e);
            }
        }

        return xmlPages;
    }
private List getXmlPages ( ) { boolean isRecursive = Boolean . valueOf ( getParamRecursive ( ) ) . booleanValue ( ) ; int xmlPageId ; try { xmlPageId = OpenCms . getResourceManager ( ) . getResourceType ( CmsResourceTypeXmlPage . getStaticTypeName ( ) ) . getTypeId ( ) ; } catch ( CmsLoaderException e1 ) { xmlPageId = CmsResourceTypeXmlPage . getStaticTypeId ( ) ; } CmsResourceFilter filter = CmsResourceFilter . IGNORE_EXPIRATION . addRequireType ( xmlPageId ) ; List xmlPages = null ; try { xmlPages = getCms ( ) . readResources ( getParamResource ( ) , filter , isRecursive ) ; } catch ( CmsException e ) { if ( LOG . isErrorEnabled ( ) ) { LOG . error ( e . getLocalizedMessage ( ) , e ) ; } } return xmlPages ; }
Returns a list of xml pages from the specified folder.<p>

@return a list of xml pages from the specified folder