|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object oracle.adf.share.services.DefaultDescriptorFilter
public class DefaultDescriptorFilter
The default implementation of DescriptorFilter. It allows control over default visibility, and the set of tags to exclude on a matching entry.
Constructor Summary | |
---|---|
DefaultDescriptorFilter()
Default to, show all, unless Specification-Vendor or Implementation-Vendor matches "Oracle*". |
|
DefaultDescriptorFilter(boolean visible,
java.util.Map<java.lang.String,java.util.Set<java.lang.String>> visData)
Control which items are shown based on the constructor params. |
Method Summary | |
---|---|
boolean |
isDescriptorVisible(URLDescriptor descr,
DescriptorContext context)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DefaultDescriptorFilter(boolean visible, java.util.Map<java.lang.String,java.util.Set<java.lang.String>> visData)
visible
- If true, then show all except those that match
visData. If false, then show nothing except those that match visData.
This allows for sparse manifest data and still have the intended items.visData
- The map key is the category name ex: "Specification-Vendor".
The map value is the Set of match strings ex: {"Oracle","CustomizerVAR1"}.
The only non-literal match is if the string ends with "*", ex: "Oracle*"public DefaultDescriptorFilter()
Method Detail |
---|
public boolean isDescriptorVisible(URLDescriptor descr, DescriptorContext context)
isDescriptorVisible
in interface DescriptorFilter
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Share 11g Release 2 (11.1.2.1.0) E17486-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |