A B C D E F G I J L N O P R S U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ArraysUtil - Class in org.jxmpp.util
- ArraysUtil() - Constructor for class org.jxmpp.util.ArraysUtil
- asString(TimeZone) - Static method in class org.jxmpp.util.XmppDateTime
-
Converts a time zone to the String format as specified in XEP-0082.
B
- build() - Method in class org.jxmpp.JxmppContext.Builder
-
Build a JxmppContext.
- build() - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Build an XML pretty printer.
- builder() - Static method in class org.jxmpp.JxmppContext
-
Construct and retrieve a new builder.
- builder() - Static method in class org.jxmpp.xml.splitter.XmlPrettyPrinter
-
Create a new builder.
- Builder() - Constructor for class org.jxmpp.JxmppContext.Builder
C
- close() - Method in class org.jxmpp.xml.splitter.XmlSplitter
- completeElementCallback - Variable in class org.jxmpp.xml.splitter.XmlSplitter
- CompleteElementCallback - Interface in org.jxmpp.xml.splitter
-
Callback for
XmlSplitter. - completeJidFrom(CharSequence, CharSequence) - Static method in class org.jxmpp.util.XmppStringUtils
-
Construct a JID String from the given parts.
- completeJidFrom(CharSequence, CharSequence, CharSequence) - Static method in class org.jxmpp.util.XmppStringUtils
-
Construct a JID String from the given parts.
- completeJidFrom(String, String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Construct a JID String from the given parts.
- completeJidFrom(String, String, String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Construct a JID String from the given parts.
- concatenate(T, T) - Static method in class org.jxmpp.util.ArraysUtil
-
Concatenate two arrays.
- convertRfc822TimezoneToXep82(String) - Static method in class org.jxmpp.util.XmppDateTime
-
Convert a RFC 822 Timezone to the Timezone format used in XEP-82.
- convertXep82TimezoneToRfc822(String) - Static method in class org.jxmpp.util.XmppDateTime
-
Converts a XEP-0082 date String's time zone definition into a RFC822 time zone definition.
- create(char, CharSequence) - Static method in exception org.jxmpp.xml.splitter.InvalidXmlException.InvalidAttributeDeclarationException
- create(char, CharSequence) - Static method in exception org.jxmpp.xml.splitter.InvalidXmlException.InvalidEmptyTagException
- createXmlSplitter(CompleteElementCallback, DeclarationCallback, ProcessingInstructionCallback) - Method in interface org.jxmpp.xml.splitter.XmlSplitterFactory
-
Returns a new
XmlSplitterconfigured with the given callback.
D
- DeclarationCallback - Interface in org.jxmpp.xml.splitter
-
Callback for
XmlSplitter. - domainpart - org.jxmpp.XmppAddressParttype
- domainprep(String) - Method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
- domainprep(String) - Method in interface org.jxmpp.stringprep.XmppStringprep
-
Performs String preparation on the domainpart String of a JID.
- domainprep(String) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform domainprep on the input String.
- domainprep(String, JxmppContext) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform domainprep on the input String.
E
- enableCaching() - Method in class org.jxmpp.JxmppContext.Builder
-
Enable String, Part and Jid caching.
- ensureLocalpartDoesNotIncludeFurtherExcludedCharacters(String) - Static method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
-
Ensure that the input string does not contain any of the further excluded characters of XMPP localparts.
- escapeLocalpart(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Escapes the localpart of a JID according to "JID Escaping" (XEP-0106).
F
- flush() - Method in class org.jxmpp.xml.splitter.XmlSplitter
- formatXEP0082Date(Date) - Static method in class org.jxmpp.util.XmppDateTime
-
Formats a Date into a XEP-0082 - XMPP Date and Time Profiles string.
- from(String, String) - Static method in exception org.jxmpp.stringprep.XmppStringprepException.MissingDomainpart
-
Create a new "missing domainpart" exception from the give parts.
G
- generateKey(String, String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Generate a unique key from a element name and namespace.
- getCapitalizedName() - Method in enum org.jxmpp.XmppAddressParttype
-
Get the capitalized name of this XMPP address part.
- getCausingString() - Method in exception org.jxmpp.stringprep.XmppStringprepException
-
Get the String causing the XMPP Stringprep exception.
- getCurrentSplittedPartSize() - Method in class org.jxmpp.xml.splitter.XmlSplitter
-
Get the size in bytes of the splitted part currently being processed.
- getDefaultContext() - Static method in class org.jxmpp.JxmppContext
-
Get the default context.
- getInstance() - Static method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
-
Get the Simple XMPP Stringprep singleton.
- getParsedXmlSoFar() - Method in exception org.jxmpp.xml.splitter.InvalidXmlException
- getUnexpectedChar() - Method in exception org.jxmpp.xml.splitter.InvalidXmlException
I
- InvalidXmlException - Exception in org.jxmpp.xml.splitter
- InvalidXmlException(CharSequence, char, CharSequence) - Constructor for exception org.jxmpp.xml.splitter.InvalidXmlException
- InvalidXmlException.InvalidAttributeDeclarationException - Exception in org.jxmpp.xml.splitter
- InvalidXmlException.InvalidEmptyTagException - Exception in org.jxmpp.xml.splitter
- isBareJid(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns true if
jidis a bare JID ("foo@bar.com"). - isCachingEnabled() - Method in class org.jxmpp.JxmppContext
-
Returns true if String, Part and Jid caching is enabled.
- isFullJID(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns true if jid is a full JID (i.e.
J
- JxmppContext - Class in org.jxmpp
-
A context with describes the configuration used by JXMPP.
- JxmppContext.Builder - Class in org.jxmpp
L
- localpart - org.jxmpp.XmppAddressParttype
- localprep(String) - Method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
- localprep(String) - Method in interface org.jxmpp.stringprep.XmppStringprep
-
Performs String preparation on the localpart String of a JID.
- localprep(String) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform localprep on the input String.
- localprep(String, JxmppContext) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform localprep on the input String.
N
- NAME - Static variable in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
- newSplittedPart() - Method in class org.jxmpp.xml.splitter.XmlSplitter
O
- Objects - Class in org.jxmpp.util
- Objects() - Constructor for class org.jxmpp.util.Objects
- onCompleteElement(String) - Method in interface org.jxmpp.xml.splitter.CompleteElementCallback
-
Invoked when a
XmlSplitterdid process a complete XML element. - onDeclaration(String) - Method in interface org.jxmpp.xml.splitter.DeclarationCallback
-
Invoked once an XML declaration got split.
- onEndTag(String) - Method in class org.jxmpp.xml.splitter.XmlSplitter
- onEndTag(String) - Method in class org.jxmpp.xml.splitter.XmppXmlSplitter
- onNextChar() - Method in class org.jxmpp.xml.splitter.XmlSplitter
- onNextChar() - Method in class org.jxmpp.xml.splitter.XmppXmlSplitter
- onPrettyPrintedXmlChunk(StringBuilder) - Method in interface org.jxmpp.xml.splitter.XmlPrettyPrinter.PrettyPrintedXmlChunkWithCurrentPartCallback
-
Invoked after the XML pretty printer handled a chunk.
- onPrettyPrintedXmlPart(StringBuilder) - Method in interface org.jxmpp.xml.splitter.XmlPrettyPrinter.PrettyPrintedXmlPartCallback
-
Invoked after a part was completed.
- onProcessingInstruction(String) - Method in interface org.jxmpp.xml.splitter.ProcessingInstructionCallback
-
Invoked once a new XML Processing Instruction got split.
- onStartTag(String, String, Map<String, String>) - Method in class org.jxmpp.xml.splitter.XmlSplitter
- onStartTag(String, String, Map<String, String>) - Method in class org.jxmpp.xml.splitter.XmppXmlSplitter
- org.jxmpp - package org.jxmpp
-
JXMPP, a XMPP base library.
- org.jxmpp.stringprep - package org.jxmpp.stringprep
-
API to transform (prepare) Strings and CharSequences for use in XMPP.
- org.jxmpp.stringprep.simple - package org.jxmpp.stringprep.simple
-
A simple, but not complete, implementation of XMPP Stringprep.
- org.jxmpp.util - package org.jxmpp.util
-
Utility classes.
- org.jxmpp.xml.splitter - package org.jxmpp.xml.splitter
-
Utilities to split XML into single top-level elements.
P
- parseBareJid(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns the JID with any resource information removed.
- parseDate(String) - Static method in class org.jxmpp.util.XmppDateTime
-
Parses the given date string in either of the three profiles of XEP-0082 - XMPP Date and Time Profiles or XEP-0091 - Legacy Delayed Delivery format.
- parseDomain(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns the domain of an XMPP address (JID).
- parseLocalpart(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns the localpart of an XMPP address (JID).
- parseResource(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Returns the resource portion of an XMPP address (JID).
- parseXEP0082Date(String) - Static method in class org.jxmpp.util.XmppDateTime
-
Parses the given date string in the XEP-0082 - XMPP Date and Time Profiles.
- ProcessingInstructionCallback - Interface in org.jxmpp.xml.splitter
-
Callback for
XmlSplitter.
R
- requireNonNull(T, String) - Static method in class org.jxmpp.util.Objects
-
Checks that the specified object reference is not
nulland throws a customizedIllegalArgumentExceptionif it is. - resetWriteBuffer(int) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Reset the write buffer to the given size.
- resourcepart - org.jxmpp.XmppAddressParttype
- resourceprep(String) - Method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
- resourceprep(String) - Method in interface org.jxmpp.stringprep.XmppStringprep
-
Performs String preparation on the resourcepart String of a JID.
- resourceprep(String) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform resourceprep on the input String.
- resourceprep(String, JxmppContext) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Perform resourceprep on the input String.
S
- setAttributeIndent(int) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set the attribute indent in whitespace characters.
- setChunkCallback(XmlPrettyPrinter.PrettyPrintedXmlChunkWithCurrentPartCallback) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set a chunk callback.
- setDefaultXmppStringprep(XmppStringprep) - Static method in class org.jxmpp.JxmppContext
-
Set the default XmppStringprep interface.
- setIndent(int) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set the indent for elements in whitespace characters.
- setMaxCacheSizes(int) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Set the maximum cache sizes.
- setPartCallback(XmlPrettyPrinter.PrettyPrintedXmlPartCallback) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set a part callback.
- setPrettyWriter(XmlPrettyPrinter.PrettyPrintedXmlChunkSink) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set a
XmlPrettyPrinter.PrettyPrintedXmlChunkSinkfor the pretty printed XML stream. - setTabWidth(int) - Method in class org.jxmpp.xml.splitter.XmlPrettyPrinter.Builder
-
Set the tab width in whitespace characters.
- setup() - Static method in class org.jxmpp.stringprep.simple.SimpleXmppStringprep
-
Setup Simple XMPP Stringprep as implementation to use.
- setXmppStringprep(XmppStringprep) - Static method in class org.jxmpp.stringprep.XmppStringPrepUtil
-
Deprecated.
- SimpleXmppStringprep - Class in org.jxmpp.stringprep.simple
- sink(StringBuilder) - Method in interface org.jxmpp.xml.splitter.XmlPrettyPrinter.PrettyPrintedXmlChunkSink
-
Sink of the pretty printed XML chunk.
- streamClosed() - Method in interface org.jxmpp.xml.splitter.XmppElementCallback
-
Invoked when a XMPP 'stream' close tag has been read.
- streamOpened(String, Map<String, String>) - Method in interface org.jxmpp.xml.splitter.XmppElementCallback
-
Invoked if a new XMPP 'stream' open tag has been read.
U
- unescapeLocalpart(String) - Static method in class org.jxmpp.util.XmppStringUtils
-
Un-escapes the localpart of a JID according to "JID Escaping" (XEP-0106).
- Utf8ByteXmppXmlSplitter - Class in org.jxmpp.xml.splitter
-
Extended version of
XmppXmlSplitterallowing input to be bytes orByteBufferrepresenting a UTF-8 encoded XML string for XMPP. - Utf8ByteXmppXmlSplitter(XmppElementCallback) - Constructor for class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Create a new splitter with the given callback.
- Utf8ByteXmppXmlSplitter(XmppXmlSplitter) - Constructor for class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Create a new UTF-8 splitter with the given XMPP XML splitter.
V
- valueOf(String) - Static method in enum org.jxmpp.XmppAddressParttype
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.jxmpp.XmppAddressParttype
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- withXmppStringprep(XmppStringprep) - Method in class org.jxmpp.JxmppContext.Builder
-
Set the used XmppStringprep.
- write(byte) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Write a single byte.
- write(byte[], int, int) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
- write(char[], int, int) - Method in class org.jxmpp.xml.splitter.XmlSplitter
- write(int) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
- write(ByteBuffer) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Write the given byte buffer.
- write(ByteBuffer[]) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Write the given array of byte buffers.
- write(Collection<? extends ByteBuffer>) - Method in class org.jxmpp.xml.splitter.Utf8ByteXmppXmlSplitter
-
Write the given collection of byte buffers.
X
- XmlPrettyPrinter - Class in org.jxmpp.xml.splitter
- XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlChunkSink) - Constructor for class org.jxmpp.xml.splitter.XmlPrettyPrinter
-
Construct a new XML pretty printer.
- XmlPrettyPrinter(XmlPrettyPrinter.PrettyPrintedXmlPartCallback) - Constructor for class org.jxmpp.xml.splitter.XmlPrettyPrinter
-
Construct a new XML pretty printer.
- XmlPrettyPrinter.Builder - Class in org.jxmpp.xml.splitter
- XmlPrettyPrinter.PrettyPrintedXmlChunkSink - Interface in org.jxmpp.xml.splitter
-
A functional interface which acts as sink for character sequences.
- XmlPrettyPrinter.PrettyPrintedXmlChunkWithCurrentPartCallback - Interface in org.jxmpp.xml.splitter
- XmlPrettyPrinter.PrettyPrintedXmlPartCallback - Interface in org.jxmpp.xml.splitter
- XmlPrinter - Class in org.jxmpp.xml.splitter
- XmlPrinter() - Constructor for class org.jxmpp.xml.splitter.XmlPrinter
- XmlSplitter - Class in org.jxmpp.xml.splitter
-
A XML splitter capable of splitting XML into top-level elements.
- XmlSplitter(int, CompleteElementCallback) - Constructor for class org.jxmpp.xml.splitter.XmlSplitter
-
Construct a new XML splitter.
- XmlSplitter(int, CompleteElementCallback, DeclarationCallback, ProcessingInstructionCallback) - Constructor for class org.jxmpp.xml.splitter.XmlSplitter
-
Construct a new XML splitter.
- XmlSplitter(int, CompleteElementCallback, DeclarationCallback, ProcessingInstructionCallback, XmlPrinter) - Constructor for class org.jxmpp.xml.splitter.XmlSplitter
-
Construct a new XML splitter.
- XmlSplitter(int, CompleteElementCallback, XmlPrinter) - Constructor for class org.jxmpp.xml.splitter.XmlSplitter
-
Construct a new XML splitter.
- XmlSplitterFactory - Interface in org.jxmpp.xml.splitter
-
A factory creating
XmlSplitter. - XmppAddressParttype - Enum in org.jxmpp
- XmppDateTime - Class in org.jxmpp.util
-
Utility class for date and time handling in XMPP.
- XmppDateTime() - Constructor for class org.jxmpp.util.XmppDateTime
- XmppElementCallback - Interface in org.jxmpp.xml.splitter
-
Callback for
XmlSplitter. - xmppStringprep - Variable in class org.jxmpp.JxmppContext
- XmppStringprep - Interface in org.jxmpp.stringprep
-
Interface for commonly used Stringprep operations used in XMPP.
- XmppStringprepException - Exception in org.jxmpp.stringprep
-
XMPP Stringprep exceptions signal an error when performing a particular Stringprep profile on a String.
- XmppStringprepException(String, Exception) - Constructor for exception org.jxmpp.stringprep.XmppStringprepException
-
Construct a new XMPP Stringprep exception with the given causing String and exception.
- XmppStringprepException(String, String) - Constructor for exception org.jxmpp.stringprep.XmppStringprepException
-
Construct a new XMPP Stringprep exception with the given causing String and exception message.
- XmppStringprepException.MissingDomainpart - Exception in org.jxmpp.stringprep
-
The input string does not contain a domainpart.
- XmppStringPrepUtil - Class in org.jxmpp.stringprep
- XmppStringPrepUtil() - Constructor for class org.jxmpp.stringprep.XmppStringPrepUtil
- XmppStringUtils - Class in org.jxmpp.util
-
Utility class for handling Strings in XMPP.
- XmppStringUtils() - Constructor for class org.jxmpp.util.XmppStringUtils
- XmppXmlSplitter - Class in org.jxmpp.xml.splitter
-
A XML splitter for XMPP.
- XmppXmlSplitter(int, XmppElementCallback) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Construct a new XMPP XML splitter.
- XmppXmlSplitter(int, XmppElementCallback, DeclarationCallback, ProcessingInstructionCallback) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Construct a new XMPP XML splitter.
- XmppXmlSplitter(int, XmppElementCallback, DeclarationCallback, ProcessingInstructionCallback, XmlPrinter) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Construct a new XMPP XML splitter.
- XmppXmlSplitter(int, XmppElementCallback, XmlPrinter) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Constructs a new XMPP XML splitter.
- XmppXmlSplitter(XmlPrinter) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Constructs a new XMPP XML splitter without any maximum element size restrictions using the given XML printer.
- XmppXmlSplitter(XmppElementCallback) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Construct a new XMPP XML splitter with a max element size of 10000.
- XmppXmlSplitter(XmppElementCallback, DeclarationCallback, ProcessingInstructionCallback) - Constructor for class org.jxmpp.xml.splitter.XmppXmlSplitter
-
Construct a new XMPP XML splitter with a max element size of 10000.
All Classes All Packages