enum

XML::Reader::Type

Inherits Enum / Comparable / Value / Object

Constants

NONE = 0
ELEMENT = 1
ATTRIBUTE = 2
TEXT = 3
CDATA = 4
ENTITY_REFERENCE = 5
ENTITY = 6
PROCESSING_INSTRUCTION = 7
COMMENT = 8
DOCUMENT = 9
DOCUMENT_TYPE = 10
DOCUMENT_FRAGMENT = 11
NOTATION = 12
WHITESPACE = 13
SIGNIFICANT_WHITESPACE = 14
END_ELEMENT = 15
END_ENTITY = 16
XML_DECLARATION = 17

Instance methods

attribute?

Returns true if this enum value equals ATTRIBUTE

Source
cdata?

Returns true if this enum value equals CDATA

Source
comment?

Returns true if this enum value equals COMMENT

Source
document?

Returns true if this enum value equals DOCUMENT

Source
document_fragment?

Returns true if this enum value equals DOCUMENT_FRAGMENT

Source
document_type?

Returns true if this enum value equals DOCUMENT_TYPE

Source
element?

Returns true if this enum value equals ELEMENT

Source
end_element?

Returns true if this enum value equals END_ELEMENT

Source
end_entity?

Returns true if this enum value equals END_ENTITY

Source
entity?

Returns true if this enum value equals ENTITY

Source
entity_reference?

Returns true if this enum value equals ENTITY_REFERENCE

Source
none?

Returns true if this enum value equals NONE

Source
notation?

Returns true if this enum value equals NOTATION

Source
processing_instruction?

Returns true if this enum value equals PROCESSING_INSTRUCTION

Source
significant_whitespace?

Returns true if this enum value equals SIGNIFICANT_WHITESPACE

Source
text?

Returns true if this enum value equals TEXT

Source
whitespace?

Returns true if this enum value equals WHITESPACE

Source
xml_declaration?

Returns true if this enum value equals XML_DECLARATION

Source