Search in sources :

Example 1 with AttributeValue

use of it.uniroma1.dis.wsngroup.gexf4j.core.data.AttributeValue in project gexf4j by francesco-ficarola.

the class AttributeImpl method createValue.

@Override
public AttributeValue createValue(String value) {
    checkArgument(value != null, "Value cannot be null.");
    AttributeValue rv = new AttributeValueImpl(this);
    rv.setValue(value);
    return rv;
}
Also used : AttributeValue(it.uniroma1.dis.wsngroup.gexf4j.core.data.AttributeValue)

Example 2 with AttributeValue

use of it.uniroma1.dis.wsngroup.gexf4j.core.data.AttributeValue in project gexf4j by francesco-ficarola.

the class AttributeValueListImpl method createValue.

@Override
public AttributeValue createValue(Attribute attribute, String value) {
    checkArgument(value != null, "Value cannot be null.");
    AttributeValue rv = new AttributeValueImpl(attribute);
    rv.setValue(value);
    add(rv);
    return rv;
}
Also used : AttributeValue(it.uniroma1.dis.wsngroup.gexf4j.core.data.AttributeValue)

Aggregations

AttributeValue (it.uniroma1.dis.wsngroup.gexf4j.core.data.AttributeValue)2