~ubuntu-branches/ubuntu/lucid/jruby/lucid

« back to all changes in this revision

Viewing changes to lib/ruby/1.8/wsdl/xmlSchema/length.rb

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Delafond
  • Date: 2009-12-09 17:30:55 UTC
  • Revision ID: james.westby@ubuntu.com-20091209173055-8ffzikq1768gywux
Tags: upstream-1.3.1
ImportĀ upstreamĀ versionĀ 1.3.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# WSDL4R - XMLSchema length definition for WSDL.
 
2
# Copyright (C) 2005  NAKAMURA, Hiroshi <nahi@ruby-lang.org>.
 
3
 
 
4
# This program is copyrighted free software by NAKAMURA, Hiroshi.  You can
 
5
# redistribute it and/or modify it under the same terms of Ruby's license;
 
6
# either the dual license version in 2003, or any later version.
 
7
 
 
8
 
 
9
require 'wsdl/info'
 
10
 
 
11
 
 
12
module WSDL
 
13
module XMLSchema
 
14
 
 
15
 
 
16
class Length < Info
 
17
  def initialize
 
18
    super
 
19
  end
 
20
 
 
21
  def parse_element(element)
 
22
    nil
 
23
  end
 
24
 
 
25
  def parse_attr(attr, value)
 
26
    case attr
 
27
    when ValueAttrName
 
28
      value.source
 
29
    end
 
30
  end
 
31
end
 
32
 
 
33
 
 
34
end
 
35
end