Package org.rometools.feed.module.opensearch

Examples of org.rometools.feed.module.opensearch.RequiredAttributeMissingException


        if (query.getRole() != null) {
            Attribute roleAttribute = new Attribute("role", query.getRole());
            qElement.setAttribute(roleAttribute);
        }
        else{
          throw new RequiredAttributeMissingException("If declaring a Query element, the field 'role' must be be specified");
        }

        if(query.getOsd() != null){
          Attribute osd = new Attribute("osd", query.getOsd());
            qElement.setAttribute(osd);
View Full Code Here

TOP

Related Classes of org.rometools.feed.module.opensearch.RequiredAttributeMissingException

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.