XSD::XSDAnySimpleType
String in Ruby could be a binary.
# File lib/xsd/datatypes.rb, line 891 def initialize(value = nil) init(Type, value) end
# File lib/xsd/datatypes.rb, line 895 def set_encoded(value) if /^[0-9a-fA-F]*$/ !~ value raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.") end @data = String.new(value).strip @is_nil = false end
# File lib/xsd/datatypes.rb, line 903 def string [@data].pack("H*") end
[Validate]
Generated with the Darkfish Rdoc Generator 2.