|
SmartFrog 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.smartfrog.sfcore.reference.ReferencePart
org.smartfrog.sfcore.reference.HereReferencePart
org.smartfrog.sfcore.reference.AttribReferencePart
public class AttribReferencePart
Implements the attrib reference part. This part resolves to the nearest container which has the given attribute (then the rest of the reference is forwarded to that attribute value)
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIB
Base string representation of this part (ATTRIB). |
| Fields inherited from class org.smartfrog.sfcore.reference.HereReferencePart |
|---|
HERE |
| Constructor Summary | |
|---|---|
AttribReferencePart(java.lang.Object v)
Constructs AttribReferencePart with a attribute. |
|
| Method Summary | |
|---|---|
ReferencePart |
asAttribReferencePart()
Returns this object since this is already an attrib reference part. |
int |
hashCode()
Returns hashcode of this part. |
java.lang.Object |
resolve(ReferenceResolver rr,
Reference r,
int index)
Resolves this reference part using the reference resolver. |
java.lang.Object |
resolve(RemoteReferenceResolver rr,
Reference r,
int index)
Resolves this reference part using the remote reference resolver. |
java.lang.String |
toString()
Returns a string representation of the reference part. |
java.lang.String |
toString(int index)
Return a string which is a representation of the reference part in a reference in the index position given. |
| Methods inherited from class org.smartfrog.sfcore.reference.HereReferencePart |
|---|
equals, getValue, setValue, sfGetProcessLog |
| Methods inherited from class org.smartfrog.sfcore.reference.ReferencePart |
|---|
attrib, clone, copy, forwardReference, here, host, iproperty, parent, process, property, root, thisref |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ATTRIB
| Constructor Detail |
|---|
public AttribReferencePart(java.lang.Object v)
v - value for attrib part| Method Detail |
|---|
public ReferencePart asAttribReferencePart()
asAttribReferencePart in class HereReferencePartpublic java.lang.String toString()
toString in class HereReferencePartpublic java.lang.String toString(int index)
toString in class HereReferencePartindex - the position in the reference
public int hashCode()
hashCode in class HereReferencePart
public java.lang.Object resolve(ReferenceResolver rr,
Reference r,
int index)
throws SmartFrogResolutionException
resolve in class HereReferencePartrr - reference resolverr - reference which this part sits inindex - index of this reference part in r
SmartFrogResolutionException - if failed to resolve reference
public java.lang.Object resolve(RemoteReferenceResolver rr,
Reference r,
int index)
throws SmartFrogResolutionException
resolve in class HereReferencePartrr - reference resolverr - reference which this part sits inindex - index of this reference part in r
SmartFrogResolutionException - if failed to resolve reference
|
SmartFrog CORE 3.10.000 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||