Package railo.runtime.text.feed

Examples of railo.runtime.text.feed.FeedHandler


    else if(outputFile!=null)is=new InputSource(r=IOUtil.getReader(outputFile, charset));
    else is=new InputSource(r=IOUtil.getReader(source, charset));
    is.setSystemId(source.getPath());
   
    try{
      FeedHandler feed=new FeedHandler(source);
      Struct data = feed.getData();
      //print.e(data.keys());
      //print.e(data);
      // properties
      if(properties!=null) {
        String strProp = Caster.toString(properties,null);
        if(strProp==null)throw new ApplicationException("attribute [properties] should be of type string");
        pageContext.setVariable(strProp, FeedProperties.toProperties(data));
      }
     
      // query or enclosure
      railo.runtime.type.Query qry=null;
      if(query!=null || enclosureDir!=null){
        qry=FeedQuery.toQuery(data,feed.hasDC());
      }
     
      // query
      if(query!=null) {
        String strQuery = Caster.toString(query,null);
View Full Code Here

TOP

Related Classes of railo.runtime.text.feed.FeedHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.