Class REMatchEnumeration {Java}

Documentation
* An REMatchEnumeration enumerates regular expression matches over a given
* input text. You obtain a reference to an enumeration using the
* <code>getMatchEnumeration()</code> methods on an instance of RE.
* <P>
* REMatchEnumeration does lazy computation; that is, it will not search for
* a match until it needs to. If you'd rather just get all the matches at
* once in a big array, use the <code>getAllMatches()</code> methods on RE.
* However, using an enumeration can help speed performance when the entire
* text does not need to be searched immediately.
* <P>
* The enumerated type is especially useful when searching on an InputStream,
* because the InputStream read position cannot be guaranteed after calling
* <code>getMatch()</code> (see the description of that method for an
* explanation of why). Enumeration also saves a lot of overhead required
* when calling <code>getMatch()</code> multiple times.
*
* @author <A HREF="mailto:wes@cacas.org">Wes Biggs</A>


Parent PackageregexpAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Assigned ComponentsREMatchEnumeration


Operations
NameSignatureClass
REMatchEnumeration REMatchEnumeration (RE expr, CharIndexed input, int index, int eflags)REMatchEnumeration
hasMoreElementsboolean hasMoreElements ()REMatchEnumeration
hasMoreMatchesboolean hasMoreMatches ()REMatchEnumeration
hasMoreMatchesboolean hasMoreMatches (StringBuffer f_buffer)REMatchEnumeration
nextElementObject nextElement ()REMatchEnumeration
nextMatchREMatch nextMatch ()REMatchEnumeration


Attributes
NameClassTypeInitial Value
YESREMatchEnumerationint1
MAYBEREMatchEnumerationint0
NOREMatchEnumerationint- 1
m_moreREMatchEnumerationint 
m_indexREMatchEnumerationint 
m_eflagsREMatchEnumerationint 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--REMatchEnumerationm_matchREMatch
--Not Named----Not Named--REMatchEnumerationm_exprRE
--Not Named----Not Named--REMatchEnumerationm_inputCharIndexed
--Not Named----Not Named--REMatchEnumerationm_bufferStringBuffer


Realize Relationships
NameClassSupplier
--Not Named--REMatchEnumerationEnumeration



Property Settings

Java
GenerateFinalizerFalseGenerateStaticInitializerFalse
GenerateInstanceInitializerFalseGenerateDefaultConstructorFalse
FinalFalseStaticFalse
ConstructorIspublicCtor_Setpublic, protected, private, package
GenerateCodeTrueDisableAutoSyncFalse


Data Modeler
dmItemFalseDMName 
IsTableFalseIsViewFalse
Synonymns TableSpace 
SourceId SourceType 
SelectClause IsUpdatableFalse
CheckOption0