Interface Types
-
- All Known Implementing Classes:
TypesCtr
public interface Types
Represents the result of a parsing activity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Collection<Type>
getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity<T extends Type>
TgetBy(java.lang.Class<T> type, java.lang.String name)
Returns a Model instance given a nameType
getBy(java.lang.String name)
Returns a Type instance given a name
-
-
-
Method Detail
-
getAllTypes
java.util.Collection<Type> getAllTypes()
Returns a unmodifiable list of collected types obtained during the parsing activity- Returns:
- list of types
-
getBy
Type getBy(java.lang.String name)
Returns a Type instance given a name- Parameters:
name
- the requested type name- Returns:
- a type instance
-
getBy
<T extends Type> T getBy(java.lang.Class<T> type, java.lang.String name)
Returns a Model instance given a name- Parameters:
type
- type of the requested model (seeExtensibleType
derivatives)name
- the requested type name- Returns:
- the type instance or null if not found
-
-