Java Doc for StandardTokenizerProperties.java in  » Parser » JTopas » de » susebox » jtopas » 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 » Parser » JTopas » de.susebox.jtopas 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   de.susebox.jtopas.AbstractTokenizerProperties
      de.susebox.jtopas.StandardTokenizerProperties

StandardTokenizerProperties
public class StandardTokenizerProperties extends AbstractTokenizerProperties implements TokenizerProperties,DataMapper(Code)

The class StandardTokenizerProperties provides a simple implementation of the TokenizerProperties interface for use in most situations.

Note that this class takes advantage of JTopas features that use Java 1.4 or higher. It can still be used in older environments but not compiled with JDK versions below 1.4!


See Also:   TokenizerProperties
See Also:   Tokenizer
author:
   Heiko Blau


Field Summary
final public static  intCHARFLAG_SEPARATOR
    
final public static  intCHARFLAG_WHITESPACE
    
final public static  shortMAX_NONFREE_MATCHLEN
     Maximum length of a non-free pattern match.
protected  int_charFlags
    
protected  HashMap_extCharFlags
    
protected  SequenceStore[]_keywords
     Like the array StandardTokenizerProperties._sequences this two-element Array contains two de.susebox.jtopas.impl.SequenceStore , the first for the case-sensitive keywords, the second for the case-insensitive ones.
protected  ArrayList_patterns
    
protected  String_separatorsCase
     current separator characters including character ranges.
protected  String_separatorsNoCase
     current separator characters including character ranges.
protected  SequenceStore[]_sequences
     The first element is the de.susebox.jtopas.impl.SequenceStore for the case-sensitive sequences, the second is for the case-insensitive ones.
protected  String_whitespacesCase
     current whitespace characters including character ranges.
protected  String_whitespacesNoCase
     current whitespace characters including character ranges.

Constructor Summary
public  StandardTokenizerProperties()
     Default constructor that intitializes an instance with the default whitespaces and separator sets.
public  StandardTokenizerProperties(int flags)
     This constructor takes the control flags to be used.
public  StandardTokenizerProperties(int flags, String whitespaces, String separators)
     This constructor takes the whitespace and separator sets to be used.

Method Summary
protected  TokenizerPropertyaddKeyword(TokenizerProperty keywordProp)
     Registering a keyword property.
protected  TokenizerPropertyaddPattern(TokenizerProperty patternProp)
     Registering a pattern with an associated object.
protected  TokenizerPropertyaddSpecialSequence(TokenizerProperty property)
     This method adds or replaces strings, comments and ordinary special sequences.
public  intcountLeadingWhitespaces(DataProvider dataProvider)
     This method detects the number of whitespace characters the data range given through the DataProvider parameter starts with.
protected  TokenizerPropertydoAddProperty(TokenizerProperty property)
     Registering a TokenizerProperty .
protected  TokenizerPropertydoGetProperty(int type, String startImage)
     Retrieving a property by a given type and image.
protected  TokenizerPropertydoRemoveProperty(TokenizerProperty property)
     Deregistering a TokenizerProperty from the store.
protected  StringdoSetSeparators(String separators)
     Setting a new separator set.
protected  StringdoSetWhitespaces(String whitespaces)
     Setting a new whitespace set.
public  IteratorgetBlockComments()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  IteratorgetKeywords()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  IteratorgetLineComments()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  IteratorgetPatterns()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  IteratorgetProperties()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  StringgetSeparators()
     Obtaining the separator set of the Tokenizer.
public  intgetSequenceMaxLength()
     This method returns the length of the longest special sequence, comment or string prefix that is known to this SequenceHandler.
public  IteratorgetSpecialSequences()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  IteratorgetStrings()
     This method returns an java.util.Iterator of TokenizerProperty objects.
public  TokenizerPropertiesgetTokenizerProperties()
     The method retrieves the backing de.susebox.jtopas.TokenizerProperties instance, this DataMapper is working on.
public  StringgetWhitespaces()
     Obtaining the whitespace character set.
public  booleanhasKeywords()
     This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if keyword matching must be performed at all.
public  booleanhasPattern()
     This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if pattern matching must be performed at all.
public  booleanhasSequenceCommentOrString()
     This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if special sequence checking must be performed at all.
public  TokenizerPropertyisKeyword(DataProvider dataProvider)
     This method checks if the character range given through the DataProvider comprises a keyword.
public  booleanisSeparator(char testChar)
     This method checks the given character if it is a separator.
public  booleanisWhitespace(char testChar)
     This method checks if the character is a whitespace.
public  PatternHandler.Resultmatches(DataProvider dataProvider)
     This method checks if the start of a character range given through the DataProvider matches a pattern.
public  booleannewlineIsWhitespace()
     If a Tokenizer performs line counting, it is often nessecary to know if newline characters is considered to be a whitespace.
public  voidsetTokenizerProperties(TokenizerProperties props)
     Setting the backing TokenizerProperties instance this DataMapper is working with.
public  TokenizerPropertystartsWithSequenceCommentOrString(DataProvider dataProvider)
     This method checks if a given range of data starts with a special sequence, a comment or a string.

Field Detail
CHARFLAG_SEPARATOR
final public static int CHARFLAG_SEPARATOR(Code)
character flag for whitespaces



CHARFLAG_WHITESPACE
final public static int CHARFLAG_WHITESPACE(Code)
character flag for whitespaces



MAX_NONFREE_MATCHLEN
final public static short MAX_NONFREE_MATCHLEN(Code)
Maximum length of a non-free pattern match. These are patterns that dont have the TokenizerProperties.F_FREE_PATTERN flag set. A common example are number patterns.



_charFlags
protected int _charFlags(Code)
array containing the flags for whitespaces and separators



_extCharFlags
protected HashMap _extCharFlags(Code)
Map with flags for characters beyond 256;



_keywords
protected SequenceStore[] _keywords(Code)
Like the array StandardTokenizerProperties._sequences this two-element Array contains two de.susebox.jtopas.impl.SequenceStore , the first for the case-sensitive keywords, the second for the case-insensitive ones.



_patterns
protected ArrayList _patterns(Code)
This array contains the patterns



_separatorsCase
protected String _separatorsCase(Code)
current separator characters including character ranges.



_separatorsNoCase
protected String _separatorsNoCase(Code)
current separator characters including character ranges. Case is ignored.



_sequences
protected SequenceStore[] _sequences(Code)
The first element is the de.susebox.jtopas.impl.SequenceStore for the case-sensitive sequences, the second is for the case-insensitive ones.



_whitespacesCase
protected String _whitespacesCase(Code)
current whitespace characters including character ranges.



_whitespacesNoCase
protected String _whitespacesNoCase(Code)
current whitespace characters including character ranges. Case is ignored.




Constructor Detail
StandardTokenizerProperties
public StandardTokenizerProperties()(Code)
Default constructor that intitializes an instance with the default whitespaces and separator sets. Tokenizer instances using this StandardTokenizerProperties object, split text between spaces, tabs and line ending sequences as well as between punctuation characters.



StandardTokenizerProperties
public StandardTokenizerProperties(int flags)(Code)
This constructor takes the control flags to be used. It is a shortcut to:
 TokenizerProperties props = new StandardTokenizerProperties();
 props.setParseFlags(flags);
 
See the TokenizerProperties interface for the supported flags.
The TokenizerProperties.DEFAULT_WHITESPACES and TokenizerProperties.DEFAULT_SEPARATORS are used for whitespace and separator handling if no explicit calls to StandardTokenizerProperties.setWhitespaces and StandardTokenizerProperties.setSeparators will follow subsequently.
Parameters:
  flags - tokenizer control flags
See Also:   StandardTokenizerProperties.setParseFlags



