1 | <?php |
||
15 | abstract class xsAnySimpleType |
||
16 | { |
||
17 | use WhiteSpaceTrait, PatternTrait, EnumerationTrait; |
||
18 | /** |
||
19 | * @Exclude |
||
20 | * @var bool indicates if value has been fixed |
||
21 | */ |
||
22 | protected $fixed = false; |
||
23 | |||
24 | /** |
||
25 | * @property mixed $value |
||
26 | */ |
||
27 | protected $value = null; |
||
28 | |||
29 | /** |
||
30 | * Construct. |
||
31 | * |
||
32 | * @param mixed $value |
||
33 | */ |
||
34 | public function __construct($value) |
||
38 | |||
39 | public function __toString() |
||
54 | |||
55 | /** |
||
56 | * makes changes to the value to compensate for rounding conditions or white space handling. |
||
57 | */ |
||
58 | protected function fixValue() |
||
62 | |||
63 | protected function isOKInternal() |
||
69 | |||
70 | /** |
||
71 | * preforms subclass specific checks to make sure the contained value is OK. |
||
72 | * |
||
73 | * @return null |
||
74 | */ |
||
75 | abstract protected function isOK(); |
||
76 | } |
||
77 |