Uses of Class
javax.money.MonetaryAmountFactoryQuery
| Package | Description |
|---|---|
| javax.money |
Main package of the Money and Currency API.
|
| javax.money.format |
Money and Currency format API.
|
| javax.money.spi |
SPI interfaces of the Money and Currency API, including bootstrap logic.
|
-
Uses of MonetaryAmountFactoryQuery in javax.money
Methods in javax.money that return MonetaryAmountFactoryQuery Modifier and Type Method Description MonetaryAmountFactoryQueryMonetaryAmountFactoryQueryBuilder. build()Creates a new instance ofMonetaryAmountFactoryQuerybased on the values of this Builder.Methods in javax.money with parameters of type MonetaryAmountFactoryQuery Modifier and Type Method Description static MonetaryContextMonetaryContext. from(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery, java.lang.Class<? extends MonetaryAmount> amountClass)This method allows to easily of a new MonetaryContext instance from a given.MonetaryAmountFactoryQuery.static java.util.Collection<MonetaryAmountFactory<?>>Monetary. getAmountFactories(MonetaryAmountFactoryQuery query)Returns all factory instances that match the query.static MonetaryAmountFactoryMonetary. getAmountFactory(MonetaryAmountFactoryQuery query)Executes the query and returns the factory found, if there is only one factory.static booleanMonetary. isAvailable(MonetaryAmountFactoryQuery query)Allows to check if any of the getXXX methods return non empty/non null results of.MonetaryAmountFactory.static MonetaryAmountFactoryQueryBuilderMonetaryAmountFactoryQueryBuilder. of(MonetaryAmountFactoryQuery monetaryAmountFactoryQuery)Creates a new instance ofCurrencyQueryBuilder. -
Uses of MonetaryAmountFactoryQuery in javax.money.format
Methods in javax.money.format with parameters of type MonetaryAmountFactoryQuery Modifier and Type Method Description AmountFormatQueryBuilderAmountFormatQueryBuilder. setMonetaryQuery(MonetaryAmountFactoryQuery monetaryQuery)Sets theMonetaryContextto be used, when amount's are parsed. -
Uses of MonetaryAmountFactoryQuery in javax.money.spi
Methods in javax.money.spi with parameters of type MonetaryAmountFactoryQuery Modifier and Type Method Description java.util.Collection<MonetaryAmountFactory<? extends MonetaryAmount>>MonetaryAmountsSingletonQuerySpi. getAmountFactories(MonetaryAmountFactoryQuery query)Get theMonetaryAmountFactoryimplementation class, that best matches to cover the givenMonetaryContext.default MonetaryAmountFactoryMonetaryAmountsSingletonQuerySpi. getAmountFactory(MonetaryAmountFactoryQuery query)Executes the query and returns theMonetaryAmountFactoryimplementation type found, if there is only one type.default java.lang.Class<? extends MonetaryAmount>MonetaryAmountsSingletonQuerySpi. getAmountType(MonetaryAmountFactoryQuery query)Executes the query and returns theMonetaryAmountimplementation type found, if there is only one type.default java.util.Collection<java.lang.Class<? extends MonetaryAmount>>MonetaryAmountsSingletonQuerySpi. getAmountTypes(MonetaryAmountFactoryQuery query)Executes the query and returns theMonetaryAmountimplementation types found.default booleanMonetaryAmountsSingletonQuerySpi. isAvailable(MonetaryAmountFactoryQuery query)Checks if anMonetaryAmountFactoryis matching the given query.