Java Doc for AbstractCharClass.java in  » Apache-Harmony-Java-SE » java-package » java » util » regex » 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 » Apache Harmony Java SE » java package » java.util.regex 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   java.util.regex.SpecialToken
      java.util.regex.AbstractCharClass

All known Subclasses:   java.util.regex.UnicodeCategory,  java.util.regex.CharClass,
AbstractCharClass
abstract class AbstractCharClass extends SpecialToken (Code)
This class represents character classes, i.e. sets of character either predefined or user defined. Note, this class represent token, not node, so being constructed by lexer.
author:
   Nikolay A. Kuznetsov
version:
   $Revision: 1.7.2.2 $

Inner Class :abstract static class LazyCharClass
Inner Class :static class LazyDigit extends LazyCharClass
Inner Class :static class LazyNonDigit extends LazyDigit
Inner Class :static class LazySpace extends LazyCharClass
Inner Class :static class LazyNonSpace extends LazySpace
Inner Class :static class LazyWord extends LazyCharClass
Inner Class :static class LazyNonWord extends LazyWord
Inner Class :static class LazyLower extends LazyCharClass
Inner Class :static class LazyUpper extends LazyCharClass
Inner Class :static class LazyASCII extends LazyCharClass
Inner Class :static class LazyAlpha extends LazyCharClass
Inner Class :static class LazyAlnum extends LazyAlpha
Inner Class :static class LazyPunct extends LazyCharClass
Inner Class :static class LazyGraph extends LazyAlnum
Inner Class :static class LazyPrint extends LazyGraph
Inner Class :static class LazyBlank extends LazyCharClass
Inner Class :static class LazyCntrl extends LazyCharClass
Inner Class :static class LazyXDigit extends LazyCharClass
Inner Class :static class LazyRange extends LazyCharClass
Inner Class :static class LazySpecialsBlock extends LazyCharClass
Inner Class :static class LazyCategoryScope extends LazyCharClass
Inner Class :static class LazyCategory extends LazyCharClass
Inner Class :static class LazyJavaLowerCase extends LazyCharClass
Inner Class :static class LazyJavaUpperCase extends LazyCharClass
Inner Class :static class LazyJavaWhitespace extends LazyCharClass
Inner Class :static class LazyJavaMirrored extends LazyCharClass
Inner Class :static class LazyJavaDefined extends LazyCharClass
Inner Class :static class LazyJavaDigit extends LazyCharClass
Inner Class :static class LazyJavaIdentifierIgnorable extends LazyCharClass
Inner Class :static class LazyJavaISOControl extends LazyCharClass
Inner Class :static class LazyJavaJavaIdentifierPart extends LazyCharClass
Inner Class :static class LazyJavaJavaIdentifierStart extends LazyCharClass
Inner Class :static class LazyJavaLetter extends LazyCharClass
Inner Class :static class LazyJavaLetterOrDigit extends LazyCharClass
Inner Class :static class LazyJavaSpaceChar extends LazyCharClass
Inner Class :static class LazyJavaTitleCase extends LazyCharClass
Inner Class :static class LazyJavaUnicodeIdentifierPart extends LazyCharClass
Inner Class :static class LazyJavaUnicodeIdentifierStart extends LazyCharClass
Inner Class :final static class PredefinedCharacterClasses extends ListResourceBundle

Field Summary
static  intSURROGATE_CARDINALITY
    
protected  booleanalt
    
protected  booleanaltSurrogates
    
 AbstractCharClasscharClassWithSurrogates
    
 AbstractCharClasscharClassWithoutSurrogates
    
static  PredefinedCharacterClassescharClasses
    
 BitSetlowHighSurrogates
    
protected  booleanmayContainSupplCodepoints
    


Method Summary
abstract public  booleancontains(int ch)
    
protected  BitSetgetBits()
    
public  AbstractCharClassgetInstance()
    
protected  BitSetgetLowHighSurrogates()
    
public static  AbstractCharClassgetPredefinedClass(String name, boolean negative)
    
public  AbstractCharClassgetSurrogates()
    
public  intgetType()
    
public  AbstractCharClassgetWithoutSurrogates()
    
public  booleanhasLowHighSurrogates()
    
public  booleanhasUCI()
    
public static  booleanintersects(int ch1, int ch2)
    
public static  booleanintersects(AbstractCharClass cc, int ch)
    
public static  booleanintersects(AbstractCharClass cc1, AbstractCharClass cc2)
    
public  booleanisNegative()
    
public  booleanmayContainSupplCodepoints()
    
public  AbstractCharClasssetNegative(boolean value)
     Sets this CharClass to negative form, i.e.

Field Detail
SURROGATE_CARDINALITY
static int SURROGATE_CARDINALITY(Code)



alt
protected boolean alt(Code)



altSurrogates
protected boolean altSurrogates(Code)



charClassWithSurrogates
AbstractCharClass charClassWithSurrogates(Code)



charClassWithoutSurrogates
AbstractCharClass charClassWithoutSurrogates(Code)



charClasses
static PredefinedCharacterClasses charClasses(Code)



lowHighSurrogates
BitSet lowHighSurrogates(Code)



mayContainSupplCodepoints
protected boolean mayContainSupplCodepoints(Code)





Method Detail
contains
abstract public boolean contains(int ch)(Code)
Returns true if this char class contains character specified;
Parameters:
  ch - character to check;



getBits
protected BitSet getBits()(Code)
Returns BitSet representing this character class or null if this character class does not have character representation; bitset



getInstance
public AbstractCharClass getInstance()(Code)



getLowHighSurrogates
protected BitSet getLowHighSurrogates()(Code)



getPredefinedClass
public static AbstractCharClass getPredefinedClass(String name, boolean negative)(Code)



getSurrogates
public AbstractCharClass getSurrogates()(Code)



getType
public int getType()(Code)



getWithoutSurrogates
public AbstractCharClass getWithoutSurrogates()(Code)



hasLowHighSurrogates
public boolean hasLowHighSurrogates()(Code)



hasUCI
public boolean hasUCI()(Code)



intersects
public static boolean intersects(int ch1, int ch2)(Code)



intersects
public static boolean intersects(AbstractCharClass cc, int ch)(Code)



intersects
public static boolean intersects(AbstractCharClass cc1, AbstractCharClass cc2)(Code)



isNegative
public boolean isNegative()(Code)



mayContainSupplCodepoints
public boolean mayContainSupplCodepoints()(Code)



setNegative
public AbstractCharClass setNegative(boolean value)(Code)
Sets this CharClass to negative form, i.e. if they will add some characters and after that set this class to negative it will accept all the characters except previously set ones. Although this method will not alternate all the already set characters, just overall meaning of the class.
See Also:   AbstractCharClass.contains(int)
See Also:   AbstractCharClass.intersect(CharClass)
See Also:   AbstractCharClass.union(CharClass)



Fields inherited from java.util.regex.SpecialToken
final public static int TOK_CHARCLASS(Code)(Java Doc)
final public static int TOK_QUANTIFIER(Code)(Java Doc)

Methods inherited from java.util.regex.SpecialToken
abstract public int getType()(Code)(Java Doc)

Methods inherited from java.lang.Object
protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object object)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final public Class<? extends Object> getClass()(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
final public void notify()(Code)(Java Doc)
final public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final public void wait(long millis, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait(long millis) 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.