in daffodil-core/src/main/scala/org/apache/daffodil/core/dsom/SimpleTypes.scala [85:108]
def apply(typeNode: PrimType) = {
typeNode match {
case PrimType.String => String
case PrimType.Int => Int
case PrimType.Byte => Byte
case PrimType.Short => Short
case PrimType.Long => Long
case PrimType.Integer => Integer
case PrimType.Decimal => Decimal
case PrimType.UnsignedInt => UnsignedInt
case PrimType.UnsignedByte => UnsignedByte
case PrimType.UnsignedShort => UnsignedShort
case PrimType.UnsignedLong => UnsignedLong
case PrimType.NonNegativeInteger => NonNegativeInteger
case PrimType.Double => Double
case PrimType.Float => Float
case PrimType.HexBinary => HexBinary
case PrimType.Boolean => Boolean
case PrimType.DateTime => DateTime
case PrimType.Date => Date
case PrimType.Time => Time
case PrimType.AnyURI => AnyURI
}
}