public abstract class AbstractNamedSchemaElement extends AbstractSchemaElement
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String[] |
names
Names.
|
private boolean |
obsolete
Obsolete.
|
NO_WSP_REGEX, WSP_REGEX| Constructor and Description |
|---|
AbstractNamedSchemaElement() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the first name defined or null if no names are defined.
|
java.lang.String[] |
getNames()
Returns the names.
|
boolean |
hasName(java.lang.String s)
Returns whether the supplied string matches, ignoring case, any of the names for this schema element.
|
boolean |
isObsolete()
Returns whether this attribute type definition is obsolete.
|
void |
setNames(java.lang.String[] s)
Sets the names.
|
void |
setObsolete(boolean b)
Sets whether this attribute type definition is obsolete.
|
containsBooleanExtension, equals, getDescription, getExtensions, hashCode, setDescription, setExtensionsclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitformatprivate java.lang.String[] names
private boolean obsolete
public java.lang.String getName()
public java.lang.String[] getNames()
public void setNames(java.lang.String[] s)
s - namespublic boolean hasName(java.lang.String s)
s - to matchpublic boolean isObsolete()
public void setObsolete(boolean b)
b - whether this attribute type definition is obsolete