NetKernel APIs


org.ten60.netkernel.layer1.representation
Class NVPAspect

java.lang.Object
  extended byorg.ten60.netkernel.layer1.representation.NVPAspect
All Implemented Interfaces:
IAspectNVP, IURAspect

public class NVPAspect
extends Object
implements IAspectNVP

Implementation of IAspectNVP


Constructor Summary
NVPAspect(NVPImpl aNVP)
          Creates a new instance of StringAspect
 
Method Summary
static IURRepresentation create(IURMeta aMeta, NVPImpl aNVP)
          Create an IURRepresentation holding the immutable NVPImpl
 Set getNames()
          returns the set of all available names
 String getValue(String name)
          return the first value for the given name
 List getValues(String name)
          return a list of values for the given name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NVPAspect

public NVPAspect(NVPImpl aNVP)
Creates a new instance of StringAspect

Method Detail

create

public static IURRepresentation create(IURMeta aMeta,
                                       NVPImpl aNVP)
Create an IURRepresentation holding the immutable NVPImpl

Parameters:
aMeta - the meta for the representation

getNames

public Set getNames()
Description copied from interface: IAspectNVP
returns the set of all available names

Specified by:
getNames in interface IAspectNVP

getValue

public String getValue(String name)
Description copied from interface: IAspectNVP
return the first value for the given name

Specified by:
getValue in interface IAspectNVP

getValues

public List getValues(String name)
Description copied from interface: IAspectNVP
return a list of values for the given name

Specified by:
getValues in interface IAspectNVP

NetKernel APIs


Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.