public abstract class AbstractNamedSchemaElement extends AbstractSchemaElement
Modifier and Type | Field and Description |
---|---|
private String[] |
names
Names.
|
private boolean |
obsolete
Obsolete.
|
NO_WSP_REGEX, WSP_REGEX
Constructor and Description |
---|
AbstractNamedSchemaElement() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the first name defined or null if no names are defined.
|
String[] |
getNames()
Returns the names.
|
boolean |
hasName(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(String[] s)
Sets the names.
|
void |
setObsolete(boolean b)
Sets whether this attribute type definition is obsolete.
|
containsBooleanExtension, equals, getDescription, getExtensions, hashCode, setDescription, setExtensions
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
format
private String[] names
private boolean obsolete
public String getName()
public String[] getNames()
public void setNames(String[] s)
s
- namespublic boolean hasName(String s)
s
- to matchpublic boolean isObsolete()
public void setObsolete(boolean b)
b
- whether this attribute type definition is obsoleteCopyright © 2003-2019 Virginia Tech. All Rights Reserved.