| Modifier and Type | Field and Description |
|---|---|
| public static final NameClass | ALL
name class that accepts everything. |
| public static final String | |
| public static final String | NAMESPACE_WILDCARD
wildcard should be accepted by any name class. |
| public static final NameClass | NONE
Name class that accepts nothing. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public abstract boolean | Returns: true if the pair is accepted, false otherwise.namespace URI to be tested. If this value equals to
NAMESPACE_WILDCARD, implementation must assume that
valid namespace is specified. this twist will be used for
error diagnosis. namespaceURI, String local part to be tested. As with namespaceURI, LOCALNAME_WILDCARD
will acts as a wild card. localName)checks if this name class accepts given namespace:localName pair. |
| public final boolean | |
| public final boolean | |
| public static NameClass | |
| public final boolean | |
| public boolean | |
| public NameClass | |
| public static NameClass | |
| public abstract Object |
| ALL | back to summary |
|---|---|
| public static final NameClass ALL name class that accepts everything. | |
| LOCALNAME_WILDCARD | back to summary |
|---|---|
| public static final String LOCALNAME_WILDCARD | |
| NAMESPACE_WILDCARD | back to summary |
|---|---|
| public static final String NAMESPACE_WILDCARD wildcard should be accepted by any name class. | |
| NONE | back to summary |
|---|---|
| public static final NameClass NONE Name class that accepts nothing. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| NameClass | back to summary |
|---|---|
| public NameClass() | |
| accepts | back to summary |
|---|---|
| public abstract boolean accepts(String namespaceURI, String localName) checks if this name class accepts given namespace:localName pair.
| |
| accepts | back to summary |
|---|---|
| public final boolean accepts(StringPair name) | |
| includes | back to summary |
|---|---|
| public final boolean includes(NameClass rhs) Returns true if this name class is a superset of another name class. | |
| intersection | back to summary |
|---|---|
| public static NameClass intersection(NameClass lhs, NameClass rhs) Computes the intersection of two name classes. | |
| isEqualTo | back to summary |
|---|---|
| public final boolean isEqualTo(NameClass rhs) Returns true if this name class represents the same set as the given name class. | |
| isNull | back to summary |
|---|---|
| public boolean isNull() Returns true if this name class doesn't accept anything. | |
| simplify | back to summary |
|---|---|
| public NameClass simplify() Computes the equivalent but simple name class. | |
| union | back to summary |
|---|---|
| public static NameClass union(NameClass lhs, NameClass rhs) Computes the union of two name classes. | |
| visit | back to summary |
|---|---|
| public abstract Object visit(NameClassVisitor visitor) visitor pattern support | |