public static class SeeOtherHost.SeeOtherHostVHostItemExtension extends AbstractVHostItemExtension<SeeOtherHost.SeeOtherHostVHostItemExtension> implements VHostItemExtensionBackwardCompatible<SeeOtherHost.SeeOtherHostVHostItemExtension>
Constructor and Description |
---|
SeeOtherHostVHostItemExtension() |
Modifier and Type | Method and Description |
---|---|
void |
addCommandFields(String prefix,
Packet packet,
boolean forDefault) |
String |
getId() |
void |
initFromCommand(String prefix,
Packet packet) |
void |
initFromData(Map<String,Object> data) |
void |
initFromElement(Element item) |
boolean |
isEnabled() |
SeeOtherHost.SeeOtherHostVHostItemExtension |
mergeWithDefaults(SeeOtherHost.SeeOtherHostVHostItemExtension defaults) |
String |
toDebugString() |
Element |
toElement() |
addBooleanFieldWithDefaultToCommand
toString
public static final String ID
public String getId()
getId
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
public void initFromElement(Element item)
initFromElement
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
public void initFromCommand(String prefix, Packet packet) throws IllegalArgumentException
initFromCommand
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
IllegalArgumentException
public boolean isEnabled()
public String toDebugString()
toDebugString
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
public Element toElement()
toElement
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
public void addCommandFields(String prefix, Packet packet, boolean forDefault)
addCommandFields
in interface VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
public SeeOtherHost.SeeOtherHostVHostItemExtension mergeWithDefaults(SeeOtherHost.SeeOtherHostVHostItemExtension defaults)
mergeWithDefaults
in class VHostItemExtension<SeeOtherHost.SeeOtherHostVHostItemExtension>
public void initFromData(Map<String,Object> data)
initFromData
in interface VHostItemExtensionBackwardCompatible<SeeOtherHost.SeeOtherHostVHostItemExtension>
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.