Class | XSD::XSDQName |
In: |
lib/xsd/datatypes.rb
|
Parent: | XSDAnySimpleType |
Type | = | QName.new(Namespace, QNameLiteral) |
# File lib/xsd/datatypes.rb, line 947 947: def initialize(value = nil) 948: init(Type, value) 949: end
# File lib/xsd/datatypes.rb, line 963 963: def _set(data) 964: if data.nil? 965: @prefix = @localpart = @data = nil 966: return 967: end 968: @prefix, @localpart = data 969: @data = _to_s 970: @data.freeze 971: end
# File lib/xsd/datatypes.rb, line 973 973: def _to_s 974: if @prefix 975: "#{ @prefix }:#{ @localpart }" 976: else 977: "#{ @localpart }" 978: end 979: end