LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.control.builder
Class LyFileBuilder

java.lang.Object
  extended by leon.control.builder.LyBuilder
      extended by leon.control.builder.LyFileBuilder

public class LyFileBuilder
extends LyBuilder

This builder creates a view from an XML description of this view.


Field Summary
static java.lang.String __VERSION
          File version
 
Constructor Summary
LyFileBuilder(LyController parent, java.lang.String xmlFile, java.lang.Class<?> componentClass)
          Default constructor.
 
Method Summary
 LyComponent build()
          Builds the view component for the specified parent controller.
 LyComponent getComponent()
          Returns root component built by this builder.
 
Methods inherited from class leon.control.builder.LyBuilder
buildComponent, getParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
File version

See Also:
Constant Field Values
Constructor Detail

LyFileBuilder

public LyFileBuilder(LyController parent,
                     java.lang.String xmlFile,
                     java.lang.Class<?> componentClass)
Default constructor.

Parameters:
parent - parent controller
xmlFile - XML File
componentClass - Expected component class (may be null if component is unknown).
Method Detail

build

public LyComponent build()
Builds the view component for the specified parent controller. The component may create the XML description or the internal view.

Specified by:
build in class LyBuilder
Returns:
the view Component

getComponent

public LyComponent getComponent()
Returns root component built by this builder.

Overrides:
getComponent in class LyBuilder
Returns:
the root component

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com