public class SequenceType extends Object
A sequence type defines a type a the items in a sequnce can have. It consists of either an empty-sequence-test, or an ItemType(kind test, item() or atomic value) and an optional wildcard (*, ?, +)
Constructor and Description |
---|
SequenceType()
Constructor with no arguments means, the sequence type is the empty
sequence.
|
SequenceType(AbsFilter mFilter)
Constructor.
|
SequenceType(AbsFilter filter,
char mWildcard)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AbsFilter |
getFilter() |
char |
getWildcard()
Returns the wildcard's char representation.
|
boolean |
hasWildcard() |
boolean |
isEmptySequence() |
public SequenceType()
public SequenceType(AbsFilter mFilter)
mFilter
- item type filterpublic SequenceType(AbsFilter filter, char mWildcard)
filter
- item type filtermWildcard
- either '*', '?' or '+'public boolean isEmptySequence()
public AbsFilter getFilter()
public boolean hasWildcard()
public char getWildcard()
Copyright © 2013. All Rights Reserved.