Class XSD::XSDAnyURI
In: lib/xsd/datatypes.rb
Parent: XSDAnySimpleType

Methods

new   screen_data  

Constants

Type = QName.new(Namespace, AnyURILiteral)

Public Class methods

[Source]

     # File lib/xsd/datatypes.rb, line 929
929:   def initialize(value = nil)
930:     init(Type, value)
931:   end

Private Instance methods

[Source]

     # File lib/xsd/datatypes.rb, line 935
935:   def screen_data(value)
936:     begin
937:       URI.parse(value.to_s.strip)
938:     rescue URI::InvalidURIError
939:       raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
940:     end
941:   end

[Validate]