org.jrdf.query.relation.mem
Class AttributeValuePairHelperImpl

java.lang.Object
  extended by org.jrdf.query.relation.mem.AttributeValuePairHelperImpl
All Implemented Interfaces:
AttributeValuePairHelper

public class AttributeValuePairHelperImpl
extends Object
implements AttributeValuePairHelper

Allows the creation of sroted AttributeValuePairs.

Version:
$Revision:$
Author:
Andrew Newman

Constructor Summary
AttributeValuePairHelperImpl(SortedAttributeFactory sortedAttributeFactory)
           
 
Method Summary
 Attribute[] createAttributes(List<AttributeValuePair> nameValues)
           
 List<AttributeValuePair> createAvp(AttributeValuePair[] attributeValuePairsArray)
           
 List<AttributeValuePair> createAvp(Triple triple)
           
 List<AttributeValuePair> createAvp(Triple triple, Attribute[] attributes)
           
 Triple createTriple(List<AttributeValuePair> avp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeValuePairHelperImpl

public AttributeValuePairHelperImpl(SortedAttributeFactory sortedAttributeFactory)
Method Detail

createAvp

public List<AttributeValuePair> createAvp(Triple triple)
Specified by:
createAvp in interface AttributeValuePairHelper

createAvp

public List<AttributeValuePair> createAvp(Triple triple,
                                          Attribute[] attributes)
Specified by:
createAvp in interface AttributeValuePairHelper

createAttributes

public Attribute[] createAttributes(List<AttributeValuePair> nameValues)
Specified by:
createAttributes in interface AttributeValuePairHelper

createAvp

public List<AttributeValuePair> createAvp(AttributeValuePair[] attributeValuePairsArray)
Specified by:
createAvp in interface AttributeValuePairHelper

createTriple

public Triple createTriple(List<AttributeValuePair> avp)
Specified by:
createTriple in interface AttributeValuePairHelper