de.dv.sbu.filehandler.ftl
Class DefaultSourceParser.ComponentResult

java.lang.Object
  extended by de.dv.sbu.filehandler.ftl.DefaultSourceParser.ComponentResult
Enclosing class:
DefaultSourceParser

 class DefaultSourceParser.ComponentResult
extends java.lang.Object

Parsing result for a component tag.

Author:
Daniel Vogtland

Constructor Summary
DefaultSourceParser.ComponentResult(java.lang.String name, DefaultSourceParser.DataResult data)
          Creates a new instance.
 
Method Summary
 DefaultSourceParser.DataResult getData()
          Returns the attributes and XML data.
 java.lang.String getName()
          Returns the parsed component name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultSourceParser.ComponentResult

public DefaultSourceParser.ComponentResult(java.lang.String name,
                                           DefaultSourceParser.DataResult data)
                                    throws java.lang.NullPointerException
Creates a new instance.

Parameters:
name - The parsed component name.
data - The attributes and XML data. If null a default instance will be created.
Throws:
java.lang.NullPointerException - The given name is null.
Method Detail

getName

public java.lang.String getName()
Returns the parsed component name. Never null.

Returns:
The parsed component name.

getData

public DefaultSourceParser.DataResult getData()
Returns the attributes and XML data. Never null.

Returns:
The meta data.