public abstract class AbstractSchemaElement extends Object implements SchemaElement
Modifier and Type | Field and Description |
---|---|
private String |
description
Description.
|
private Extensions |
extensions
Extensions.
|
protected static String |
NO_WSP_REGEX
Regex to match one or more non spaces.
|
protected static String |
WSP_REGEX
Regex to match zero or more spaces.
|
Constructor and Description |
---|
AbstractSchemaElement() |
Modifier and Type | Method and Description |
---|---|
static <T extends AbstractSchemaElement> |
containsBooleanExtension(T schemaElement,
String extensionName)
Returns whether the supplied schema element has an extension name with a value of 'true'.
|
boolean |
equals(Object o) |
String |
getDescription()
Returns the description.
|
Extensions |
getExtensions()
Returns the extensions.
|
abstract int |
hashCode() |
void |
setDescription(String s)
Sets the description.
|
void |
setExtensions(Extensions e)
Sets the extensions.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
format
protected static final String WSP_REGEX
protected static final String NO_WSP_REGEX
private String description
private Extensions extensions
public String getDescription()
public void setDescription(String s)
s
- descriptionpublic Extensions getExtensions()
public void setExtensions(Extensions e)
e
- extensionspublic static <T extends AbstractSchemaElement> boolean containsBooleanExtension(T schemaElement, String extensionName)
T
- type of schema elementschemaElement
- to inspectextensionName
- to read boolean fromCopyright © 2003-2019 Virginia Tech. All Rights Reserved.