|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.vysper.xmpp.addressing.stringprep.StringPrep
org.apache.vysper.xmpp.addressing.stringprep.NodePrep
@SpecCompliant(spec="RFC3920",
section="A",
status=IN_PROGRESS)
public class NodePrepThis class is used to prepare a Node Identifier for further usage. see RFC3920:3.3 see RFC3920:Appendix A see http://www.ietf.org/rfc/rfc3920.txt
| Method Summary | |
|---|---|
protected java.util.Map<java.lang.String,java.lang.String> |
buildMapping()
Override this method and return a custom map of character mappings to alter the Stringprep behavior. |
protected java.util.Set<java.lang.String> |
buildProhibitedSet()
Override this method and return a custom set of prohibited characters to alter the Stringprep behavior. |
static java.lang.String |
prepare(java.lang.String node)
Applies the Nodeprep profile to the given node. |
| Methods inherited from class org.apache.vysper.xmpp.addressing.stringprep.StringPrep |
|---|
prepareString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final java.lang.String prepare(java.lang.String node)
throws StringPrepViolationException
node - the node to prepare
StringPrepViolationException - in case the Nodeprep profile can't be applied
@SpecCompliant(spec="RFC3920",
section="A.3",
status=FINISHED)
protected java.util.Map<java.lang.String,java.lang.String> buildMapping()
StringPrep
buildMapping in class StringPrepMap containing all character mappings
@SpecCompliant(spec="RFC3920",
section="A.5",
status=FINISHED)
protected java.util.Set<java.lang.String> buildProhibitedSet()
StringPrep
buildProhibitedSet in class StringPrepSet containing all characters that are
prohibited
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||