Package org.jrdf.query.answer

Examples of org.jrdf.query.answer.Answer.accept()


        try {
            Representation representation = Representation.createEmpty();
            final Answer answer = (Answer) dataModel.get("answer");
            if (answer != null) {
                mediaType = defaultMediaType;
                representation = answer.accept(this);
            }
            return representation;
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
View Full Code Here


    public Representation createRepresentation(MediaType defaultMediaType, Map<String, Object> dataModel) {
        Representation representation = Representation.createEmpty();
        final Answer answer = (Answer) dataModel.get("answer");
        if (answer != null) {
            mediaType = defaultMediaType;
            representation = answer.accept(this);
        }
        return representation;
    }

    public Representation visitAskAnswer(AskAnswer askAnswer) {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.