public class Tags extends Bean implements Cloneable, JavaCodeGenerator
SERIALIZED_CLASS_NAME, TYPE
XML_SERIALIZED_CLASS_NAME
Modifier and Type | Method and Description |
---|---|
Tags |
add(String tag) |
Tags |
clone() |
boolean |
contains(String tag) |
Tags |
copyFrom(Tags tags) |
boolean |
equals(Object obj) |
Tags |
fromRecord(Record source)
Loads this instance's state from a record and returns
this (for fluid API call chaining). |
Tags |
fromXmlElement(Element element) |
void |
generateJavaCode(JavaCodeBuilder code) |
Set<String> |
getAll() |
int |
hashCode() |
Tags |
remove(String tag) |
Tags |
removeAll() |
int |
size() |
Record |
toRecord() |
Element |
toXmlElement(Document document) |
addExceptionProperties, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
fromArrayValue, fromArrayValue, fromArrayValue, fromJson, fromJson, newInstanceFromRecord, newInstanceFromRecord, toArrayValue, toJson, toJson, toJson, toRecord
newInstanceFromJson
forEachGrandChildElement, fromXml, fromXml, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getAttribute, getChildElement, getChildElements, newInstanceFromXml, newInstanceFromXml, setAttribute, toXml, toXml, toXml, toXml, toXml, writeXml, writeXml
public Tags()
public Tags(String... tags)
public void generateJavaCode(JavaCodeBuilder code)
generateJavaCode
in interface JavaCodeGenerator
public int size()
public boolean contains(String tag)
public Tags removeAll()
public Record toRecord()
toRecord
in interface RecordSerializable
toRecord
in class Bean
public Tags fromRecord(Record source)
RecordSerializable
this
(for fluid API call chaining).
For fluid API call chaining, the overridden method should change the declared return type to its class.fromRecord
in interface RecordSerializable
fromRecord
in class Bean
public Element toXmlElement(Document document)
toXmlElement
in interface XmlSerializable
public Tags fromXmlElement(Element element)
fromXmlElement
in interface XmlSerializable
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.