Package org.apache.abdera.ext.opensearch.server.impl

Examples of org.apache.abdera.ext.opensearch.server.impl.SimpleOpenSearchQueryInfo


        XMLUnit.setXpathNamespaceContext(new SimpleNamespaceContext(nsContext));
    }

    protected OpenSearchInfo createOpenSearchInfo() throws Exception {
        SimpleOpenSearchInfo osInfo = new SimpleOpenSearchInfo();
        SimpleOpenSearchQueryInfo osQueryInfo = new SimpleOpenSearchQueryInfo();
        SimpleOpenSearchUrlInfo osUrlInfo1 = new SimpleOpenSearchUrlInfo();
        SimpleOpenSearchUrlInfo osUrlInfo2 = new SimpleOpenSearchUrlInfo();
        SimpleOpenSearchUrlParameterInfo osParamInfo1 = new SimpleOpenSearchUrlParameterInfo();
        SimpleOpenSearchUrlParameterInfo osParamInfo2 = new SimpleOpenSearchUrlParameterInfo();
       
        osInfo.setShortName(SHORT_NAME);
        osInfo.setDescription(DESCRIPTION);
        osInfo.setTags(TAG1, TAG2);
       
        osQueryInfo.setRole(Query.Role.EXAMPLE);
        osQueryInfo.setSearchTerms(QUERY_TERMS);
       
        osInfo.setQueries(osQueryInfo);
       
        osUrlInfo1.setSearchPath(SEARCH_PATH_1);
        osUrlInfo2.setSearchPath(SEARCH_PATH_2);
View Full Code Here


        XMLUnit.setXpathNamespaceContext(new SimpleNamespaceContext(nsContext));
    }

    protected OpenSearchInfo createOpenSearchInfo() throws Exception {
        SimpleOpenSearchInfo osInfo = new SimpleOpenSearchInfo();
        SimpleOpenSearchQueryInfo osQueryInfo = new SimpleOpenSearchQueryInfo();
        SimpleOpenSearchUrlInfo osUrlInfo1 = new SimpleOpenSearchUrlInfo();
        SimpleOpenSearchUrlInfo osUrlInfo2 = new SimpleOpenSearchUrlInfo();
        SimpleOpenSearchUrlParameterInfo osParamInfo1 = new SimpleOpenSearchUrlParameterInfo();
        SimpleOpenSearchUrlParameterInfo osParamInfo2 = new SimpleOpenSearchUrlParameterInfo();

        osInfo.setShortName(SHORT_NAME);
        osInfo.setDescription(DESCRIPTION);
        osInfo.setTags(TAG1, TAG2);

        osQueryInfo.setRole(Query.Role.EXAMPLE);
        osQueryInfo.setSearchTerms(QUERY_TERMS);

        osInfo.setQueries(osQueryInfo);

        osUrlInfo1.setSearchPath(SEARCH_PATH_1);
        osUrlInfo2.setSearchPath(SEARCH_PATH_2);
View Full Code Here

TOP

Related Classes of org.apache.abdera.ext.opensearch.server.impl.SimpleOpenSearchQueryInfo

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.