Given an org.genxdm.xs.Type object, our Type API offers no way for users to
determine if that Type is a simple or complex type. We need to offer that
functionality. We should add an isSimpleType() method to the Type API.
(Currently, users must use "instanceof SimpleType" to determine complex vs.
simple type).
Also, given that SimpleType.isAtomicType already exists, we don't need
Type.isAtomicType.
As for the Type.isAtomicUrType(), Type.isComplexUrType(), and
Type.isSimpleUrType(), should these methods remain on Type or be pushed down to
the SimpleType and ComplexType interfaces?
Original issue reported on code.google.com by joe.bays...@gmail.com on 7 Feb 2013 at 8:08
Original issue reported on code.google.com by
joe.bays...@gmail.com
on 7 Feb 2013 at 8:08