| |
|
| java.lang.Object com.ibm.webdav.ConditionTerm
Constructor Summary | |
public | ConditionTerm() Construct a Condition with no associated Resource URI. |
ConditionTerm | public ConditionTerm()(Code) | | Construct a Condition with no associated Resource URI.
|
contains | public boolean contains(ConditionFactor factor)(Code) | | Does this ConditionTerm contain the given ConditionFactor?
Parameters: factor - the factor to check for true if the term contains the given factor |
create | public static ConditionTerm create(StreamTokenizer tokenizer) throws WebDAVException(Code) | | Create a ConditionTerm 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 ConditionTerm exception: com.ibm.webdav.WebDAVException - thrown if there is a syntax error in the If header |
getConditionFactors | public Enumeration getConditionFactors()(Code) | | Get all the ConditionFactors in this Condition. The ConditionFactors in
a Condition must all match with states of the resource, i.e., they are AND'ed
together. ConditionTerms are contained in a Condition which is used in the
Precondition of a WebDAV If header.
an Enumeration of ConditionFactors |
matches | public boolean matches(ConditionTerm conditionTerm)(Code) | | See if this ConditionTerm matches the given ConditionTerm. This is an
AND operation. All the factors in the ConditionTerm must match.
Parameters: conditionTerm - the term to match true if all the factors in the term match those in this term |
numberOfFactors | public int numberOfFactors()(Code) | | Get the number of ConditionFactors in this ConditionTerm.
the number of factors in this term |
toString | public String toString()(Code) | | Return a String representation of this ConditionTerm as defined by section 9.4
of the WebDAV Spec.
a string representation of this term |
|
|
|