Files

Class Index [+]

Quicksearch

XSD::XSDString

Primitive datatypes.

Constants

Type

Public Class Methods

new(value = nil) click to toggle source
     # File lib/xsd/datatypes.rb, line 191
191:   def initialize(value = nil)
192:     init(Type, value)
193:   end
strict_ces_validation() click to toggle source
     # File lib/xsd/datatypes.rb, line 201
201:   def self.strict_ces_validation
202:     @@strict_ces_validation
203:   end
strict_ces_validation=(strict_ces_validation) click to toggle source
     # File lib/xsd/datatypes.rb, line 197
197:   def self.strict_ces_validation=(strict_ces_validation)
198:     @@strict_ces_validation = strict_ces_validation
199:   end

Private Instance Methods

screen_data(value) click to toggle source
     # File lib/xsd/datatypes.rb, line 207
207:   def screen_data(value)
208:     if ::XSD::XSDString.strict_ces_validation
209:       externalces = XSD::Charset.encoding
210:       unless XSD::Charset.is_ces(value, externalces)
211:         raise ValueSpaceError.new("#{ type }: cannot accept '#{ value }'.")
212:       end
213:     end
214:     value
215:   end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.