Class: XSD::XSDNMTOKEN
- Inherits:
-
XSDToken
- Object
- NSDBase
- XSDAnySimpleType
- XSDString
- XSDNormalizedString
- XSDToken
- XSD::XSDNMTOKEN
- Defined in:
- lib/xsd/datatypes.rb
Direct Known Subclasses
Constant Summary collapse
- Type =
QName.new(Namespace, NMTOKENLiteral)
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
Attributes inherited from NSDBase
Instance Method Summary collapse
-
#initialize(value = nil) ⇒ XSDNMTOKEN
constructor
A new instance of XSDNMTOKEN.
Methods inherited from XSDString
strict_ces_validation, strict_ces_validation=
Methods inherited from XSDAnySimpleType
#check_lexical_format, #set, #to_s
Methods inherited from NSDBase
Constructor Details
#initialize(value = nil) ⇒ XSDNMTOKEN
Returns a new instance of XSDNMTOKEN.
1058 1059 1060 |
# File 'lib/xsd/datatypes.rb', line 1058 def initialize(value = nil) init(Type, value) end |