SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf
Class DefaultFactory

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.DefaultFactory
All Implemented Interfaces:
Factory

public class DefaultFactory
extends java.lang.Object
implements Factory

This is the default factory for tree nodes for the SmartFrog parser.


Constructor Summary
DefaultFactory()
          Constructor.
 
Method Summary
 SFComponentDescription node(java.lang.String type)
          Return a ComponentDescriptionImpl for a root or default node - an error otherwise.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFactory

public DefaultFactory()
Constructor.

Method Detail

node

public SFComponentDescription node(java.lang.String type)
                            throws ParseException
Return a ComponentDescriptionImpl for a root or default node - an error otherwise.

Specified by:
node in interface Factory
Parameters:
type - of node to create
Returns:
ComponentDescription for root and default nodes
Throws:
ParseException - if found any other node type

SmartFrog CORE 3.10.000

(C) Copyright 1998-2006 Hewlett-Packard Development Company, LP