|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.protocol.SourceRef
public class SourceRef
This class represents the <SourceRef> element as defined by the SyncML representation specifications
Constructor Summary | |
---|---|
SourceRef()
In order to expose the server configuration like WS this constructor must be public |
|
SourceRef(Source source)
Creates a new SourceRef object from an existing Source. |
|
SourceRef(java.lang.String value)
Creates a new SourceRef object given the referenced value. |
Method Summary | |
---|---|
Source |
getSource()
Gets the Source property |
java.lang.String |
getValue()
Returns the value |
void |
setSource(Source source)
Sets the Source property |
void |
setValue(java.lang.String value)
Sets the reference value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SourceRef()
public SourceRef(java.lang.String value)
value
- the referenced value - NULL ALLOWED
java.lang.IllegalArgumentException
- if value is nullpublic SourceRef(Source source)
source
- the source to extract the reference from - NOT NULL
java.lang.IllegalArgumentException
- if source is nullMethod Detail |
---|
public java.lang.String getValue()
public void setValue(java.lang.String value)
value
- the reference value - NULLpublic Source getSource()
public void setSource(Source source)
source
- the Source object property - NOT NULL
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |