Java Doc for UCaseProps.java in  » Internationalization-Localization » icu4j » com » ibm » icu » impl » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Internationalization Localization » icu4j » com.ibm.icu.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.ibm.icu.impl.UCaseProps

All known Subclasses:   com.ibm.icu.text.ReplaceableContextIterator,
UCaseProps
final public class UCaseProps (Code)

Inner Class :public interface ContextIterator

Field Summary
final public static  intLOWER
    
final public static  intMAX_STRING_LENGTH
     For string case mappings, a single character (a code point) is mapped either to itself (in which case in-place mapping functions do nothing), or to another single code point, or to a string. Aside from the string contents, these are indicated with a single int value as follows: Mapping to self: Negative values (~self instead of -self to support U+0000) Mapping to another code point: Positive values >MAX_STRING_LENGTH Mapping to a string: The string length (0..MAX_STRING_LENGTH) is returned.
final public static  intNONE
    
final public static  intTITLE
    
final public static  intTYPE_MASK
    
final public static  intUPPER
    

Constructor Summary
public  UCaseProps()
    

Method Summary
final public  voidaddCaseClosure(int c, UnicodeSet set)
     Adds all simple case mappings and the full case folding for c to sa, and also adds special case closure mappings.
final public  voidaddPropertyStarts(UnicodeSet set)
    
final public  booleanaddStringCaseClosure(String s, UnicodeSet set)
     Maps the string to single code points and adds the associated case closure mappings.
final public  intfold(int c, int options)
    
final public  intgetDotType(int c)
    
final public static synchronized  UCasePropsgetDummy()
     Get a singleton dummy object, one that works with no real data.
final public static synchronized  UCasePropsgetSingleton()
    
final public  intgetType(int c)
    
final public  intgetTypeOrIgnorable(int c)
    
final public  booleanisCaseSensitive(int c)
    
final public  booleanisSoftDotted(int c)
    
final public  inttoFullFolding(int c, StringBuffer out, int options)
    
final public  inttoFullLower(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)
     Get the full lowercase mapping for c.
Parameters:
  c - Character to be mapped.
Parameters:
  iter - Character iterator, used for context-sensitive mappings.See ContextIterator for details.If iter==null then a context-independent result is returned.
Parameters:
  out - If the mapping result is a string, then it is appended to out.
Parameters:
  locale - Locale ID for locale-dependent mappings.
Parameters:
  locCache - Initialize locCache[0] to 0; may be used to cache the result of parsingthe locale ID for subsequent calls.Can be null.
final public  inttoFullTitle(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)
    
final public  inttoFullUpper(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)
    
final public  inttolower(int c)
    
final public  inttotitle(int c)
    
final public  inttoupper(int c)
    

Field Detail
LOWER
final public static int LOWER(Code)



MAX_STRING_LENGTH
final public static int MAX_STRING_LENGTH(Code)
For string case mappings, a single character (a code point) is mapped either to itself (in which case in-place mapping functions do nothing), or to another single code point, or to a string. Aside from the string contents, these are indicated with a single int value as follows: Mapping to self: Negative values (~self instead of -self to support U+0000) Mapping to another code point: Positive values >MAX_STRING_LENGTH Mapping to a string: The string length (0..MAX_STRING_LENGTH) is returned. Note that the string result may indeed have zero length.



NONE
final public static int NONE(Code)



TITLE
final public static int TITLE(Code)



TYPE_MASK
final public static int TYPE_MASK(Code)



UPPER
final public static int UPPER(Code)




Constructor Detail
UCaseProps
public UCaseProps() throws IOException(Code)




Method Detail
addCaseClosure
final public void addCaseClosure(int c, UnicodeSet set)(Code)
Adds all simple case mappings and the full case folding for c to sa, and also adds special case closure mappings. c itself is not added. For example, the mappings - for s include long s - for sharp s include ss - for k include the Kelvin sign



addPropertyStarts
final public void addPropertyStarts(UnicodeSet set)(Code)



addStringCaseClosure
final public boolean addStringCaseClosure(String s, UnicodeSet set)(Code)
Maps the string to single code points and adds the associated case closure mappings. The string is mapped to code points if it is their full case folding string. In other words, this performs a reverse full case folding and then adds the case closure items of the resulting code points. If the string is found and its closure applied, then the string itself is added as well as part of its code points' closure. true if the string was found



fold
final public int fold(int c, int options)(Code)



getDotType
final public int getDotType(int c)(Code)
NO_DOT, SOFT_DOTTED, ABOVE, OTHER_ACCENT



getDummy
final public static synchronized UCaseProps getDummy()(Code)
Get a singleton dummy object, one that works with no real data. This can be used when the real data is not available. Using the dummy can reduce checks for available data after an initial failure. Port of ucase_getDummy().



getSingleton
final public static synchronized UCaseProps getSingleton() throws IOException(Code)



getType
final public int getType(int c)(Code)
NONE, LOWER, UPPER, TITLE



getTypeOrIgnorable
final public int getTypeOrIgnorable(int c)(Code)
same as getType(), or <0 if c is case-ignorable



isCaseSensitive
final public boolean isCaseSensitive(int c)(Code)



isSoftDotted
final public boolean isSoftDotted(int c)(Code)



toFullFolding
final public int toFullFolding(int c, StringBuffer out, int options)(Code)



toFullLower
final public int toFullLower(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)(Code)
Get the full lowercase mapping for c.
Parameters:
  c - Character to be mapped.
Parameters:
  iter - Character iterator, used for context-sensitive mappings.See ContextIterator for details.If iter==null then a context-independent result is returned.
Parameters:
  out - If the mapping result is a string, then it is appended to out.
Parameters:
  locale - Locale ID for locale-dependent mappings.
Parameters:
  locCache - Initialize locCache[0] to 0; may be used to cache the result of parsingthe locale ID for subsequent calls.Can be null. Output code point or string length, see MAX_STRING_LENGTH.
See Also:   ContextIterator
See Also:   UCaseProps.MAX_STRING_LENGTH



toFullTitle
final public int toFullTitle(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)(Code)



toFullUpper
final public int toFullUpper(int c, ContextIterator iter, StringBuffer out, ULocale locale, int[] locCache)(Code)



tolower
final public int tolower(int c)(Code)



totitle
final public int totitle(int c)(Code)



toupper
final public int toupper(int c)(Code)



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.