public class RegEx
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private java.util.List<RegExPart> |
parts
Represents the single parts of a regular expression.
|
| Constructor and Description |
|---|
RegEx()
Constructor, just sets the fields.
|
RegEx(java.util.List<RegExPart> parts)
Constructor, just sets the fields.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<RegExPart> |
getParts()
Returns the field parts.
|
int |
hashCode() |
java.lang.String |
toStringResolved()
Returns the resolved string of the regexpart , withOUT references like (RE:LABEL).
|
java.lang.String |
toStringUnresolved()
Returns the unresolved string of the regexpart, with references like (RE:LABEL).
|
private final java.util.List<RegExPart> parts
public RegEx()
public RegEx(java.util.List<RegExPart> parts)
parts - The parts to set.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.util.List<RegExPart> getParts()
public java.lang.String toStringResolved()
throws ReferenceIsUnresolvedException
ReferenceIsUnresolvedException - If a part is unresolved.public java.lang.String toStringUnresolved()