public class PredicateSignature extends ArgumentValidator
arguments, typenames| Modifier and Type | Method and Description |
|---|---|
static PredicateSignature |
getSignature(PredicateIF predicate) |
void |
interpretCharacter(char ch,
Argument curarg)
INTERNAL: Interprets the given character and updates the argument
to record the information in the character.
|
void |
validateArguments(Object[] args,
String predicate,
boolean strict)
Validates the arguments to this predicate.
|
void |
verifyBound(QueryMatches matches,
Object[] arguments,
PredicateIF predicate)
INTERNAL: Verifies that arguments which are required to be bound
actually are bound.
|
getArgument, getClassList, getClassName, getClassName, getTypes, makeSignaturepublic static PredicateSignature getSignature(PredicateIF predicate) throws InvalidQueryException
InvalidQueryExceptionpublic void interpretCharacter(char ch,
Argument curarg)
ArgumentValidatorx TMObjectIF (equivalent to mtarbvo) m TopicMapIF t TopicIF a AssociationIF r AssociationRoleIF b TopicNameIF v VariantNameIF o OccurrenceIF l LocatorIF p Pair (tolog-specific) B Boolean s String n Number (float + integer) i Integer f Float . Object z PredicateOptions (tolog-specific wizardry) ? optional argument + repeatable argument & multiple values ! tolog: argument must be bound; webed: argument must have a value
interpretCharacter in class ArgumentValidatorpublic void validateArguments(Object[] args, String predicate, boolean strict) throws InvalidQueryException
InvalidQueryExceptionpublic void verifyBound(QueryMatches matches, Object[] arguments, PredicateIF predicate) throws InvalidQueryException
InvalidQueryException