Class XMLAttribute
- java.lang.Object
-
- org.symphonyoss.symphony.messageml.util.XMLAttribute
-
- All Implemented Interfaces:
Serializable
public class XMLAttribute extends Object implements Serializable
This class is used to wrap an XML attribute values processed byXmlPrintStreamWhen passing an attribute, it is possible to use a string, however sometime is needed to specify the also the format, in this case use this class- Author:
- enrico.molino (23/11/2020)
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXMLAttribute.Format
-
Field Summary
Fields Modifier and Type Field Description XMLAttribute.FormatformatStringvalue
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLAttribute.FormatgetFormat()static XMLAttributeof(String name, XMLAttribute.Format format)StringtoString()
-
-
-
Field Detail
-
value
public final String value
-
format
public final XMLAttribute.Format format
-
-
Method Detail
-
of
public static XMLAttribute of(String name, XMLAttribute.Format format)
-
getFormat
public XMLAttribute.Format getFormat()
-
-