StandardTokenizerProperties
public StandardTokenizerProperties(int flags, String whitespaces, String separators)(Code)
This constructor takes the whitespace and separator sets to be used. It is a shortcut to:
 TokenizerProperties props = new StandardTokenizerProperties();
 props.setWhitespaces(ws);
 props.setSeparators(sep);
 

Parameters:
  flags - tokenizer control flags
Parameters:
  whitespaces - the whitespace set
Parameters:
  separators - the set of separating characters
See Also:   StandardTokenizerProperties.setParseFlags
See Also:   StandardTokenizerProperties.setWhitespaces
See Also:   StandardTokenizerProperties.setSeparators




Method Detail
addKeyword
protected TokenizerProperty addKeyword(TokenizerProperty keywordProp)(Code)
Registering a keyword property. The method assumes that the given keyword property has been checked for not being null, having a non-empty keyword image and normalized flags ( AbstractTokenizerProperties.normalizeFlags ).
Parameters:
  keywordProp - keyword property to register the replaced keyword property or null



addPattern
protected TokenizerProperty addPattern(TokenizerProperty patternProp) throws IllegalArgumentException(Code)
Registering a pattern with an associated object. The method assumes that the given pattern property has been checked for not being null, having a non-empty pattern image and normalized flags ( AbstractTokenizerProperties.normalizeFlags ). See the method description in AbstractTokenizerProperties .
Parameters:
  patternProp - the regular expression to be added the replaced pattern property or null
throws:
  IllegalArgumentException - if pattern matching is not available



addSpecialSequence
protected TokenizerProperty addSpecialSequence(TokenizerProperty property)(Code)
This method adds or replaces strings, comments and ordinary special sequences. The method assumes that the given special sequence property has been checked for not being null, having a non-empty imagesand normalized flags ( AbstractTokenizerProperties.normalizeFlags ).
Parameters:
  property - the description of the new sequence the replaced special sequence property or null



countLeadingWhitespaces
public int countLeadingWhitespaces(DataProvider dataProvider) throws NullPointerException(Code)
This method detects the number of whitespace characters the data range given through the DataProvider parameter starts with.
Parameters:
  dataProvider - the source to get the data range from number of whitespace characters starting from the given offset
throws:
  TokenizerException - failure while reading data from the input stream
throws:
  NullPointerException - if no DataProvider is given
See Also:   de.susebox.jtopas.spi.DataProvider



doAddProperty
protected TokenizerProperty doAddProperty(TokenizerProperty property)(Code)
Registering a TokenizerProperty . See the method description in AbstractTokenizerProperties .
Parameters:
  property - property to register the replaced property or null



doGetProperty
protected TokenizerProperty doGetProperty(int type, String startImage)(Code)
Retrieving a property by a given type and image. See the method description in AbstractTokenizerProperties for details.
Parameters:
  type - the type the returned property should have
Parameters:
  startImage - the (starting) image the token description for the image or null



doRemoveProperty
protected TokenizerProperty doRemoveProperty(TokenizerProperty property)(Code)
Deregistering a TokenizerProperty from the store. See the method description in AbstractTokenizerProperties .
Parameters:
  property - property to remove the replaced property or null



doSetSeparators
protected String doSetSeparators(String separators)(Code)
Setting a new separator set. See the method description in AbstractTokenizerProperties for details.
Parameters:
  separators - the set of separators including ranges the replaced separator set or null



doSetWhitespaces
protected String doSetWhitespaces(String whitespaces)(Code)
Setting a new whitespace set. See the method description in AbstractTokenizerProperties for details.
Parameters:
  whitespaces - the set of whitespaces including ranges the replaced whitespace set or null



getBlockComments
public Iterator getBlockComments()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . enumeration of TokenizerProperty objects



getKeywords
public Iterator getKeywords()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . iteration of TokenizerProperty objects



getLineComments
public Iterator getLineComments()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . enumeration of TokenizerProperty objects



getPatterns
public Iterator getPatterns()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. Each TokenizerProperty object contains a pattern and its companion if such an associated object exists. enumeration of TokenizerProperty objects



