| Modifier and Type | Class and Description |
|---|---|
static interface |
TypesCtr.ProxyTask |
| Constructor and Description |
|---|
TypesCtr() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearNonVisitedEntries() |
java.util.Collection<Type> |
getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity
|
<T extends Type> |
getBy(java.lang.Class<T> type,
java.lang.String name)
Returns a Model instance given a name
|
Type |
getBy(java.lang.String name)
Returns a Type instance given a name
|
TypeProxy<Type> |
getHolder(java.lang.String name) |
<T extends Type> |
getHolder(java.lang.String name,
java.lang.Class<T> type) |
void |
onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
Runs a task on each non visited types parsing discovered.
|
public Type getBy(java.lang.String name)
Typespublic <T extends Type> T getBy(java.lang.Class<T> type, java.lang.String name)
TypesgetBy in interface Typestype - type of the requested model (see ExtensibleType derivatives)name - the requested type namepublic <T extends Type> TypeProxy<Type> getHolder(java.lang.String name, java.lang.Class<T> type)
public void onNotVisitedEntries(TypesCtr.ProxyTask proxyTask)
proxyTask - the task to run on each non visited type.public void clearNonVisitedEntries()
public java.util.Collection<Type> getAllTypes()
TypesgetAllTypes in interface TypesCopyright © 2013 Oracle Corporation. All Rights Reserved.