Class PrimitiveMatcher
- java.lang.Object
-
- org.simpleframework.xml.transform.PrimitiveMatcher
-
- All Implemented Interfaces:
Matcher
class PrimitiveMatcher extends java.lang.Object implements Matcher
ThePrimitiveMatcher
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:
DefaultMatcher
-
-
Constructor Summary
Constructors Constructor Description PrimitiveMatcher()
Constructor for thePrimitiveMatcher
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Transform
match(java.lang.Class type)
This method is used to match the specified type to primitive transform implementations.
-
-
-
Method Detail
-
match
public Transform match(java.lang.Class type) throws java.lang.Exception
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.
-
-