| Class | XSD::XSDHexBinary |
| In: |
lib/xsd/datatypes.rb
|
| Parent: | XSDAnySimpleType |
| Type | = | QName.new(Namespace, HexBinaryLiteral) |
# File lib/xsd/datatypes.rb, line 880
880: def set_encoded(value)
881: if /^[0-9a-fA-F]*$/ !~ value
882: raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
883: end
884: @data = String.new(value).strip
885: @is_nil = false
886: end