Parent

Files

Class Index [+]

Quicksearch

XSD::XSDLanguage

Constants

Type

Public Class Methods

new(value = nil) click to toggle source
      # File lib/xsd/datatypes.rb, line 1040
1040:   def initialize(value = nil)
1041:     init(Type, value)
1042:   end

Private Instance Methods

screen_data(value) click to toggle source
      # File lib/xsd/datatypes.rb, line 1046
1046:   def screen_data(value)
1047:     super
1048:     # RFC 3066 syntax check
1049:     if /\A[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})?\z/ !~ value
1050:       raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
1051:     end
1052:     value
1053:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.