Class: XamplGenerator::Resolve

Inherits:
Object
  • Object
show all
Includes:
Xampl::XamplObject, Xampl::XamplWithoutContent
Defined in:
lib/xamplr-gen/xampl-hand-generated.rb

Constant Summary collapse

@@tag =
"resolve"
@@ns =
"http://xampl.com/generator"
@@ns_tag =
"{http://xampl.com/generator}resolve"
@@module_name =
"XamplGenerator"
@@attributes =
[
        [ :@namespace, "namespace" ],
                [ :@pkg, "pkg" ],
                [ :@preferred_prefix, "preferred_prefix" ],
]

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize {|_self| ... } ⇒ Resolve

Returns a new instance of Resolve.

Yields:

  • (_self)

Yield Parameters:



1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1455

def initialize
  super

  @namespace = nil if not defined? @namespace
  @pkg = nil if not defined? @pkg
  @preferred_prefix = nil if not defined? @preferred_prefix

  init_xampl_object

  yield(self) if block_given?
  changed
end

Class Method Details

.module_nameObject



1490
1491
1492
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1490

def Resolve.module_name
  @@module_name
end

.nsObject



1482
1483
1484
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1482

def Resolve.ns
  @@ns
end

.ns_tagObject



1486
1487
1488
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1486

def Resolve.ns_tag
  @@ns_tag
end

.persisted?Boolean

Returns:

  • (Boolean)


1404
1405
1406
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1404

def Resolve.persisted?
  false
end

.tagObject



1478
1479
1480
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1478

def Resolve.tag
  @@tag
end

Instance Method Details

#after_visit(visitor) ⇒ Object



1526
1527
1528
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1526

def after_visit(visitor)
  visitor.after_visit_resolve(self)
end

#append_to(other) ⇒ Object



1474
1475
1476
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1474

def append_to(other)
  other.add_resolve(self)
end

#attributesObject



1510
1511
1512
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1510

def attributes
  @@attributes
end

#before_visit(visitor) ⇒ Object



1518
1519
1520
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1518

def before_visit(visitor)
  visitor.before_visit_resolve(self)
end

#clear_non_persistent_index_attributesObject



1468
1469
1470
1471
1472
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1468

def clear_non_persistent_index_attributes
  @namespace = nil
  @pkg = nil
  @preferred_prefix = nil
end

#module_nameObject



1506
1507
1508
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1506

def module_name
  @@module_name
end

#namespaceObject



1422
1423
1424
1425
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1422

def namespace
  accessed
  @namespace
end

#namespace=(v) ⇒ Object



1427
1428
1429
1430
1431
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1427

def namespace=(v)
  accessed
  changed
  @namespace = v
end

#nsObject



1498
1499
1500
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1498

def ns
  @@ns
end

#ns_tagObject



1502
1503
1504
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1502

def ns_tag
  @@ns_tag
end

#persisted?Boolean

Returns:

  • (Boolean)


1408
1409
1410
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1408

def persisted?
  false
end

#pkgObject



1433
1434
1435
1436
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1433

def pkg
  accessed
  @pkg
end

#pkg=(v) ⇒ Object



1438
1439
1440
1441
1442
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1438

def pkg=(v)
  accessed
  changed
  @pkg = v
end

#preferred_prefixObject



1444
1445
1446
1447
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1444

def preferred_prefix
  accessed
  @preferred_prefix
end

#preferred_prefix=(v) ⇒ Object



1449
1450
1451
1452
1453
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1449

def preferred_prefix=(v)
  accessed
  changed
  @preferred_prefix = v
end

#substitute_in_visit(visitor) ⇒ Object



1514
1515
1516
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1514

def substitute_in_visit(visitor)
  return visitor.substitute_in_visit_resolve(self) || self
end

#tagObject



1494
1495
1496
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1494

def tag
  @@tag
end

#visit(visitor) ⇒ Object



1522
1523
1524
# File 'lib/xamplr-gen/xampl-hand-generated.rb', line 1522

def visit(visitor)
  visitor.visit_resolve(self)
end