getProperties
public Iterator getProperties()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . enumeration of TokenizerProperty objects



getSeparators
public String getSeparators()(Code)
Obtaining the separator set of the Tokenizer. See the method description in TokenizerProperties .
See Also:   StandardTokenizerProperties.setSeparators the currently used set of separating characters



getSequenceMaxLength
public int getSequenceMaxLength()(Code)
This method returns the length of the longest special sequence, comment or string prefix that is known to this SequenceHandler. When calling StandardTokenizerProperties.startsWithSequenceCommentOrString , the passed DataProvider parameter will supply at least this number of characters (see DataProvider.getLength ). If less characters are provided, EOF is reached. the number of characters needed in the worst case to identify a special sequence



getSpecialSequences
public Iterator getSpecialSequences()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . enumeration of TokenizerProperty objects



getStrings
public Iterator getStrings()(Code)
This method returns an java.util.Iterator of TokenizerProperty objects. See the method description in TokenizerProperties . enumeration of TokenizerProperty objects



getTokenizerProperties
public TokenizerProperties getTokenizerProperties()(Code)
The method retrieves the backing de.susebox.jtopas.TokenizerProperties instance, this DataMapper is working on. For implementations of the TokenizerProperties interface that also implement the DataMapper interface, this method returns the instance itself it is called on.
Otherwise the method returns the TokenizerProperties instance passed through the last call to StandardTokenizerProperties.setTokenizerProperties or null if no such call has taken place so far. the backing de.susebox.jtopas.TokenizerProperties or null



getWhitespaces
public String getWhitespaces()(Code)
Obtaining the whitespace character set. See the method description in TokenizerProperties .
See Also:   StandardTokenizerProperties.setWhitespaces the currently active whitespace set



hasKeywords
public boolean hasKeywords()(Code)
This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if keyword matching must be performed at all. If the method returns false time-consuming preparations can be skipped. true if there actually are pattern that can be testedfor a match, false otherwise.



hasPattern
public boolean hasPattern()(Code)
This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if pattern matching must be performed at all. If the method returns false time-consuming preparations can be skipped. true if there actually are pattern that can be testedfor a match, false otherwise.



hasSequenceCommentOrString
public boolean hasSequenceCommentOrString()(Code)
This method can be used by a de.susebox.jtopas.Tokenizer implementation for a fast detection if special sequence checking must be performed at all. If the method returns false time-consuming preparations can be skipped. true if there actually are pattern that can be testedfor a match, false otherwise.



isKeyword
public TokenizerProperty isKeyword(DataProvider dataProvider) throws TokenizerException, NullPointerException(Code)
This method checks if the character range given through the DataProvider comprises a keyword.
Parameters:
  dataProvider - the source to get the data from, that are checked a de.susebox.jtopas.TokenizerProperty if a keyword could be found, null otherwise
throws:
  TokenizerException - failure while reading more data
throws:
  NullPointerException - if no DataProvider is given



isSeparator
public boolean isSeparator(char testChar)(Code)
This method checks the given character if it is a separator.
Parameters:
  testChar - check this character true if the given character is a separator,false otherwise



isWhitespace
public boolean isWhitespace(char testChar)(Code)
This method checks if the character is a whitespace. Implement Your own code for situations where this default implementation is not fast enough or otherwise not really good.
Parameters:
  testChar - check this character true if the given character is a whitespace,false otherwise



matches
public PatternHandler.Result matches(DataProvider dataProvider) throws TokenizerException, NullPointerException(Code)
This method checks if the start of a character range given through the DataProvider matches a pattern.
Parameters:
  dataProvider - the source to get the data from a PatternHandler.Result object or null if nomatch was found
throws:
  TokenizerException - generic exception
throws:
  NullPointerException - if no DataProvider is given



newlineIsWhitespace
public boolean newlineIsWhitespace()(Code)
If a Tokenizer performs line counting, it is often nessecary to know if newline characters is considered to be a whitespace. See WhitespaceHandler for details. true if newline characters are in the current whitespace set,false otherwise



