public static class MessageArchivingModule.Settings extends ElementWrapper
Modifier and Type | Method and Description |
---|---|
boolean |
getAutoSave() |
String |
getChildAttr(String childName,
String attr) |
Long |
getExpire() |
SaveMode |
getSaveMode() |
MessageArchivingModule.Settings |
setAutoSave(boolean value) |
MessageArchivingModule.Settings |
setChildAttr(String childName,
String attr,
String value) |
MessageArchivingModule.Settings |
setExpire(Long value) |
MessageArchivingModule.Settings |
setSaveMode(SaveMode mode) |
addChild, equals, findChild, getAsString, getAttribute, getAttributes, getChildAfter, getChildElementValue, getChildElementValue, getChildren, getChildren, getChildrenNS, getChildrenNS, getFirstChild, getFirstChild, getName, getNextSibling, getParent, getValue, getWrappedElement, getXMLNS, hashCode, removeAttribute, removeChild, setAttribute, setAttributes, setChildElementValue, setChildElementValue, setParent, setValue, setXMLNS, toString
public Settings() throws XMLException
XMLException
public Settings(Element element)
public boolean getAutoSave() throws XMLException
XMLException
public MessageArchivingModule.Settings setAutoSave(boolean value) throws XMLException
XMLException
public String getChildAttr(String childName, String attr) throws XMLException
XMLException
public Long getExpire() throws XMLException
XMLException
public MessageArchivingModule.Settings setExpire(Long value) throws XMLException
XMLException
public SaveMode getSaveMode() throws XMLException
XMLException
public MessageArchivingModule.Settings setSaveMode(SaveMode mode) throws XMLException
XMLException
public MessageArchivingModule.Settings setChildAttr(String childName, String attr, String value) throws XMLException
XMLException
Copyright © 2006–2023 Tigase. All rights reserved.