SmartFrog 3.10.000

org.smartfrog.sfcore.languages.sf.predicates
Class SchemaDescription

java.lang.Object
  extended by org.smartfrog.sfcore.languages.sf.predicates.BasePredicate
      extended by org.smartfrog.sfcore.languages.sf.predicates.SchemaDescription
All Implemented Interfaces:
PhaseAction

public class SchemaDescription
extends BasePredicate
implements PhaseAction

Defines the basic schema description implementation.


Field Summary
 
Fields inherited from class org.smartfrog.sfcore.languages.sf.predicates.BasePredicate
component, context, keepPredicates, phaseName, stack
 
Constructor Summary
SchemaDescription()
           
 
Method Summary
protected  java.lang.String describeAttribute(java.lang.Object name, ComponentDescription predicate, ComponentDescription attributes)
          Describes the attributes of a schema.
protected  void doPredicate()
          Applies predicates.
 
Methods inherited from class org.smartfrog.sfcore.languages.sf.predicates.BasePredicate
doit, forComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.smartfrog.sfcore.languages.sf.PhaseAction
doit, forComponent
 

Constructor Detail

SchemaDescription

public SchemaDescription()
Method Detail

describeAttribute

protected java.lang.String describeAttribute(java.lang.Object name,
                                             ComponentDescription predicate,
                                             ComponentDescription attributes)
                                      throws SmartFrogCompileResolutionException
Describes the attributes of a schema.

Parameters:
name - the attribute name
predicate - component description
attributes - the attributes of component description
Returns:
attribute description
Throws:
SmartFrogCompileResolutionException - failed to describe attributes

doPredicate

protected void doPredicate()
                    throws SmartFrogCompileResolutionException
Applies predicates.

Specified by:
doPredicate in class BasePredicate
Throws:
SmartFrogCompileResolutionException - if error while applying predicates

SmartFrog CORE 3.10.000

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