@Test public void bareFromThrowTest() { final String notABareJid = "example.org/test"; try { EntityBareJid jid = JidCreate.entityBareFrom(notABareJid); fail(jid + " should never been created"); } catch (XmppStringprepException e) { assertEquals(notABareJid, e.getCausingString()); } }
public static EntityBareJid entityBareFrom(CharSequence jid) throws XmppStringprepException { return entityBareFrom(jid.toString()); }
JidCreate { public static EntityBareJid entityBareFrom(CharSequence jid) throws XmppStringprepException { return entityBareFrom(jid.toString()); } }
JidCreate { public static EntityBareJid entityBareFrom(CharSequence jid) throws XmppStringprepException { return entityBareFrom(jid.toString()); }  }
JidCreate { public static EntityBareJid entityBareFrom(CharSequence jid) throws XmppStringprepException { return entityBareFrom(jid.toString()); }  static Jid from(CharSequence localpart, CharSequence domainpart, CharSequence resource); static Jid from(String localpart, String domainpart, String resource); static Jid from(String localpart, String domainpart, String resource, JxmppContext context); static Jid fromOrThrowUnchecked(CharSequence cs); static Jid from(CharSequence jid); static Jid from(String jidString); static Jid from(String jidString, JxmppContext context); static Jid fromOrNull(CharSequence cs); static Jid fromUnescapedOrThrowUnchecked(CharSequence cs); static Jid fromUnescaped(CharSequence unescapedJid); static Jid fromUnescaped(String unescapedJidString); static Jid fromUnescapedOrNull(CharSequence cs); static Jid fromUrlEncoded(CharSequence cs); static BareJid bareFromOrThrowUnchecked(CharSequence cs); static BareJid bareFrom(CharSequence jid); static BareJid bareFrom(String jid); static BareJid bareFrom(String jid, JxmppContext context); static BareJid bareFrom(Localpart localpart, DomainBareJid domainBareJid); static BareJid bareFrom(Localpart localpart, Domainpart domain); static BareJid bareFromOrNull(CharSequence cs); static BareJid bareFromUrlEncoded(CharSequence cs); static FullJid fullFromOrThrowUnchecked(CharSequence cs); static FullJid fullFrom(CharSequence jid); static FullJid fullFrom(String jid); static FullJid fullFrom(String localpart, String domainpart, String resource); static FullJid fullFrom(String localpart, String domainpart, String resource, JxmppContext context); static FullJid fullFrom(Localpart localpart, DomainBareJid domainBareJid, Resourcepart resource); static FullJid fullFrom(Localpart localpart, Domainpart domainpart, Resourcepart resource); static FullJid fullFrom(BareJid bareJid, Resourcepart resource); static FullJid fullFromOrNull(CharSequence cs); static FullJid fullFromUrlEncoded(CharSequence cs); static EntityJid entityFromOrThrowUnchecked(CharSequence cs); static EntityJid entityFrom(CharSequence jid); static EntityJid entityFrom(String jidString); static EntityJid entityFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityJid entityFromUnescaped(CharSequence jid); static EntityJid entityFromUnescaped(String jidString); @Deprecated static EntityJid entityFromUnesacpedOrNull(CharSequence cs); static EntityJid entityFromUnescapedOrNull(CharSequence cs); static EntityJid entityFromOrNull(CharSequence cs); static EntityJid entityFromUrlEncoded(CharSequence cs); static EntityBareJid entityBareFromOrThrowUnchecked(CharSequence cs); static EntityBareJid entityBareFrom(CharSequence jid); static EntityBareJid entityBareFrom(String jid); static EntityBareJid entityBareFrom(String jid, JxmppContext context); static EntityBareJid entityBareFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityBareJid entityBareFromUnescaped(CharSequence unescapedJid); static EntityBareJid entityBareFromUnescaped(String unescapedJidString); static EntityBareJid entityBareFromUnescaped(String unescapedJidString, JxmppContext context); static EntityBareJid entityBareFromUnescapedOrNull(CharSequence cs); static EntityBareJid entityBareFrom(Localpart localpart, DomainBareJid domainBareJid); static EntityBareJid entityBareFrom(Localpart localpart, Domainpart domain); static EntityBareJid entityBareFromOrNull(CharSequence cs); static EntityBareJid entityBareFromUrlEncoded(CharSequence cs); static EntityFullJid entityFullFromOrThrowUnchecked(CharSequence cs); static EntityFullJid entityFullFrom(CharSequence jid); static EntityFullJid entityFullFrom(String jid); static EntityFullJid entityFullFromOrNull(CharSequence cs); static EntityFullJid entityFullFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityFullJid entityFullFromUnescaped(CharSequence unescapedJid); static EntityFullJid entityFullFromUnescaped(String unescapedJidString); static EntityFullJid entityFullFromUnescaped(String unescapedJidString, JxmppContext context); static EntityFullJid entityFullFromUnescapedOrNull(CharSequence cs); static EntityFullJid entityFullFrom(String localpart, String domainpart, String resource); static EntityFullJid entityFullFrom(String localpart, String domainpart, String resource, JxmppContext context); static EntityFullJid entityFullFrom(Localpart localpart, DomainBareJid domainBareJid, Resourcepart resource); static EntityFullJid entityFullFrom(Localpart localpart, Domainpart domainpart, Resourcepart resource); static EntityFullJid entityFullFrom(EntityBareJid bareJid, Resourcepart resource); static EntityFullJid entityFullFromUrlEncoded(CharSequence cs); static DomainBareJid domainBareFromOrThrowUnchecked(CharSequence cs); static DomainBareJid domainBareFrom(CharSequence jid); static DomainBareJid domainBareFrom(String jid); static DomainBareJid domainBareFrom(String jid, JxmppContext context); static DomainBareJid domainBareFrom(Domainpart domainpart); static DomainBareJid domainBareFromOrNull(CharSequence cs); static DomainBareJid domainBareFromUrlEncoded(CharSequence cs); static DomainFullJid domainFullFromOrThrowUnchecked(CharSequence cs); static DomainFullJid domainFullFrom(CharSequence jid); static DomainFullJid domainFullFrom(String jid); static DomainFullJid domainFullFrom(String jid, JxmppContext context); static DomainFullJid domainFullFrom(Domainpart domainpart, Resourcepart resource); static DomainFullJid domainFullFrom(DomainBareJid domainBareJid, Resourcepart resource); static DomainFullJid domainFullFromOrNull(CharSequence cs); static DomainFullJid domainFullFromUrlEncoded(CharSequence cs); }
JidCreate { public static EntityBareJid entityBareFrom(CharSequence jid) throws XmppStringprepException { return entityBareFrom(jid.toString()); }  static Jid from(CharSequence localpart, CharSequence domainpart, CharSequence resource); static Jid from(String localpart, String domainpart, String resource); static Jid from(String localpart, String domainpart, String resource, JxmppContext context); static Jid fromOrThrowUnchecked(CharSequence cs); static Jid from(CharSequence jid); static Jid from(String jidString); static Jid from(String jidString, JxmppContext context); static Jid fromOrNull(CharSequence cs); static Jid fromUnescapedOrThrowUnchecked(CharSequence cs); static Jid fromUnescaped(CharSequence unescapedJid); static Jid fromUnescaped(String unescapedJidString); static Jid fromUnescapedOrNull(CharSequence cs); static Jid fromUrlEncoded(CharSequence cs); static BareJid bareFromOrThrowUnchecked(CharSequence cs); static BareJid bareFrom(CharSequence jid); static BareJid bareFrom(String jid); static BareJid bareFrom(String jid, JxmppContext context); static BareJid bareFrom(Localpart localpart, DomainBareJid domainBareJid); static BareJid bareFrom(Localpart localpart, Domainpart domain); static BareJid bareFromOrNull(CharSequence cs); static BareJid bareFromUrlEncoded(CharSequence cs); static FullJid fullFromOrThrowUnchecked(CharSequence cs); static FullJid fullFrom(CharSequence jid); static FullJid fullFrom(String jid); static FullJid fullFrom(String localpart, String domainpart, String resource); static FullJid fullFrom(String localpart, String domainpart, String resource, JxmppContext context); static FullJid fullFrom(Localpart localpart, DomainBareJid domainBareJid, Resourcepart resource); static FullJid fullFrom(Localpart localpart, Domainpart domainpart, Resourcepart resource); static FullJid fullFrom(BareJid bareJid, Resourcepart resource); static FullJid fullFromOrNull(CharSequence cs); static FullJid fullFromUrlEncoded(CharSequence cs); static EntityJid entityFromOrThrowUnchecked(CharSequence cs); static EntityJid entityFrom(CharSequence jid); static EntityJid entityFrom(String jidString); static EntityJid entityFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityJid entityFromUnescaped(CharSequence jid); static EntityJid entityFromUnescaped(String jidString); @Deprecated static EntityJid entityFromUnesacpedOrNull(CharSequence cs); static EntityJid entityFromUnescapedOrNull(CharSequence cs); static EntityJid entityFromOrNull(CharSequence cs); static EntityJid entityFromUrlEncoded(CharSequence cs); static EntityBareJid entityBareFromOrThrowUnchecked(CharSequence cs); static EntityBareJid entityBareFrom(CharSequence jid); static EntityBareJid entityBareFrom(String jid); static EntityBareJid entityBareFrom(String jid, JxmppContext context); static EntityBareJid entityBareFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityBareJid entityBareFromUnescaped(CharSequence unescapedJid); static EntityBareJid entityBareFromUnescaped(String unescapedJidString); static EntityBareJid entityBareFromUnescaped(String unescapedJidString, JxmppContext context); static EntityBareJid entityBareFromUnescapedOrNull(CharSequence cs); static EntityBareJid entityBareFrom(Localpart localpart, DomainBareJid domainBareJid); static EntityBareJid entityBareFrom(Localpart localpart, Domainpart domain); static EntityBareJid entityBareFromOrNull(CharSequence cs); static EntityBareJid entityBareFromUrlEncoded(CharSequence cs); static EntityFullJid entityFullFromOrThrowUnchecked(CharSequence cs); static EntityFullJid entityFullFrom(CharSequence jid); static EntityFullJid entityFullFrom(String jid); static EntityFullJid entityFullFromOrNull(CharSequence cs); static EntityFullJid entityFullFromUnescapedOrThrowUnchecked(CharSequence cs); static EntityFullJid entityFullFromUnescaped(CharSequence unescapedJid); static EntityFullJid entityFullFromUnescaped(String unescapedJidString); static EntityFullJid entityFullFromUnescaped(String unescapedJidString, JxmppContext context); static EntityFullJid entityFullFromUnescapedOrNull(CharSequence cs); static EntityFullJid entityFullFrom(String localpart, String domainpart, String resource); static EntityFullJid entityFullFrom(String localpart, String domainpart, String resource, JxmppContext context); static EntityFullJid entityFullFrom(Localpart localpart, DomainBareJid domainBareJid, Resourcepart resource); static EntityFullJid entityFullFrom(Localpart localpart, Domainpart domainpart, Resourcepart resource); static EntityFullJid entityFullFrom(EntityBareJid bareJid, Resourcepart resource); static EntityFullJid entityFullFromUrlEncoded(CharSequence cs); static DomainBareJid domainBareFromOrThrowUnchecked(CharSequence cs); static DomainBareJid domainBareFrom(CharSequence jid); static DomainBareJid domainBareFrom(String jid); static DomainBareJid domainBareFrom(String jid, JxmppContext context); static DomainBareJid domainBareFrom(Domainpart domainpart); static DomainBareJid domainBareFromOrNull(CharSequence cs); static DomainBareJid domainBareFromUrlEncoded(CharSequence cs); static DomainFullJid domainFullFromOrThrowUnchecked(CharSequence cs); static DomainFullJid domainFullFrom(CharSequence jid); static DomainFullJid domainFullFrom(String jid); static DomainFullJid domainFullFrom(String jid, JxmppContext context); static DomainFullJid domainFullFrom(Domainpart domainpart, Resourcepart resource); static DomainFullJid domainFullFrom(DomainBareJid domainBareJid, Resourcepart resource); static DomainFullJid domainFullFromOrNull(CharSequence cs); static DomainFullJid domainFullFromUrlEncoded(CharSequence cs);  }