org.apache.xmlgraphics.util
public class Service extends java.lang.Object
Constructor and Description |
---|
Service() |
Modifier and Type | Method and Description |
---|---|
static java.util.Iterator |
providers(java.lang.Class cls)
Returns an iterator where each element should implement the
interface (or subclass the baseclass) described by cls.
|
static java.util.Iterator |
providers(java.lang.Class cls,
boolean returnInstances)
Returns an iterator where each element should implement the
interface (or subclass the baseclass) described by cls.
|
public static java.util.Iterator providers(java.lang.Class cls)
cls
- The class/interface to search for providers of.public static java.util.Iterator providers(java.lang.Class cls, boolean returnInstances)
cls
- The class/interface to search for providers of.returnInstances
- true if the iterator should return instances rather than class names.Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.