Package org.jrdf.query.relation.attributename

Examples of org.jrdf.query.relation.attributename.VariableName


        switch (b) {
            case POSITION_NAME:
                attributeName = new PositionName(name);
                break;
            case VARIABLE_NAME:
                attributeName = new VariableName(name);
                break;
            default:
                throw new IllegalArgumentException("Cannot read class type: " + b);
        }
        return attributeName;
View Full Code Here


        }
    }

    @Override
    public void caseAVariable(AVariable node) {
        this.attributeName = new VariableName(node.getVariablename().getText());
        this.value = AnyNode.ANY_NODE;
        try {
            this.expression = new SingleValue(getSingleAvp());
        } catch (ParserException e) {
            this.exception = e;
View Full Code Here

        Node value = createLiteral(node);
        avp.put(attribute, value);
    }

    private void createAttributeValuePair(NodeType type, Node anyNode, String variableName) {
        AttributeName attributeName = new VariableName(variableName);
        Attribute att = new AttributeImpl(attributeName, type);
        avp.put(att, anyNode);
    }
View Full Code Here

        }
    }

    @Override
    public void caseAVariable(AVariable node) {
        declaredVariables.add(new VariableName(node.getVariablename().getText()));
    }
View Full Code Here

TOP

Related Classes of org.jrdf.query.relation.attributename.VariableName

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.