Class Element
java.lang.Object
com.inductiveautomation.ignition.common.xmlserialization.simple.Element
- Direct Known Subclasses:
ArrayElement
,BasicHistoricalRecord.HistoricalRecordXmlReader.Col
,BasicHistoricalRecord.HistoricalRecordXmlReader.Record
,BasicHistoricalRecord.HistoricalRecordXmlReader.Row
,DatasetElement
,DatasetElement.ColumnElement
,HistoricalDataXmlReader.DataTransactionElement
,HistoryFlavor.Base64XmlReader.Base64Element
,StringValueElement
,TagHistoryFlavor.TagXmlImportReader.RetirementListElement
,TagHistoryFlavor.TagXmlImportReader.ScanclassSet
,TagHistoryFlavor.TagXmlImportReader.TagElement
,TagHistoryFlavor.TagXmlImportReader.TagValueElement
,TagXMLImporter.TagXMLReader.AlarmConfigElement
,TagXMLImporter.TagXMLReader.EntryElement
,TagXMLImporter.TagXMLReader.EventElement
,TagXMLImporter.TagXMLReader.EventScriptsElement
,TagXMLImporter.TagXMLReader.ParametersElement
,TagXMLImporter.TagXMLReader.PermissionModelElement
,TagXMLImporter.TagXMLReader.PropertyBasedElement
,TagXMLImporter.TagXMLReader.PropertyElement
,TagXMLImporter.TagXMLReader.QueryParametersElement
,TagXMLImporter.TagXMLReader.TagsElement
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
getName()
getValue()
resolveType
(String name) This allows complex elements to return their own implementation or definitions for element types.void
setAttributes
(Attributes attr) void
void
void
setRawValue
(String value) validate()
-
Field Details
-
name
-
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
setAttributes
- Throws:
Exception
-
getName
-
setName
-
getValue
-
setRawValue
- Throws:
Exception
-
setLocale
-
getLocale
-
addChild
- Throws:
Exception
-
validate
-
resolveType
This allows complex elements to return their own implementation or definitions for element types. When a new element is encountered, the system works its way up through the current stack, and finally ends up at the types registered on the reader. This should return null if the element doesn't provide a custom type for the given name.
The class returned can be a non-static class. In that case, it will get instantiated against the object returning it.- Parameters:
name
- the lower cased element name.- Returns:
- a class that represents the element, or null if unknown.
-