setTokenizerProperties
public void setTokenizerProperties(TokenizerProperties props) throws UnsupportedOperationException, NullPointerException(Code)
Setting the backing TokenizerProperties instance this DataMapper is working with. Usually, the DataMapper interface is implemented by TokenizerProperties implementations, too. Otherwise the Tokenizer using the TokenizerProperties, will construct a default DataMapper an propagate the TokenizerProperties instance by calling this method.
The method should throw an java.lang.UnsupportedOperationException if this DataMapper is an extension to an TokenizerProperties implementation.
Parameters:
  props - the de.susebox.jtopas.TokenizerProperties
throws:
  UnsupportedOperationException - is this is a DataMapperimplemented by a de.susebox.jtopas.TokenizerPropertiesimplementation
throws:
  NullPointerException - if no TokenizerProperties are given



startsWithSequenceCommentOrString
public TokenizerProperty startsWithSequenceCommentOrString(DataProvider dataProvider) throws TokenizerException, NullPointerException(Code)
This method checks if a given range of data starts with a special sequence, a comment or a string. These three types of token are testet together since both comment and string prefixes are ordinary special sequences. Only the actions preformed after a string or comment has been detected, are different.
The method returns null if no special sequence, comment or string could matches the the leading part of the data range given through the DataProvider .
In cases of strings or comments, the return value contains the description for the introducing character sequence, NOT the whole string or comment. The reading of the rest of the string or comment is done by the calling de.susebox.jtopas.Tokenizer .
Parameters:
  dataProvider - the source to get the data range from a de.susebox.jtopas.TokenizerProperty if a special sequence, comment or string could be detected, null otherwise
throws:
  TokenizerException - failure while reading more data
throws:
  NullPointerException - if no DataProvider is given



Fields inherited from de.susebox.jtopas.AbstractTokenizerProperties
protected int _flags(Code)(Java Doc)

