Top Description Constructors Methods
com.ongres.stringprep

public final Class Tables

extends Object
Class Inheritance

Expose tables parsed from the StringPrep RFC-3454.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static boolean

Returns:

true if the given codePoint is "Characters with bidirectional property L".
bidirectionalPropertyL
(int
the character (Unicode code point) to be tested.
codePoint
)

Characters with bidirectional property "L".

public static boolean

Returns:

true if the given codePoint is "Characters with bidirectional property R or AL".
bidirectionalPropertyRorAL
(int
the character (Unicode code point) to be tested.
codePoint
)

Characters with bidirectional property "R" or "AL".

public static boolean

Returns:

true if the given codePoint is "Commonly mapped to nothing".
mapToNothing
(int
the character (Unicode code point) to be tested.
codePoint
)

Commonly mapped to nothing.

public static int[]

Returns:

Case-folding used with NFKC for the given codePoint.
mapWithNfkc
(int
the character (Unicode code point) to be mapped.
codePoint
)

Mapping for case-folding used with NFKC.

public static int[]

Returns:

Case-folding used with no normalization for the given codePoint.
mapWithoutNormalization
(int
the character (Unicode code point) to be mapped.
codePoint
)

Mapping for case-folding used with no normalization.

public static boolean

Returns:

true if the given codePoint is "ASCII control characters".
prohibitionAsciiControl
(int
the character (Unicode code point) to be tested.
codePoint
)

ASCII control characters.

public static boolean

Returns:

true if the given codePoint is "ASCII space characters".
prohibitionAsciiSpace
(int
the character (Unicode code point) to be tested.
codePoint
)

ASCII space characters.

public static boolean

Returns:

true if the given codePoint is "Change display properties or are deprecated".
prohibitionChangeDisplayProperties
(int
the character (Unicode code point) to be tested.
codePoint
)

Change display properties or are deprecated.

public static boolean

Returns:

true if the given codePoint is "Inappropriate for canonical representation".
prohibitionInappropriateCanonicalRepresentation
(int
the character (Unicode code point) to be tested.
codePoint
)

Inappropriate for canonical representation.

public static boolean

Returns:

true if the given codePoint is "Inappropriate for plain text".
prohibitionInappropriatePlainText
(int
the character (Unicode code point) to be tested.
codePoint
)

Inappropriate for plain text.

public static boolean

Returns:

true if the given codePoint is "Non-ASCII control characters".
prohibitionNonAsciiControl
(int
the character (Unicode code point) to be tested.
codePoint
)

Non-ASCII control characters.

public static boolean

Returns:

true if the given codePoint is "Non-ASCII space characters".
prohibitionNonAsciiSpace
(int
the character (Unicode code point) to be tested.
codePoint
)

Non-ASCII space characters.

public static boolean

Returns:

true if the given codePoint is "Non-character code points".
prohibitionNonCharacterCodePoints
(int
the character (Unicode code point) to be tested.
codePoint
)

Non-character code points.

public static boolean

Returns:

true if the given codePoint is "Private use".
prohibitionPrivateUse
(int
the character (Unicode code point) to be tested.
codePoint
)

Private use.

public static boolean

Returns:

true if the given codePoint is "Surrogate codes".
prohibitionSurrogateCodes
(int
the character (Unicode code point) to be tested.
codePoint
)

Surrogate codes.

public static boolean

Returns:

true if the given codePoint is "Tagging characters".
prohibitionTaggingCharacters
(int
the character (Unicode code point) to be tested.
codePoint
)

Tagging characters.

public static boolean

Returns:

true if the given codePoint is "Unassigned code points in Unicode 3.2".
unassignedCodePoints
(int
the character (Unicode code point) to be tested.
codePoint
)

Unassigned code points in Unicode 3.2.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Tablesback to summary
private Tables()

Method Detail

bidirectionalPropertyLback to summary
public static boolean bidirectionalPropertyL(int codePoint)

