|
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
public class MultiPartAspect
Aspect for holding multiple sub-representations.
Usage example see HTTP cookies
| Constructor Summary | |
|---|---|
MultiPartAspect()
|
|
MultiPartAspect(java.util.Map aParts)
Creates a new instance of MultiPartAspect |
|
| Method Summary | |
|---|---|
void |
addPart(java.lang.String aName,
IURRepresentation aPart)
Add a named part. |
static IURRepresentation |
create(IURRepresentation aPrimary,
java.util.Map aOthers)
A convenience helper to create an IURRepresentation with all aspects from the primary plus a MultiPartAspect containing the list of other aspects |
java.lang.String[] |
getPartNames()
|
IURRepresentation[] |
getParts()
|
IURRepresentation |
getPartWithName(java.lang.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(java.util.Map aParts)
aOthers - a map of named IURRepresentations| Method Detail |
|---|
public void addPart(java.lang.String aName,
IURRepresentation aPart)
public IURRepresentation getPartWithName(java.lang.String aName)
getPartWithName in interface IAspectMultipartpublic java.lang.String[] getPartNames()
getPartNames in interface IAspectMultipartpublic IURRepresentation[] getParts()
getParts in interface IAspectMultipart
public static IURRepresentation create(IURRepresentation aPrimary,
java.util.Map aOthers)
|
NetKernel APIs |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||