Methods inherited from de.susebox.jtopas.AbstractTokenizerProperties
public void addBlockComment(String start, String end) throws IllegalArgumentException(Code)(Java Doc)
public void addBlockComment(String start, String end, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addBlockComment(String start, String end, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addBlockComment(String start, String end, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addKeyword(String keyword) throws IllegalArgumentException(Code)(Java Doc)
public void addKeyword(String keyword, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addKeyword(String keyword, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addKeyword(String keyword, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addLineComment(String lineComment) throws IllegalArgumentException(Code)(Java Doc)
public void addLineComment(String lineComment, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addLineComment(String lineComment, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addLineComment(String lineComment, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addPattern(String pattern) throws IllegalArgumentException(Code)(Java Doc)
public void addPattern(String pattern, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addPattern(String pattern, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addPattern(String pattern, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addProperty(TokenizerProperty property) throws IllegalArgumentException(Code)(Java Doc)
public void addSeparators(String separators) throws IllegalArgumentException(Code)(Java Doc)
public void addSpecialSequence(String specSeq) throws IllegalArgumentException(Code)(Java Doc)
public void addSpecialSequence(String specSeq, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addSpecialSequence(String specSeq, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addSpecialSequence(String specSeq, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addString(String start, String end, String escape) throws IllegalArgumentException(Code)(Java Doc)
public void addString(String start, String end, String escape, Object companion) throws IllegalArgumentException(Code)(Java Doc)
public void addString(String start, String end, String escape, Object companion, int flags) throws IllegalArgumentException(Code)(Java Doc)
public void addString(String start, String end, String escape, Object companion, int flags, int flagMask) throws IllegalArgumentException(Code)(Java Doc)
public void addTokenizerPropertyListener(TokenizerPropertyListener listener)(Code)(Java Doc)
public void addWhitespaces(String whitespaces) throws IllegalArgumentException(Code)(Java Doc)
public boolean blockCommentExists(String start)(Code)(Java Doc)
protected void checkArgument(String arg, String name) throws IllegalArgumentException(Code)(Java Doc)
protected void checkPropertyArgument(TokenizerProperty property) throws IllegalArgumentException(Code)(Java Doc)
abstract protected TokenizerProperty doAddProperty(TokenizerProperty property)(Code)(Java Doc)
abstract protected TokenizerProperty doGetProperty(int type, String startImage)(Code)(Java Doc)
abstract protected TokenizerProperty doRemoveProperty(TokenizerProperty property)(Code)(Java Doc)
abstract protected String doSetSeparators(String separators)(Code)(Java Doc)
abstract protected String doSetWhitespaces(String whitespaces)(Code)(Java Doc)
public TokenizerProperty getBlockComment(String start) throws IllegalArgumentException(Code)(Java Doc)
public Object getBlockCommentCompanion(String start) throws IllegalArgumentException(Code)(Java Doc)
public TokenizerProperty getKeyword(String keyword) throws IllegalArgumentException(Code)(Java Doc)
public Object getKeywordCompanion(String keyword) throws IllegalArgumentException(Code)(Java Doc)
public TokenizerProperty getLineComment(String lineComment) throws IllegalArgumentException(Code)(Java Doc)
public Object getLineCommentCompanion(String lineComment) throws IllegalArgumentException(Code)(Java Doc)
public int getParseFlags()(Code)(Java Doc)
public TokenizerProperty getPattern(String pattern) throws IllegalArgumentException(Code)(Java Doc)
public Object getPatternCompanion(String pattern) throws IllegalArgumentException(Code)(Java Doc)
public TokenizerProperty getSpecialSequence(String specSeq) throws IllegalArgumentException(Code)(Java Doc)
public Object getSpecialSequenceCompanion(String specSeq) throws IllegalArgumentException(Code)(Java Doc)
public TokenizerProperty getString(String start) throws IllegalArgumentException(Code)(Java Doc)
public Object getStringCompanion(String start) throws IllegalArgumentException(Code)(Java Doc)
protected void handleEvent(int type, String newValue, String oldValue)(Code)(Java Doc)
public boolean isFlagSet(int flag)(Code)(Java Doc)
public boolean isFlagSet(TokenizerProperty prop, int flag) throws NullPointerException(Code)(Java Doc)
public boolean keywordExists(String keyword)(Code)(Java Doc)
public boolean lineCommentExists(String lineComment)(Code)(Java Doc)
protected void notifyListeners(TokenizerPropertyEvent event)(Code)(Java Doc)
public boolean patternExists(String pattern)(Code)(Java Doc)
public boolean propertyExists(TokenizerProperty property)(Code)(Java Doc)
public void removeBlockComment(String start) throws IllegalArgumentException(Code)(Java Doc)
public void removeKeyword(String keyword) throws IllegalArgumentException(Code)(Java Doc)
public void removeLineComment(String lineComment) throws IllegalArgumentException(Code)(Java Doc)
public void removePattern(String pattern) throws IllegalArgumentException(Code)(Java Doc)
public void removeProperty(TokenizerProperty property) throws IllegalArgumentException(Code)(Java Doc)
public void removeSeparators(String separators) throws IllegalArgumentException(Code)(Java Doc)
public void removeSpecialSequence(String specSeq) throws IllegalArgumentException(Code)(Java Doc)
public void removeString(String start) throws IllegalArgumentException(Code)(Java Doc)
public void removeTokenizerPropertyListener(TokenizerPropertyListener listener)(Code)(Java Doc)
public void removeWhitespaces(String whitespaces) throws IllegalArgumentException(Code)(Java Doc)
public void setParseFlags(int flags)(Code)(Java Doc)
public void setSeparators(String separators)(Code)(Java Doc)
public void setWhitespaces(String whitespaces)(Code)(Java Doc)
public boolean specialSequenceExists(String specSeq)(Code)(Java Doc)
public boolean stringExists(String start)(Code)(Java Doc)

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.