Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Text.XML.HaXml.Schema.PrimitiveTypes
Synopsis
- class SimpleType a where
- acceptingParser :: TextParser a
- simpleTypeText :: a -> String
- module Text.Parse
- newtype XsdString = XsdString String
- type Boolean = Bool
- data Base64Binary = Base64Binary String
- data HexBinary = HexBinary String
- data Float
- data Decimal = Decimal Double
- data Double
- data AnyURI = AnyURI String
- data QName
- data NOTATION = NOTATION String
- data Duration = Duration Bool Int Int Int Int Int Float
- data DateTime = DateTime String
- data Time = Time String
- data Date = Date String
- data GYearMonth = GYearMonth String
- data GYear = GYear String
- data GMonthDay = GMonthDay String
- data GDay = GDay String
- data GMonth = GMonth String
- newtype NormalizedString = Normalized String
- newtype Token = Token String
- newtype Language = Language String
- newtype Name = Name String
- newtype NCName = NCName String
- newtype ID = ID String
- newtype IDREF = IDREF String
- newtype IDREFS = IDREFS String
- newtype ENTITY = ENTITY String
- newtype ENTITIES = ENTITIES String
- newtype NMTOKEN = NMTOKEN String
- newtype NMTOKENS = NMTOKENS String
- data Integer
- newtype NonPositiveInteger = NonPos Integer
- newtype NegativeInteger = Negative Integer
- newtype Long = Long Int64
- data Int
- newtype Short = Short Int16
- newtype Byte = Byte Int8
- newtype NonNegativeInteger = NonNeg Integer
- newtype UnsignedLong = ULong Word64
- newtype UnsignedInt = UInt Word32
- newtype UnsignedShort = UShort Word16
- newtype UnsignedByte = UByte Word8
- newtype PositiveInteger = Positive Integer
Type class for parsing simpleTypes
class SimpleType a where Source #
Ultimately, an XML parser will find some plain text as the content of a simpleType, which will need to be parsed. We use a TextParser, because values of simpleTypes can also be given elsewhere, e.g. as attribute values in an XSD definition, e.g. to restrict the permissible values of the simpleType. Such restrictions are therefore implemented as layered parsers.
Instances
module Text.Parse
Primitive XSD datatypes
Instances
SimpleType XsdString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser XsdString Source # simpleTypeText :: XsdString -> String Source # | |
SchemaType XsdString Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show XsdString Source # | |
Eq XsdString Source # | |
data Base64Binary Source #
Constructors
Base64Binary String |
Instances
SimpleType Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser Base64Binary Source # simpleTypeText :: Base64Binary -> String Source # | |
SchemaType Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser Base64Binary Source # schemaTypeToXML :: String -> Base64Binary -> [Content ()] Source # | |
Show Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq Base64Binary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: Base64Binary -> Base64Binary -> Bool Source # (/=) :: Base64Binary -> Base64Binary -> Bool Source # |
Instances
SimpleType HexBinary Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser HexBinary Source # simpleTypeText :: HexBinary -> String Source # | |
SchemaType HexBinary Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show HexBinary Source # | |
Eq HexBinary Source # | |
Single-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE single-precision type.
Instances
SimpleType Float Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Float Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
HTypeable Float Source # | |
XmlContent Float Source # | |
Floating Float | Since: base-2.1 |
Defined in GHC.Float Methods exp :: Float -> Float Source # log :: Float -> Float Source # sqrt :: Float -> Float Source # (**) :: Float -> Float -> Float Source # logBase :: Float -> Float -> Float Source # sin :: Float -> Float Source # cos :: Float -> Float Source # tan :: Float -> Float Source # asin :: Float -> Float Source # acos :: Float -> Float Source # atan :: Float -> Float Source # sinh :: Float -> Float Source # cosh :: Float -> Float Source # tanh :: Float -> Float Source # asinh :: Float -> Float Source # acosh :: Float -> Float Source # atanh :: Float -> Float Source # log1p :: Float -> Float Source # expm1 :: Float -> Float Source # | |
RealFloat Float | Since: base-2.1 |
Defined in GHC.Float Methods floatRadix :: Float -> Integer Source # floatDigits :: Float -> Int Source # floatRange :: Float -> (Int, Int) Source # decodeFloat :: Float -> (Integer, Int) Source # encodeFloat :: Integer -> Int -> Float Source # exponent :: Float -> Int Source # significand :: Float -> Float Source # scaleFloat :: Int -> Float -> Float Source # isNaN :: Float -> Bool Source # isInfinite :: Float -> Bool Source # isDenormalized :: Float -> Bool Source # isNegativeZero :: Float -> Bool Source # | |
Read Float | Since: base-2.1 |
Eq Float | Note that due to the presence of
Also note that
|
Ord Float | Note that due to the presence of
Also note that, due to the same,
|
Defined in GHC.Classes | |
Parse Float | |
Defined in Text.Parse | |
Generic1 (URec Float :: k -> Type) | |
Foldable (UFloat :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => UFloat m -> m Source # foldMap :: Monoid m => (a -> m) -> UFloat a -> m Source # foldMap' :: Monoid m => (a -> m) -> UFloat a -> m Source # foldr :: (a -> b -> b) -> b -> UFloat a -> b Source # foldr' :: (a -> b -> b) -> b -> UFloat a -> b Source # foldl :: (b -> a -> b) -> b -> UFloat a -> b Source # foldl' :: (b -> a -> b) -> b -> UFloat a -> b Source # foldr1 :: (a -> a -> a) -> UFloat a -> a Source # foldl1 :: (a -> a -> a) -> UFloat a -> a Source # toList :: UFloat a -> [a] Source # null :: UFloat a -> Bool Source # length :: UFloat a -> Int Source # elem :: Eq a => a -> UFloat a -> Bool Source # maximum :: Ord a => UFloat a -> a Source # minimum :: Ord a => UFloat a -> a Source # | |
Traversable (UFloat :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
Functor (URec Float :: Type -> Type) | Since: base-4.9.0.0 |
Generic (URec Float p) | |
Show (URec Float p) | |
Eq (URec Float p) | |
Ord (URec Float p) | |
Defined in GHC.Generics Methods compare :: URec Float p -> URec Float p -> Ordering Source # (<) :: URec Float p -> URec Float p -> Bool Source # (<=) :: URec Float p -> URec Float p -> Bool Source # (>) :: URec Float p -> URec Float p -> Bool Source # (>=) :: URec Float p -> URec Float p -> Bool Source # max :: URec Float p -> URec Float p -> URec Float p Source # min :: URec Float p -> URec Float p -> URec Float p Source # | |
data URec Float (p :: k) | Used for marking occurrences of Since: base-4.9.0.0 |
type Rep1 (URec Float :: k -> Type) | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
type Rep (URec Float p) | |
Defined in GHC.Generics |
Instances
SimpleType Decimal Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Decimal Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Decimal Source # | |
Eq Decimal Source # | |
Double-precision floating point numbers. It is desirable that this type be at least equal in range and precision to the IEEE double-precision type.
Instances
Instances
SimpleType AnyURI Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType AnyURI Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show AnyURI Source # | |
Eq AnyURI Source # | |
A QName is a (possibly) qualified name, in the sense of XML namespaces.
Instances
SimpleType NOTATION Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NOTATION Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show NOTATION Source # | |
Eq NOTATION Source # | |
Instances
SimpleType Duration Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Duration Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Duration Source # | |
Eq Duration Source # | |
Instances
SimpleType DateTime Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType DateTime Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show DateTime Source # | |
Eq DateTime Source # | |
Instances
SimpleType Time Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Time Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Time Source # | |
Eq Time Source # | |
Instances
SimpleType Date Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Date Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Date Source # | |
Eq Date Source # | |
data GYearMonth Source #
Constructors
GYearMonth String |
Instances
SimpleType GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser GYearMonth Source # simpleTypeText :: GYearMonth -> String Source # | |
SchemaType GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser GYearMonth Source # schemaTypeToXML :: String -> GYearMonth -> [Content ()] Source # | |
Show GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq GYearMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: GYearMonth -> GYearMonth -> Bool Source # (/=) :: GYearMonth -> GYearMonth -> Bool Source # |
Instances
SimpleType GYear Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GYear Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show GYear Source # | |
Eq GYear Source # | |
Instances
SimpleType GMonthDay Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser GMonthDay Source # simpleTypeText :: GMonthDay -> String Source # | |
SchemaType GMonthDay Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show GMonthDay Source # | |
Eq GMonthDay Source # | |
Instances
SimpleType GDay Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GDay Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show GDay Source # | |
Eq GDay Source # | |
Instances
SimpleType GMonth Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType GMonth Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show GMonth Source # | |
Eq GMonth Source # | |
Derived, yet builtin, datatypes
newtype NormalizedString Source #
Constructors
Normalized String |
Instances
SimpleType NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods | |
SchemaType NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NormalizedString Source # schemaTypeToXML :: String -> NormalizedString -> [Content ()] Source # | |
Show NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq NormalizedString Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NormalizedString -> NormalizedString -> Bool Source # (/=) :: NormalizedString -> NormalizedString -> Bool Source # |
Instances
SimpleType Token Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Token Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Token Source # | |
Eq Token Source # | |
Instances
SimpleType Language Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Language Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Language Source # | |
Eq Language Source # | |
Instances
SimpleType Name Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Name Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Name Source # | |
Eq Name Source # | |
Instances
SimpleType NCName Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NCName Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show NCName Source # | |
Eq NCName Source # | |
Instances
SimpleType ID Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ID Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show ID Source # | |
Eq ID Source # | |
Instances
SimpleType IDREF Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType IDREF Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show IDREF Source # | |
Eq IDREF Source # | |
Instances
SimpleType IDREFS Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType IDREFS Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show IDREFS Source # | |
Eq IDREFS Source # | |
Instances
SimpleType ENTITY Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ENTITY Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show ENTITY Source # | |
Eq ENTITY Source # | |
Instances
SimpleType ENTITIES Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType ENTITIES Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show ENTITIES Source # | |
Eq ENTITIES Source # | |
Instances
SimpleType NMTOKEN Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NMTOKEN Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show NMTOKEN Source # | |
Eq NMTOKEN Source # | |
Instances
SimpleType NMTOKENS Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType NMTOKENS Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show NMTOKENS Source # | |
Eq NMTOKENS Source # | |
Arbitrary precision integers. In contrast with fixed-size integral types
such as Int
, the Integer
type represents the entire infinite range of
integers.
Integers are stored in a kind of sign-magnitude form, hence do not expect two's complement form when using bit operations.
If the value is small (fit into an Int
), IS
constructor is used.
Otherwise IP
and IN
constructors are used to store a BigNat
representing respectively the positive or the negative value magnitude.
Instances
newtype NonPositiveInteger Source #
Instances
SimpleType NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods | |
SchemaType NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NonPositiveInteger Source # schemaTypeToXML :: String -> NonPositiveInteger -> [Content ()] Source # | |
Show NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq NonPositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NonPositiveInteger -> NonPositiveInteger -> Bool Source # (/=) :: NonPositiveInteger -> NonPositiveInteger -> Bool Source # |
newtype NegativeInteger Source #
Instances
SimpleType NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods | |
SchemaType NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NegativeInteger Source # schemaTypeToXML :: String -> NegativeInteger -> [Content ()] Source # | |
Show NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq NegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NegativeInteger -> NegativeInteger -> Bool Source # (/=) :: NegativeInteger -> NegativeInteger -> Bool Source # |
Instances
SimpleType Long Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Long Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Long Source # | |
Eq Long Source # | |
A fixed-precision integer type with at least the range [-2^29 .. 2^29-1]
.
The exact range for a given implementation can be determined by using
minBound
and maxBound
from the Bounded
class.
Instances
SimpleType Int Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Int Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
HTypeable Int Source # | |
XmlContent Int Source # | |
Bounded Int | Since: base-2.1 |
Enum Int | Since: base-2.1 |
Defined in GHC.Enum | |
Ix Int | Since: base-2.1 |
Num Int | Since: base-2.1 |
Read Int | Since: base-2.1 |
Integral Int | Since: base-2.0.1 |
Real Int | Since: base-2.0.1 |
Show Int | Since: base-2.1 |
Eq Int | |
Ord Int | |
Parse Int | |
Defined in Text.Parse | |
Generic1 (URec Int :: k -> Type) | |
Foldable (UInt :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => UInt m -> m Source # foldMap :: Monoid m => (a -> m) -> UInt a -> m Source # foldMap' :: Monoid m => (a -> m) -> UInt a -> m Source # foldr :: (a -> b -> b) -> b -> UInt a -> b Source # foldr' :: (a -> b -> b) -> b -> UInt a -> b Source # foldl :: (b -> a -> b) -> b -> UInt a -> b Source # foldl' :: (b -> a -> b) -> b -> UInt a -> b Source # foldr1 :: (a -> a -> a) -> UInt a -> a Source # foldl1 :: (a -> a -> a) -> UInt a -> a Source # toList :: UInt a -> [a] Source # null :: UInt a -> Bool Source # length :: UInt a -> Int Source # elem :: Eq a => a -> UInt a -> Bool Source # maximum :: Ord a => UInt a -> a Source # minimum :: Ord a => UInt a -> a Source # | |
Traversable (UInt :: Type -> Type) | Since: base-4.9.0.0 |
Functor (URec Int :: Type -> Type) | Since: base-4.9.0.0 |
Generic (URec Int p) | |
Show (URec Int p) | Since: base-4.9.0.0 |
Eq (URec Int p) | Since: base-4.9.0.0 |
Ord (URec Int p) | Since: base-4.9.0.0 |
Defined in GHC.Generics Methods compare :: URec Int p -> URec Int p -> Ordering Source # (<) :: URec Int p -> URec Int p -> Bool Source # (<=) :: URec Int p -> URec Int p -> Bool Source # (>) :: URec Int p -> URec Int p -> Bool Source # (>=) :: URec Int p -> URec Int p -> Bool Source # | |
data URec Int (p :: k) | Used for marking occurrences of Since: base-4.9.0.0 |
type Rep1 (URec Int :: k -> Type) | Since: base-4.9.0.0 |
Defined in GHC.Generics | |
type Rep (URec Int p) | Since: base-4.9.0.0 |
Defined in GHC.Generics |
Instances
SimpleType Short Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Short Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Short Source # | |
Eq Short Source # | |
Instances
SimpleType Byte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
SchemaType Byte Source # | |
Defined in Text.XML.HaXml.Schema.Schema | |
Show Byte Source # | |
Eq Byte Source # | |
newtype NonNegativeInteger Source #
Instances
SimpleType NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods | |
SchemaType NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser NonNegativeInteger Source # schemaTypeToXML :: String -> NonNegativeInteger -> [Content ()] Source # | |
Show NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq NonNegativeInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: NonNegativeInteger -> NonNegativeInteger -> Bool Source # (/=) :: NonNegativeInteger -> NonNegativeInteger -> Bool Source # |
newtype UnsignedLong Source #
Instances
SimpleType UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedLong Source # simpleTypeText :: UnsignedLong -> String Source # | |
SchemaType UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedLong Source # schemaTypeToXML :: String -> UnsignedLong -> [Content ()] Source # | |
Show UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq UnsignedLong Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: UnsignedLong -> UnsignedLong -> Bool Source # (/=) :: UnsignedLong -> UnsignedLong -> Bool Source # |
newtype UnsignedInt Source #
Instances
SimpleType UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedInt Source # simpleTypeText :: UnsignedInt -> String Source # | |
SchemaType UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedInt Source # schemaTypeToXML :: String -> UnsignedInt -> [Content ()] Source # | |
Show UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq UnsignedInt Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: UnsignedInt -> UnsignedInt -> Bool Source # (/=) :: UnsignedInt -> UnsignedInt -> Bool Source # |
newtype UnsignedShort Source #
Instances
SimpleType UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedShort Source # simpleTypeText :: UnsignedShort -> String Source # | |
SchemaType UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedShort Source # schemaTypeToXML :: String -> UnsignedShort -> [Content ()] Source # | |
Show UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq UnsignedShort Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: UnsignedShort -> UnsignedShort -> Bool Source # (/=) :: UnsignedShort -> UnsignedShort -> Bool Source # |
newtype UnsignedByte Source #
Instances
SimpleType UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods acceptingParser :: TextParser UnsignedByte Source # simpleTypeText :: UnsignedByte -> String Source # | |
SchemaType UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser UnsignedByte Source # schemaTypeToXML :: String -> UnsignedByte -> [Content ()] Source # | |
Show UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq UnsignedByte Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: UnsignedByte -> UnsignedByte -> Bool Source # (/=) :: UnsignedByte -> UnsignedByte -> Bool Source # |
newtype PositiveInteger Source #
Instances
SimpleType PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods | |
SchemaType PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.Schema Methods parseSchemaType :: String -> XMLParser PositiveInteger Source # schemaTypeToXML :: String -> PositiveInteger -> [Content ()] Source # | |
Show PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes | |
Eq PositiveInteger Source # | |
Defined in Text.XML.HaXml.Schema.PrimitiveTypes Methods (==) :: PositiveInteger -> PositiveInteger -> Bool Source # (/=) :: PositiveInteger -> PositiveInteger -> Bool Source # |