class XSD::XSDAnyURI
Constants
- Type
Public Class Methods
new(value = nil)
click to toggle source
# File lib/xsd/datatypes.rb, line 944 def initialize(value = nil) init(Type, value) end
Private Instance Methods
screen_data(value)
click to toggle source
# File lib/xsd/datatypes.rb, line 950 def screen_data(value) begin URI.parse(value.to_s.strip) rescue URI::InvalidURIError raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.", $!) end end