|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ten60.netkernel.layer1.representation.MultiPartAspect
Aspect for holding multiple sub-representations.
Usage example see HTTP cookies
Constructor Summary | |
MultiPartAspect()
|
|
MultiPartAspect(Map aParts)
Creates a new instance of MultiPartAspect |
Method Summary | |
void |
addPart(String aName,
IURRepresentation aPart)
Add a named part. |
static IURRepresentation |
create(IURRepresentation aPrimary,
Map aOthers)
A convenience helper to create an IURRepresentation with all aspects from the primary plus a MultiPartAspect containing the list of other aspects |
String[] |
getPartNames()
|
IURRepresentation[] |
getParts()
|
IURRepresentation |
getPartWithName(String aName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiPartAspect()
public MultiPartAspect(Map aParts)
Method Detail |
public void addPart(String aName, IURRepresentation aPart)
public IURRepresentation getPartWithName(String aName)
getPartWithName
in interface IAspectMultipart
public String[] getPartNames()
getPartNames
in interface IAspectMultipart
public IURRepresentation[] getParts()
getParts
in interface IAspectMultipart
public static IURRepresentation create(IURRepresentation aPrimary, Map aOthers)
|
NetKernel APIs |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |