|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.AbstractCollection
java.util.AbstractList
java.util.ArrayList
com.crystaldecisions.sdk.occa.report.lib.ClonableList
com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector
com.crystaldecisions.sdk.occa.report.data.FilterItems
public class FilterItems
This object is used to contain a list of FieldRangeFilterItem and OperatorFilterItem
objects that contain parsed information about a filter string. This collection is used primarily by the
Filter object. It is basically the result of the filter's parsed formula string. If the filter
cannot be parsed into filter items, this collection will be empty. That is, if the formula is too
complex and cannot be parsed, the Filter object's getFilterItems
method returns null and only the FreeEditingText property remains.
The following diagram illustrates the relationship between a formula string and the FilterItems collection.
Note: The collection stores an array of FilterItem objects. However, FilterItem
is used as a base from which FieldRangeFilterItem and OperatorFilterItem inherit.
When you access the collection array, it is one of these two objects that you will retrieve.
Additionally, be aware that when parentheses are used in expressions, each parenthesis accounts for one
OperatorFilterItem.
| Constructor Summary | |
|---|---|
FilterItems()
|
|
FilterItems(FilterItems src)
|
|
| Method Summary | |
|---|---|
java.lang.Object |
createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
For internal use only. |
void |
endElement(java.lang.String eleName,
java.util.Map objState)
For internal use only. |
IFilterItem |
getFilterItem(int index)
Returns the IFilterItem at the specified index. |
void |
readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
For internal use only. |
void |
save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
For internal use only. |
void |
save(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
For internal use only. |
void |
startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
For internal use only. |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ReportSDKVector |
|---|
add, add, addElement, addNullElement, elementAt, insertElementAt, removeAllElements |
| Methods inherited from class com.crystaldecisions.sdk.occa.report.lib.ClonableList |
|---|
clone, copyTo, copyTo, findIndexOf, hasContent |
| Methods inherited from class java.util.ArrayList |
|---|
addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
| Methods inherited from class java.util.AbstractList |
|---|
equals, hashCode, iterator, listIterator, listIterator, subList |
| Methods inherited from class java.util.AbstractCollection |
|---|
containsAll, removeAll, retainAll, toString |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.List |
|---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
| Constructor Detail |
|---|
public FilterItems(FilterItems src)
public FilterItems()
| Method Detail |
|---|
public java.lang.Object createMember(java.lang.String eleName,
org.xml.sax.Attributes attrs,
XMLSerializationContext ctxt,
java.util.Map objState,
boolean[] bLoaded)
ClonableList
createMember in class ClonableList
public void endElement(java.lang.String eleName,
java.util.Map objState)
ClonableList
endElement in class ClonableListpublic IFilterItem getFilterItem(int index)
Returns the IFilterItem at the specified index.
index - The index of the desired IFilterItem object.
IFilterItem at the specified index.
public void readElement(java.lang.String eleName,
java.lang.String sVal,
org.xml.sax.Attributes attrs,
java.util.Map objState)
ClonableList
readElement in class ClonableList
public void save(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ClonableList
save in class ClonableListjava.io.IOException
public void save(XMLWriter writer,
java.lang.String sTag,
XMLSerializationContext ctxt)
throws java.io.IOException
ClonableList
save in class ClonableListjava.io.IOException
public void saveContents(XMLWriter writer,
XMLSerializationContext ctxt)
throws java.io.IOException
ClonableList
saveContents in class ClonableListjava.io.IOException
public void startElement(java.lang.String eleName,
java.util.Map objState,
org.xml.sax.Attributes attrs)
ClonableList
startElement in class ClonableList
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||