public abstract class AbstractAttributeGroup
extends Object
SecurityAttributes.
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.
| Constructor and Description |
|---|
AbstractAttributeGroup(String xmlNamespace)
Constructor which stores the XML namespace of the enclosing element
|
| Modifier and Type | Method and Description |
|---|---|
DDMSVersion |
getDDMSVersion()
Accessor for the DDMS namespace on the enclosing element.
|
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 |
validate()
Base validation case for attribute groups.
|
protected void |
validateSameVersion(DDMSVersion version)
Compares the DDMS version of these attributes to another DDMS version
|
public AbstractAttributeGroup(String xmlNamespace)
public DDMSVersion getDDMSVersion()
protected void validate()
throws InvalidDDMSException
| Rules |
|---|
|
|
InvalidDDMSException - if any required information is missing or malformedprotected void validateSameVersion(DDMSVersion version) throws InvalidDDMSException
version - the version to testInvalidDDMSException - if the versions do not matchpublic 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 addCopyright 2010 - 2013 by Brian Uri!
Generated on 12/15/2013 10:22 AM
http://ddmsence.urizone.net/