| Package | Description |
|---|---|
| org.gcube.data.trees.patterns |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractPattern
Partial
Pattern implementation. |
class |
AnyPattern
A pattern that matches all
Nodes. |
class |
BoolPattern
|
class |
CalendarPattern
|
class |
CutTreePattern
A
Pattern in which CutTreePattern.prune(Node) removes all the edges of matching nodes, not only those that are not required for matching. |
class |
DatePattern
|
class |
LeafPattern<T,C extends Constraint<? super T>>
|
class |
NumPattern
|
class |
TextPattern
|
class |
TreePattern
|
class |
URIPattern
|
| Modifier and Type | Method and Description |
|---|---|
static Pattern |
Patterns.clone(Pattern pattern)
Clones a
Pattern. |
static Pattern |
Patterns.hasPath(String... ids)
|
Pattern |
EdgePattern.pattern()
Returns the target pattern.
|
| Modifier and Type | Method and Description |
|---|---|
static AtLeastPattern |
Patterns.atleast(QName label,
Pattern pattern)
Returns an
AtLeastPattern for a given label and a given Pattern. |
static AtLeastPattern |
Patterns.atleast(String label,
Pattern pattern)
Returns an
AtLeastPattern for a given label and a given Pattern. |
static Pattern |
Patterns.clone(Pattern pattern)
Clones a
Pattern. |
static ManyPattern |
Patterns.many(QName label,
Pattern pattern)
Returns a
ManyPattern for a given label and a given Pattern. |
static ManyPattern |
Patterns.many(String label,
Pattern pattern)
Returns a
ManyPattern for a given label and a given Pattern. |
static OnePattern |
Patterns.one(QName label,
Pattern pattern)
Returns a
OnePattern for a given label and a given Pattern. |
static OnePattern |
Patterns.one(String label,
Pattern pattern)
Returns a
OnePattern for a given label and a given Pattern. |
static OnlyPattern |
Patterns.only(QName label,
Pattern pattern)
Returns an
OnlyPattern for a given label and a given Pattern. |
static OnlyPattern |
Patterns.only(String label,
Pattern pattern)
Returns an
OnlyPattern for a given label and a given Pattern. |
static OptPattern |
Patterns.opt(QName label,
Pattern pattern)
Returns an
OptPattern for a given label and a given Pattern. |
static OptPattern |
Patterns.opt(String label,
Pattern pattern)
Returns an
OptPattern for a given label and a given Pattern. |
void |
EdgePattern.setPattern(Pattern p)
Sets the target pattern.
|
| Constructor and Description |
|---|
AtLeastPattern(QName l,
Pattern p)
Creates an instance for a given label and pattern.
|
ManyPattern(QName l,
Pattern p)
Creates an instance for a givel label and pattern.
|
OnePattern(QName l,
Pattern predicate)
Creates an instance for a given label and pattern.
|
OnlyPattern(QName l,
Pattern p)
Creates an instance for a given label and pattern.
|
OptPattern(QName l,
Pattern p)
Creates an instance for a given label and pattern.
|
Copyright © 2018. All Rights Reserved.