Class PrimitiveMatcher
java.lang.Object
org.simpleframework.xml.transform.PrimitiveMatcher
- All Implemented Interfaces:
Matcher
The
PrimitiveMatcher
object is used to resolve the
primitive types to a stock transform. This will basically use
a transform that is used with the primitives language object.
This will always return a suitable transform for a primitive.- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PrimitiveMatcher
public PrimitiveMatcher()Constructor for thePrimitiveMatcher
object. The primitive matcher is used to resolve a transform instance to convert primitive types to an from strings. If a match is not found with this matcher then an exception is thrown.
-
-
Method Details
-
match
This method is used to match the specified type to primitive transform implementations. If this is given a primitive then it will always return a suitableTransform
. If however it is given an object type an exception is thrown.
-