Class: DefineElement

Inherits:
Element show all
Defined in:
lib/fxmlloader/real_elts.rb

Overview

Element representing a define block

Instance Attribute Summary

Attributes inherited from Element

#current, #eventHandlerAttributes, #instancePropertyAttributes, #lineNumber, #loadListener, #parent, #parentLoader, #staticPropertyAttributes, #staticPropertyElements, #value, #valueAdapter, #xmlStreamReader

Instance Method Summary collapse

Methods inherited from Element

#addEventHandler, #applyProperty, #callz, #getProperties, #getValueAdapter, #initialize, #isBidirectionalBindingExpression, #isBindingExpression, #isTyped, #populateArrayFromString, #populateListFromString, #processCharacters, #processEndElement, #processEventHandlerAttributes, #processInstancePropertyAttributes, #processPropertyAttribute, #processStartElement, #processValue3, #resolvePrefixedValue, #set, #staticLoad, #updateValue, #warnDeprecatedEscapeSequence

Constructor Details

This class inherits a constructor from Element

Instance Method Details

#add(element) ⇒ Object


700
701
702
703
# File 'lib/fxmlloader/real_elts.rb', line 700

def add(element)
  rputs parent.value, rget(element)
  # No-op
end

#isCollectionObject


696
697
698
# File 'lib/fxmlloader/real_elts.rb', line 696

def isCollection()
  return true;
end

#processAttribute(prefix, localName, value) ⇒ Object

Raises:


705
706
707
# File 'lib/fxmlloader/real_elts.rb', line 705

def processAttribute(prefix, localName, value)
  raise LoadException.new("Element does not support attributes.");
end