Package tigase.server
Class Presence
- java.lang.Object
-
- tigase.server.Packet
-
- tigase.server.Presence
-
public class Presence extends Packet
Created: Dec 31, 2009 8:42:05 PM- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
-
Field Summary
Fields Modifier and Type Field Description static StringELEM_NAMEstatic String[]PRESENCE_ERROR_PATHstatic String[]PRESENCE_PRIORITY_PATHstatic String[]PRESENCE_SHOW_PATH-
Fields inherited from class tigase.server.Packet
CLIENT_XMLNS, elem, ERROR_NS, FROM_ATT, FULL_DEBUG, ID_ATT, PERM_ATT, PRIORITY_ATT, TO_ATT, TYPE_ATT, XMLNS_ATT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]getElNameErrorPath()A convenience method to provide XML path asString[]to error element.-
Methods inherited from class tigase.server.Packet
copyElementOnly, debug, elemToString, elemToStringSecure, errorResult, getAttribute, getAttribute, getAttribute, getAttributeStaticStr, getAttributeStaticStr, getCommand, getElemCData, getElemCData, getElemCData, getElemCDataStaticStr, getElemChild, getElemChild, getElemChildren, getElemChildren, getElemChildrenStaticStr, getElement, getElemFrom, getElemName, getElemTo, getErrorCondition, getFrom, getPacketFrom, getPacketTo, getPermissions, getPriority, getProcessorsIds, getSkippedProcessorsIds, getStanzaFrom, getStanzaId, getStanzaTo, getTo, getType, getXMLNS, initVars, initVars, isCommand, isElement, isRouted, isServiceDisco, isXMLNS, isXMLNS, isXMLNSStaticStr, notProcessedBy, okResult, okResult, packetInstance, packetInstance, packetInstance, packRouted, processedBy, setPacketFrom, setPacketTo, setPermissions, setPriority, setXMLNS, swapElemFromTo, swapElemFromTo, swapFromTo, swapFromTo, swapStanzaFromTo, swapStanzaFromTo, toString, toString, toStringFull, toStringSecure, unpackRouted, wasProcessed, wasProcessedBy, wasSkipped
-
-
-
-
Field Detail
-
ELEM_NAME
public static final String ELEM_NAME
- See Also:
- Constant Field Values
-
PRESENCE_ERROR_PATH
public static final String[] PRESENCE_ERROR_PATH
-
PRESENCE_PRIORITY_PATH
public static final String[] PRESENCE_PRIORITY_PATH
-
PRESENCE_SHOW_PATH
public static final String[] PRESENCE_SHOW_PATH
-
-
Constructor Detail
-
Presence
public Presence(Element elem) throws TigaseStringprepException
- Throws:
TigaseStringprepException
-
-
Method Detail
-
getElNameErrorPath
protected String[] getElNameErrorPath()
Description copied from class:PacketA convenience method to provide XML path asString[]to error element. This method should be override by all classes extending this class.- Overrides:
getElNameErrorPathin classPacket- Returns:
- XML path to error element.
-
-