public abstract class AbstractAttributeGroup
extends Object
SecurityAttributes.
| In DDMS | 2.0 | 3.0 | 3.1 | 4.0.1/4.1 | 5.0 |
Extensions of this class are generally expected to be immutable. It is assumed that after the constructor on a component has been called, the component will be well-formed and valid.
| History |
|---|
| None. |
| Nested Elements | |||
|---|---|---|---|
|
| Attributes | |||
|---|---|---|---|
|
| Validation Rules | |||
|---|---|---|---|
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
INCOMPATIBLE_VERSION_MESSAGE |
| Constructor and Description |
|---|
AbstractAttributeGroup()
Empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
getNamespace()
Accessor for the XML namespace of these attributes
|
abstract String |
getOutput(boolean isHTML,
String prefix)
Outputs to HTML or Text with a prefix at the beginning of each meta tag or line.
|
List<ValidationMessage> |
getValidationWarnings()
Returns a list of any warning messages that occurred during validation.
|
protected List<ValidationMessage> |
getWarnings()
Accessor for the list of validation warnings.
|
protected void |
setNamespace(String namespace)
Accessor for the XML namespace of these attributes
|
protected void |
validate(DDMSVersion version)
Base validation case for attribute groups.
|
protected static final String INCOMPATIBLE_VERSION_MESSAGE
protected void validate(DDMSVersion version) throws InvalidDDMSException
version - the DDMS version to validate against. This cannot be stored in the attribute group because some
DDMSVersions have the same attribute XML namespace (e.g. XLink, ISM, NTK, GML after DDMS 2.0).InvalidDDMSException - if any required information is missing or malformedpublic List<ValidationMessage> getValidationWarnings()
protected List<ValidationMessage> getWarnings()
This is the private copy that should be manipulated during validation. Lazy initialization.
public abstract String getOutput(boolean isHTML,
String prefix)
isHTML - true for HTML, false for Textprefix - the prefix to addprotected String getNamespace()
protected void setNamespace(String namespace)
Copyright 2010 - 2014 by Brian Uri!
Generated on 05/13/2014 03:29 PM
http://ddmsence.urizone.net/