Characters with bidirectional property "L".

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Characters with bidirectional property L".

See Also
RFC 3454, Appendix D.2
bidirectionalPropertyRorALback to summary
public static boolean bidirectionalPropertyRorAL(int codePoint)

Characters with bidirectional property "R" or "AL".

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Characters with bidirectional property R or AL".

See Also
RFC 3454, Appendix D.1
mapToNothingback to summary
public static boolean mapToNothing(int codePoint)

Commonly mapped to nothing.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Commonly mapped to nothing".

See Also
RFC 3454, Appendix B.1
mapWithNfkcback to summary
public static int[] mapWithNfkc(int codePoint)

Mapping for case-folding used with NFKC.

Parameters
codePoint:int

the character (Unicode code point) to be mapped.

Returns:int[]

Case-folding used with NFKC for the given codePoint.

See Also
RFC 3454, Appendix B.2
mapWithoutNormalizationback to summary
public static int[] mapWithoutNormalization(int codePoint)

Mapping for case-folding used with no normalization.

Parameters
codePoint:int

the character (Unicode code point) to be mapped.

Returns:int[]

Case-folding used with no normalization for the given codePoint.

See Also
RFC 3454, Appendix B.3
prohibitionAsciiControlback to summary
public static boolean prohibitionAsciiControl(int codePoint)

ASCII control characters.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "ASCII control characters".

See Also
RFC 3454, Appendix C.2.1
prohibitionAsciiSpaceback to summary
public static boolean prohibitionAsciiSpace(int codePoint)

ASCII space characters.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "ASCII space characters".

See Also
RFC 3454, Appendix C.1.1
prohibitionChangeDisplayPropertiesback to summary
public static boolean prohibitionChangeDisplayProperties(int codePoint)

Change display properties or are deprecated.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Change display properties or are deprecated".

See Also
RFC 3454, Appendix C.8
prohibitionInappropriateCanonicalRepresentationback to summary
public static boolean prohibitionInappropriateCanonicalRepresentation(int codePoint)

Inappropriate for canonical representation.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Inappropriate for canonical representation".

See Also
RFC 3454, Appendix C.7
prohibitionInappropriatePlainTextback to summary
public static boolean prohibitionInappropriatePlainText(int codePoint)

Inappropriate for plain text.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Inappropriate for plain text".

See Also
RFC 3454, Appendix C.6
prohibitionNonAsciiControlback to summary
public static boolean prohibitionNonAsciiControl(int codePoint)

Non-ASCII control characters.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Non-ASCII control characters".

See Also
RFC 3454, Appendix C.2.2
prohibitionNonAsciiSpaceback to summary
public static boolean prohibitionNonAsciiSpace(int codePoint)

Non-ASCII space characters.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Non-ASCII space characters".

See Also
RFC 3454, Appendix C.1.2
prohibitionNonCharacterCodePointsback to summary
public static boolean prohibitionNonCharacterCodePoints(int codePoint)

Non-character code points.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Non-character code points".

See Also
RFC 3454, Appendix C.4
prohibitionPrivateUseback to summary
public static boolean prohibitionPrivateUse(int codePoint)

Private use.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Private use".

See Also
RFC 3454, Appendix C.3
prohibitionSurrogateCodesback to summary
public static boolean prohibitionSurrogateCodes(int codePoint)

Surrogate codes.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Surrogate codes".

See Also
RFC 3454, Appendix C.5
prohibitionTaggingCharactersback to summary
public static boolean prohibitionTaggingCharacters(int codePoint)

Tagging characters.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Tagging characters".

See Also
RFC 3454, Appendix C.9
unassignedCodePointsback to summary
public static boolean unassignedCodePoints(int codePoint)

Unassigned code points in Unicode 3.2.

Parameters
codePoint:int

the character (Unicode code point) to be tested.

Returns:boolean

true if the given codePoint is "Unassigned code points in Unicode 3.2".

See Also
RFC 3454, Appendix A.1