Module: SAXishHandler

Included in:
SAXdemo
Defined in:
lib/xamplr-pp/saxishHandler.rb

Overview

xampl-pp : XML pull parser

Copyright (C) 2002-2009 Bob Hutchison

This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

Instance Method Summary collapse

Instance Method Details

#cdataSection(text) ⇒ Object



43
44
# File 'lib/xamplr-pp/saxishHandler.rb', line 43

def cdataSection(text)
end

#comment(text) ⇒ Object



55
56
# File 'lib/xamplr-pp/saxishHandler.rb', line 55

def comment(text)
end

#doctype(text) ⇒ Object



52
53
# File 'lib/xamplr-pp/saxishHandler.rb', line 52

def doctype(text)
end

#endDocumentObject



28
29
# File 'lib/xamplr-pp/saxishHandler.rb', line 28

def endDocument
end

#endElement(name, namespace, qname, prefix) ⇒ Object



34
35
# File 'lib/xamplr-pp/saxishHandler.rb', line 34

def endElement(name, namespace, qname, prefix)
end

#entityRef(name, text) ⇒ Object



37
38
# File 'lib/xamplr-pp/saxishHandler.rb', line 37

def entityRef(name, text)
end

#ignoreableWhitespace(text) ⇒ Object



46
47
# File 'lib/xamplr-pp/saxishHandler.rb', line 46

def ignoreableWhitespace(text)
end

#processingInstruction(text) ⇒ Object



49
50
# File 'lib/xamplr-pp/saxishHandler.rb', line 49

def processingInstruction(text)
end

#resolve(name) ⇒ Object



21
22
23
# File 'lib/xamplr-pp/saxishHandler.rb', line 21

def resolve(name)
  return nil
end

#startDocumentObject



25
26
# File 'lib/xamplr-pp/saxishHandler.rb', line 25

def startDocument
end

#startElement(name, namespace, qname, prefix, attributeCount, isEmptyElement, saxParser) ⇒ Object



31
32
# File 'lib/xamplr-pp/saxishHandler.rb', line 31

def startElement(name, namespace, qname, prefix, attributeCount, isEmptyElement, saxParser)
end

#text(text, isWhitespace) ⇒ Object



40
41
# File 'lib/xamplr-pp/saxishHandler.rb', line 40

def text(text, isWhitespace)
end