| |
|
| java.lang.Object com.ibm.webdav.ConditionFactor com.ibm.webdav.StateToken
Constructor Summary | |
public | StateToken(String uri) Construct a StateToken with the given URI. |
Method Summary | |
public static ConditionFactor | create(StreamTokenizer tokenizer) Create a StateToken by parsing the given If header as defined by
section 9.4 in the WebDAV spec. | public boolean | equals(Object factor) Compare with another StateToken. | public String | getURI() Get the URI of this StateToken. | public void | setURI(String value) Set the URI of this StateToken. | public String | toString() Return a String representation of this StateToken as defined by the If
header in section 9.4 of the WebDAV spec. |
StateToken | public StateToken(String uri)(Code) | | Construct a StateToken with the given URI.
Parameters: uri - the URI of the state token |
create | public static ConditionFactor create(StreamTokenizer tokenizer) throws WebDAVException(Code) | | Create a StateToken by parsing the given If header as defined by
section 9.4 in the WebDAV spec.
Parameters: tokenizer - a StreamTokenizer on the contents of a WebDAV If header the parsed ConditionFactor (StateToken) |
equals | public boolean equals(Object factor)(Code) | | Compare with another StateToken.
Parameters: factor - the state token to compare with true if this state token has the same URI as the factor |
getURI | public String getURI()(Code) | | Get the URI of this StateToken. The URI represents some state of the
resource in the containing Condition, for example, the lock token.
the URI for this state token |
setURI | public void setURI(String value)(Code) | | Set the URI of this StateToken. The URI represents some state of the
resource in the containing Condition, for example, the lock token.
Parameters: value - the URI for this state token |
toString | public String toString()(Code) | | Return a String representation of this StateToken as defined by the If
header in section 9.4 of the WebDAV spec.
a string representation of this state token |
|
|
|