QNames.
| Modifier and Type | Field and Description |
|---|---|
| public static final NameClass | ANY
Sigleton instance that represents "anyName". |
| public static final NameClass | NULL
Sigleton instance that accepts no name. |
| private static final long | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract <V> V | |
| public abstract boolean | |
| public abstract int | |
| public final boolean | hasOverlapWith(NameClass nc2)
Returns true if the intersection between this name class and the specified name class is non-empty. |
| public abstract boolean | |
| public Set |
| ANY | back to summary |
|---|---|
| public static final NameClass ANY Sigleton instance that represents "anyName". | |
| NULL | back to summary |
|---|---|
| public static final NameClass NULL Sigleton instance that accepts no name. This instance is useful when doing boolean arithmetic over name classes (such as computing an inverse of a given name class, etc), even though it can never appear in a RELAX NG surface syntax. Internally, this instance is also used for:
| |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| SPECIFICITY_ANY_NAME | back to summary |
|---|---|
| pack-priv static final int SPECIFICITY_ANY_NAME | |
| SPECIFICITY_NAME | back to summary |
|---|---|
| pack-priv static final int SPECIFICITY_NAME | |
| SPECIFICITY_NONE | back to summary |
|---|---|
| pack-priv static final int SPECIFICITY_NONE | |
| SPECIFICITY_NS_NAME | back to summary |
|---|---|
| pack-priv static final int SPECIFICITY_NS_NAME | |
| NameClass | back to summary |
|---|---|
| public NameClass() | |
| accept | back to summary |
|---|---|
| public abstract <V> V accept(NameClassVisitor<V> visitor) Visitor pattern support. | |
| contains | back to summary |
|---|---|
| public abstract boolean contains(QName name) Returns true if the given | |
| containsSpecificity | back to summary |
|---|---|
| public abstract int containsSpecificity(QName name) | |
| hasOverlapWith | back to summary |
|---|---|
| public final boolean hasOverlapWith(NameClass nc2) Returns true if the intersection between this name class and the specified name class is non-empty. | |
| isOpen | back to summary |
|---|---|
| public abstract boolean isOpen() Returns true if the name class accepts infinite number of
Intuitively, this method returns true if the name class is some sort of wildcard. | |
| listNames | back to summary |
|---|---|
| public Set If the name class is closed (IOW ! | |