Class: XmlSchemaMapper::NamespaceResolver::Namespace

Inherits:
Object
  • Object
show all
Defined in:
lib/xml_schema_mapper/namespace_resolver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(prefix, href) ⇒ Namespace



6
7
8
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 6

def initialize(prefix, href)
  @prefix, @href = prefix, href
end

Instance Attribute Details

#hrefObject (readonly)

Returns the value of attribute href.



4
5
6
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 4

def href
  @href
end

#prefixObject (readonly)

Returns the value of attribute prefix.



4
5
6
# File 'lib/xml_schema_mapper/namespace_resolver.rb', line 4

def prefix
  @prefix
end