Class: WSDL::XMLSchema::AnyAttribute
- Inherits:
-
Info
show all
- Defined in:
- lib/wsdl/xmlSchema/anyAttribute.rb
Instance Attribute Summary collapse
Attributes inherited from Info
#id, #parent, #root
Instance Method Summary
collapse
Methods inherited from Info
#inspect, #parse_epilogue
Constructor Details
20
21
22
23
24
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 20
def initialize
super()
@namespace = '##any'
@processcontents = 'strict'
end
|
Instance Attribute Details
#namespace ⇒ Object
Returns the value of attribute namespace.
17
18
19
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 17
def namespace
@namespace
end
|
#processcontents ⇒ Object
Returns the value of attribute processcontents.
18
19
20
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 18
def processcontents
@processcontents
end
|
Instance Method Details
#parse_attr(attr, value) ⇒ Object
34
35
36
37
38
39
40
41
42
43
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 34
def parse_attr(attr, value)
case attr
when NamespaceAttrName
@namespace = value.source
when ProcessContentsAttrName
@processcontents = value.source
else
nil
end
end
|
#parse_element(element) ⇒ Object
30
31
32
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 30
def parse_element(element)
nil
end
|
#targetnamespace ⇒ Object
26
27
28
|
# File 'lib/wsdl/xmlSchema/anyAttribute.rb', line 26
def targetnamespace
parent.targetnamespace
end
|