|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteu.esdihumboldt.hale.io.gml.writer.internal.geometry.writers.Pattern
public class Pattern
Represents a pattern for matching an abstract path
Field Summary | |
---|---|
static String |
GML_NAMESPACE_PLACEHOLDER
Placeholder for the GML namespace that may be used in patterns |
Method Summary | |
---|---|
static Pattern |
and(Pattern... patterns)
Create a pattern that combines multiple patterns with a logical AND. |
boolean |
isValid()
Determines if the pattern is valid. |
DefinitionPath |
match(TypeDefinition type,
DefinitionPath path,
String gmlNs)
Matches the type against the encoding pattern. |
static Pattern |
or(Pattern... patterns)
Create a pattern that combines multiple patterns with a logical OR. |
static Pattern |
parse(String pattern)
Parse a pattern from the given string. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String GML_NAMESPACE_PLACEHOLDER
Method Detail |
---|
public static Pattern parse(String pattern)
/
. Valid elements are *
(one XML element
with any name), **
(any number of XML elements with any
name) and an XML element name. An XML element name may also include a
namespace, the namespace must be wrapped by quotes ("
). If
no namespace is specified the GML namespace is assumed.
pattern
- the pattern string
public static Pattern or(Pattern... patterns)
patterns
- the sub-patterns
public static Pattern and(Pattern... patterns)
patterns
- the sub-patterns
public DefinitionPath match(TypeDefinition type, DefinitionPath path, String gmlNs)
type
- the type definitionpath
- the definition pathgmlNs
- the GML namespace
null
otherwisepublic boolean isValid()
public String toString()
toString
in class Object
Object.toString()
|
Humboldt Alignment Editor 2.5.0 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |