Class: DocType (REXML)

Overview
Module Structure
Class Hierarchy
Constants
DocType::START
DocType::STOP
DocType::SYSTEM
DocType::PUBLIC
DocType::DEFAULT_ENTITIES
Instance Attributes
DocType#name [R]
DocType#external_id [R]
DocType#entities [R]
DocType#namespaces [R]
Instance Methods
DocType#initialize / 2
DocType#node_type
DocType#attributes_of
DocType#attribute_of
DocType#clone
DocType#write / 4
DocType#context
DocType#entity / 1
DocType#add
DocType#public
DocType#system
DocType#notations
DocType#notation / 1
DocType#strip_quotes / 1
is a submodule of
module: REXML   
includes
  XMLTokens ( REXML )
inherits from
  Parent ( REXML )
has properties
constant: START   
constant: STOP   
constant: SYSTEM   
constant: PUBLIC   
constant: DEFAULT_ENTITIES   
attribute: name [R]   
attribute: external_id [R]   
attribute: entities [R]   
attribute: namespaces [R]   
method: initialize / 2   
method: node_type   
method: attributes_of   
method: attribute_of   
method: clone   
method: write / 4   
method: context   
method: entity / 1   
method: add   
method: public   
method: system   
method: notations   
method: notation / 1   
method: strip_quotes / 1   
is defined at
#12 in rexml/doctype.rb  

Overview

Module Structure

  module: <Toplevel Module>
  module: REXML
class: DocType     
class: Parent     
module: XMLTokens     

Class Hierarchy

Object ( Builtin-Module )
has properties
method: dclone   
Child ( REXML )
includes
  Node ( REXML )
has properties
attribute: parent [R]   
method: initialize / 1   
method: replace_with / 1   
method: remove   
method: parent= / 1   
alias: next_sibling next_sibling_node   
alias: previous_sibling previous_sibling_node   
method: next_sibling= / 1   
method: previous_sibling= / 1   
method: document   
method: bytes   
Parent ( REXML )
includes
  Enumerable ( Builtin-Module )
has properties
method: initialize   
method: add / 1   
alias: push add   
alias: << push   
method: unshift / 1   
method: delete / 1   
method: each / 1   
method: delete_if / 1   
method: delete_at / 1   
method: each_index / 1   
method: [] / 1   
alias: each_child each   
method: []= / 1   
method: insert_before / 2   
method: insert_after / 2   
method: to_a   
method: index / 1   
method: size   
alias: length size   
method: replace_child / 2   
method: deep_clone   
alias: children to_a   
method: parent?   
DocType ( REXML )
includes
  XMLTokens ( REXML )
has properties
constant: START   
constant: STOP   
constant: SYSTEM   
constant: PUBLIC   
constant: DEFAULT_ENTITIES   
attribute: name [R]   
attribute: external_id [R]   
attribute: entities [R]   
attribute: namespaces [R]   
method: initialize / 2   
method: node_type   
method: attributes_of   
method: attribute_of   
method: clone   
method: write / 4   
method: context   
method: entity / 1   
method: add   
method: public   
method: system   
method: notations   
method: notation / 1   
method: strip_quotes / 1   

Constants

DocType::START

#14 in rexml/doctype.rb

START = "<!DOCTYPE"   

DocType::STOP

#15 in rexml/doctype.rb

STOP = ">"   

DocType::SYSTEM

#16 in rexml/doctype.rb

SYSTEM = "SYSTEM"   

DocType::PUBLIC

#17 in rexml/doctype.rb

PUBLIC = "PUBLIC"   

DocType::DEFAULT_ENTITIES

#18 in rexml/doctype.rb

DEFAULT_ENTITIES = {   

Instance Attributes

DocType#name [R]

#27 in rexml/doctype.rb

DocType#external_id [R]

#27 in rexml/doctype.rb

DocType#entities [R]

#27 in rexml/doctype.rb

DocType#namespaces [R]

#27 in rexml/doctype.rb

Instance Methods

DocType#initialize / 2

#41 in rexml/doctype.rb

initialize ( first ,
  parent=nil )

DocType#node_type

#70 in rexml/doctype.rb

node_type

DocType#attributes_of

#74 in rexml/doctype.rb

attributes_of

DocType#attribute_of

#84 in rexml/doctype.rb

attribute_of

DocType#clone

#94 in rexml/doctype.rb

clone

DocType#write / 4

#108 in rexml/doctype.rb

write ( output ,
  indent=0 ,
  transitive=false ,
  ie_hack=false )

DocType#context

#130 in rexml/doctype.rb

context

DocType#entity / 1

#134 in rexml/doctype.rb

entity ( name )

DocType#add

#138 in rexml/doctype.rb

add

DocType#public

#148 in rexml/doctype.rb

public

DocType#system

#160 in rexml/doctype.rb

system

DocType#notations

#174 in rexml/doctype.rb

notations

DocType#notation / 1

#182 in rexml/doctype.rb

notation ( name )

DocType#strip_quotes / 1

#191 in rexml/doctype.rb

strip_quotes ( quoted_string )