Class: XSD::XSDString

Inherits:
XSDAnySimpleType show all
Defined in:
lib/xsd/datatypes.rb

Overview

Primitive datatypes.

Direct Known Subclasses

SOAP::SOAPRawString, SOAP::SOAPString, XSDNormalizedString

Constant Summary

Type =
QName.new(Namespace, StringLiteral)
@@strict_ces_validation =
false

Constants included from XSD

AnySimpleTypeLiteral, AnySimpleTypeName, AnyTypeLiteral, AnyTypeName, AnyURILiteral, AttrNilName, AttrType, AttrTypeName, Base64BinaryLiteral, BooleanLiteral, ByteLiteral, DateLiteral, DateTimeLiteral, DecimalLiteral, DoubleLiteral, DurationLiteral, ENTITIESLiteral, ENTITYLiteral, FloatLiteral, GDayLiteral, GMonthDayLiteral, GMonthLiteral, GYearLiteral, GYearMonthLiteral, HexBinaryLiteral, IDLiteral, IDREFLiteral, IDREFSLiteral, InstanceNamespace, IntLiteral, IntegerLiteral, LanguageLiteral, LongLiteral, NCNameLiteral, NMTOKENLiteral, NMTOKENSLiteral, NameLiteral, Namespace, NegativeIntegerLiteral, NilLiteral, NilValue, NonNegativeIntegerLiteral, NonPositiveIntegerLiteral, NormalizedStringLiteral, PositiveIntegerLiteral, QNameLiteral, ShortLiteral, StringLiteral, TimeLiteral, TokenLiteral, UnsignedByteLiteral, UnsignedIntLiteral, UnsignedLongLiteral, UnsignedShortLiteral

Instance Attribute Summary

Attributes inherited from XSDAnySimpleType

#data, #is_nil

Attributes inherited from NSDBase

#type

Class Method Summary (collapse)

Instance Method Summary (collapse)

Methods inherited from XSDAnySimpleType

#check_lexical_format, #set, #to_s

Methods inherited from NSDBase

inherited, #init, types

Constructor Details

- (XSDString) initialize(value = nil)



191
192
193
# File 'lib/xsd/datatypes.rb', line 191

def initialize(value = nil)
  init(Type, value)
end

Class Method Details

+ (Object) strict_ces_validation



201
202
203
# File 'lib/xsd/datatypes.rb', line 201

def self.strict_ces_validation
  @@strict_ces_validation
end

+ (Object) strict_ces_validation=(strict_ces_validation)



197
198
199
# File 'lib/xsd/datatypes.rb', line 197

def self.strict_ces_validation=(strict_ces_validation)
  @@strict_ces_validation = strict_ces_validation
end