public interface IDDMSComponent
All DDMS components should be valid after instantiation and can output themselves in various formats. Implementation classes are divided up into packages based on the five Core sets: Metacard Info, Security, Resource, Summary Content, and Format.
Accessors which return string-based data will always favour an empty string over a null value.
In general, Java classes are implemented for:
Modifier and Type | Method and Description |
---|---|
String |
getName()
Accessor for the name of the component
|
String |
getNamespace()
Accessor for the XML namespace of the component
|
String |
getPrefix()
Accessor for the prefix of the component, without a trailing colon
|
String |
getQualifiedName()
Accessor for the name of the component, including the prefix
|
SecurityAttributes |
getSecurityAttributes()
Returns any security attributes attached to this component.
|
List<ValidationMessage> |
getValidationWarnings()
Returns a list of any warning messages that occurred during validation.
|
nu.xom.Element |
getXOMElementCopy()
Accessor for a copy of the underlying XOM element.
|
String |
toHTML()
Renders this component as HTML.
|
String |
toJSON()
Renders this component as JSON.
|
String |
toText()
Renders this component as Text.
|
String |
toXML()
Renders this component as XML.
|
String getPrefix()
String getName()
String getNamespace()
String getQualifiedName()
SecurityAttributes getSecurityAttributes()
List<ValidationMessage> getValidationWarnings()
String toHTML()
String toJSON()
output.json.prettyPrint
property to control pretty printing of the
output.String toText()
output.indexLevel
property to add indices to the output.String toXML()
output.indexLevel
property to add indices to the output.nu.xom.Element getXOMElementCopy()
Copyright 2010 - 2019 by Brian Uri!
Generated on 09/15/2016 12:36 PM
https://ddmsence.urizone.net/