Class: XMLRPC::XMLWriter::XMLParser (Ruby 2.3.7)
Description: Class : XMLRPC::XMLWriter::XMLParser - Ruby 2.3.7

- Home
- Core 2.3.7
- Std-lib 2.3.7
- Downloads

Support for the Ruby 2.3 series has ended. See here for reference.

### Home Classes Methods

### In Files

- xmlrpc/create.rb

### Parent

XMLRPC::XMLWriter::Abstract

### Methods

- ::new
- #document
- #document_to_str
- #element
- #pi
- #text

### Class/Module Index

Quicksearch

- NQXML
- NQXML::Node
- XMLRPC
- XMLRPC::Base64
- XMLRPC::BasicServer
- XMLRPC::CGIServer
- XMLRPC::Client
- XMLRPC::Client::Proxy
- XMLRPC::Config
- XMLRPC::Convert
- XMLRPC::Create
- XMLRPC::DateTime
- XMLRPC::FaultException
- XMLRPC::Marshal
- XMLRPC::Marshallable
- XMLRPC::ModRubyServer
- XMLRPC::ParseContentType
- XMLRPC::ParserWriterChooseMixin
- XMLRPC::Server
- XMLRPC::Service
- XMLRPC::Service::BasicInterface
- XMLRPC::Service::Interface
- XMLRPC::Service::PublicInstanceMethodsInterface
- XMLRPC::WEBrickServlet
- XMLRPC::XMLParser
- XMLRPC::XMLParser::AbstractStreamParser
- XMLRPC::XMLParser::AbstractTreeParser
- XMLRPC::XMLParser::LibXMLStreamParser
- XMLRPC::XMLParser::LibXMLStreamParser::LibXMLStreamListener
- XMLRPC::XMLParser::NQXMLParser
- XMLRPC::XMLParser::NQXMLStreamParser
- XMLRPC::XMLParser::NQXMLStreamParser::XMLRPCParser
- XMLRPC::XMLParser::NQXMLTreeParser
- XMLRPC::XMLParser::REXMLStreamParser
- XMLRPC::XMLParser::REXMLStreamParser::StreamListener
- XMLRPC::XMLParser::StreamParserMixin
- XMLRPC::XMLParser::XMLParser
- XMLRPC::XMLParser::XMLScanStreamParser
- XMLRPC::XMLParser::XMLScanStreamParser::XMLScanParser
- XMLRPC::XMLParser::XMLStreamParser
- XMLRPC::XMLParser::XMLTreeParser
- XMLRPC::XMLWriter
- XMLRPC::XMLWriter::Abstract
- XMLRPC::XMLWriter::Simple
- XMLRPC::XMLWriter::XMLParser

No matching classes.

# XMLRPC::XMLWriter::XMLParser

### Public Class Methods

new() click to toggle source

                   # File xmlrpc/create.rb, line 61
    def initialize
      require "xmltreebuilder"
    end

### Public Instance Methods

document(*params) click to toggle source

                   # File xmlrpc/create.rb, line 69
    def document(*params)
      XML::SimpleTree::Document.new(*params)
    end

document_to_str(doc) click to toggle source

                   # File xmlrpc/create.rb, line 65
    def document_to_str(doc)
      doc.to_s
    end

element(name, attrs, *children) click to toggle source

                   # File xmlrpc/create.rb, line 77
    def element(name, attrs, *children)
      XML::SimpleTree::Element.new(name, attrs, *children)
    end

pi(name, *params) click to toggle source

                   # File xmlrpc/create.rb, line 73
    def pi(name, *params)
      XML::SimpleTree::ProcessingInstruction.new(name, *params)
    end

text(txt) click to toggle source

                   # File xmlrpc/create.rb, line 81
    def text(txt)
      XML::SimpleTree::Text.new(txt)
    end