|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.util.JBossObject
org.jboss.beans.metadata.plugins.AbstractValueMetaData
org.jboss.beans.metadata.plugins.AbstractTypeMetaData
org.jboss.beans.metadata.plugins.AbstractCollectionMetaData
public class AbstractCollectionMetaData
Collection metadata.
| Field Summary | |
|---|---|
protected ArrayList<MetaDataVisitorNode> |
collection
The collection |
protected String |
elementType
The element type |
| Fields inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
|---|
beanName, configurator, context, propertyName, type |
| Fields inherited from class org.jboss.util.JBossObject |
|---|
hashCode, log, toString |
| Fields inherited from interface org.jboss.beans.metadata.plugins.TypeProvider |
|---|
ERROR_MSG |
| Constructor Summary | |
|---|---|
AbstractCollectionMetaData()
Create a new collection value |
|
| Method Summary | ||
|---|---|---|
boolean |
add(MetaDataVisitorNode o)
|
|
boolean |
addAll(Collection<? extends MetaDataVisitorNode> c)
|
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection c)
|
|
Iterator<? extends MetaDataVisitorNode> |
getChildren()
Return the child nodes |
|
protected Object |
getDefaultInstance()
Create the default collection instance |
|
protected org.jboss.reflect.spi.TypeInfo |
getElementClassInfo(ClassLoader cl,
org.jboss.reflect.spi.TypeInfo info)
Get the class info for the element type |
|
String |
getElementType()
Get the element type |
|
org.jboss.reflect.spi.TypeInfo |
getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
Get the injectee type info. |
|
Object |
getValue(org.jboss.reflect.spi.TypeInfo info,
ClassLoader cl)
Get the value. |
|
boolean |
isEmpty()
|
|
Iterator<MetaDataVisitorNode> |
iterator()
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection c)
|
|
boolean |
retainAll(Collection c)
|
|
void |
setElementType(String elementType)
Set the element type |
|
int |
size()
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
void |
toString(org.jboss.util.JBossStringBuilder buffer)
|
|
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractTypeMetaData |
|---|
checkResult, createInstance, getClass, getClassInfo, getClassInfo, getType, getTypeInstance, initialVisit, preinstantiatedLookup, preparePreinstantiatedLookup, setConfigurator, setType |
| Methods inherited from class org.jboss.beans.metadata.plugins.AbstractValueMetaData |
|---|
describeVisit, getUnderlyingValue, getValue, setValue, toShortString |
| Methods inherited from class org.jboss.util.JBossObject |
|---|
cacheGetHashCode, cacheToString, clone, equals, flushJBossObjectCache, getClassShortName, getHashCode, hashCode, list, notEqual, toShortString, toString, toStringImplementation |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Collection |
|---|
equals, hashCode |
| Methods inherited from interface org.jboss.util.JBossInterface |
|---|
clone, toShortString |
| Field Detail |
|---|
protected ArrayList<MetaDataVisitorNode> collection
protected String elementType
| Constructor Detail |
|---|
public AbstractCollectionMetaData()
| Method Detail |
|---|
public String getElementType()
public void setElementType(String elementType)
elementType - the element type
public Object getValue(org.jboss.reflect.spi.TypeInfo info,
ClassLoader cl)
throws Throwable
ValueMetaData
getValue in interface ValueMetaDatagetValue in class AbstractValueMetaDatainfo - the type infocl - the classloader
Throwable - for any error
public org.jboss.reflect.spi.TypeInfo getType(MetaDataVisitor visitor,
MetaDataVisitorNode previous)
throws Throwable
TypeProvider
getType in interface TypeProvidergetType in class AbstractValueMetaDatavisitor - meda data visitorprevious - previous node in the stack
Throwable - if could not determine classpublic boolean add(MetaDataVisitorNode o)
add in interface Collection<MetaDataVisitorNode>public boolean addAll(Collection<? extends MetaDataVisitorNode> c)
addAll in interface Collection<MetaDataVisitorNode>public void clear()
clear in interface Collection<MetaDataVisitorNode>public boolean contains(Object o)
contains in interface Collection<MetaDataVisitorNode>public boolean containsAll(Collection c)
containsAll in interface Collection<MetaDataVisitorNode>public boolean isEmpty()
isEmpty in interface Collection<MetaDataVisitorNode>public Iterator<MetaDataVisitorNode> iterator()
iterator in interface Iterable<MetaDataVisitorNode>iterator in interface Collection<MetaDataVisitorNode>public boolean remove(Object o)
remove in interface Collection<MetaDataVisitorNode>public boolean removeAll(Collection c)
removeAll in interface Collection<MetaDataVisitorNode>public boolean retainAll(Collection c)
retainAll in interface Collection<MetaDataVisitorNode>public int size()
size in interface Collection<MetaDataVisitorNode>public Object[] toArray()
toArray in interface Collection<MetaDataVisitorNode>public <T> T[] toArray(T[] a)
toArray in interface Collection<MetaDataVisitorNode>public Iterator<? extends MetaDataVisitorNode> getChildren()
MetaDataVisitorNode
getChildren in interface MetaDataVisitorNodegetChildren in class AbstractValueMetaDatapublic void toString(org.jboss.util.JBossStringBuilder buffer)
toString in class AbstractTypeMetaDataprotected Object getDefaultInstance()
getDefaultInstance in class AbstractTypeMetaData
protected org.jboss.reflect.spi.TypeInfo getElementClassInfo(ClassLoader cl,
org.jboss.reflect.spi.TypeInfo info)
throws Throwable
cl - the classloaderinfo - the type info
Throwable - for any error
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||