Package tigase.server.xmppclient
Class SeeOtherHost.SeeOtherHostVHostItemExtension
- java.lang.Object
-
- tigase.vhosts.VHostItemExtension<T>
-
- tigase.vhosts.AbstractVHostItemExtension<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
- tigase.server.xmppclient.SeeOtherHost.SeeOtherHostVHostItemExtension
-
- All Implemented Interfaces:
VHostItemExtensionBackwardCompatible<SeeOtherHost.SeeOtherHostVHostItemExtension>,VHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
- Enclosing class:
- SeeOtherHost
public static class SeeOtherHost.SeeOtherHostVHostItemExtension extends AbstractVHostItemExtension<SeeOtherHost.SeeOtherHostVHostItemExtension> implements VHostItemExtensionBackwardCompatible<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
-
Constructor Summary
Constructors Constructor Description SeeOtherHostVHostItemExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCommandFields(String prefix, Packet packet, boolean forDefault)StringgetId()voidinitFromCommand(String prefix, Packet packet)voidinitFromData(Map<String,Object> data)voidinitFromElement(Element item)booleanisEnabled()SeeOtherHost.SeeOtherHostVHostItemExtensionmergeWithDefaults(SeeOtherHost.SeeOtherHostVHostItemExtension defaults)StringtoDebugString()ElementtoElement()-
Methods inherited from class tigase.vhosts.AbstractVHostItemExtension
addBooleanFieldWithDefaultToCommand
-
Methods inherited from class tigase.vhosts.VHostItemExtension
toString
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
- Specified by:
getIdin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
initFromElement
public void initFromElement(Element item)
- Specified by:
initFromElementin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
initFromCommand
public void initFromCommand(String prefix, Packet packet) throws IllegalArgumentException
- Specified by:
initFromCommandin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>- Throws:
IllegalArgumentException
-
isEnabled
public boolean isEnabled()
-
toDebugString
public String toDebugString()
- Specified by:
toDebugStringin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
toElement
public Element toElement()
- Specified by:
toElementin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
addCommandFields
public void addCommandFields(String prefix, Packet packet, boolean forDefault)
- Specified by:
addCommandFieldsin interfaceVHostItemExtensionIfc<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
mergeWithDefaults
public SeeOtherHost.SeeOtherHostVHostItemExtension mergeWithDefaults(SeeOtherHost.SeeOtherHostVHostItemExtension defaults)
- Specified by:
mergeWithDefaultsin classVHostItemExtension<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
initFromData
public void initFromData(Map<String,Object> data)
- Specified by:
initFromDatain interfaceVHostItemExtensionBackwardCompatible<SeeOtherHost.SeeOtherHostVHostItemExtension>
-
-