org.jfor.jfor.converter
Class IgnoreChildrenNullBuilder

java.lang.Object
  extended byorg.jfor.jfor.converter.AbstractBuilder
      extended byorg.jfor.jfor.converter.NullBuilder
          extended byorg.jfor.jfor.converter.IgnoreChildrenNullBuilder
All Implemented Interfaces:
IBuilder

class IgnoreChildrenNullBuilder
extends NullBuilder

A NullBuilder that also causes child xsl:fo elements to be ignored.

Author:
Bertrand Delacretaz bdelacretaz@codeconsult.ch

Field Summary
 
Fields inherited from class org.jfor.jfor.converter.AbstractBuilder
m_context
 
Constructor Summary
(package private) IgnoreChildrenNullBuilder(BuilderContext ctx)
           
 
Method Summary
 void end()
          called by Converter at the end of an element
 IBuilder getBuilder(BuilderContext ctx, java.lang.String rawName, org.xml.sax.Attributes atts)
          return a NullBuilder according to the list of tagnames to ignore.
 boolean ignoreChildren()
          tell Converter to ignore xsl:fo children elements
 void start(java.lang.String rawName, org.xml.sax.Attributes atts)
          called by Converter at the start of an element
 
Methods inherited from class org.jfor.jfor.converter.AbstractBuilder
attributeIsSet, attributeIsSet, characters, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, postEnd, preStart, useForChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IgnoreChildrenNullBuilder

IgnoreChildrenNullBuilder(BuilderContext ctx)
Method Detail

ignoreChildren

public boolean ignoreChildren()
tell Converter to ignore xsl:fo children elements

Specified by:
ignoreChildren in interface IBuilder
Overrides:
ignoreChildren in class AbstractBuilder

start

public void start(java.lang.String rawName,
                  org.xml.sax.Attributes atts)
called by Converter at the start of an element


end

public void end()
called by Converter at the end of an element


getBuilder

public IBuilder getBuilder(BuilderContext ctx,
                           java.lang.String rawName,
                           org.xml.sax.Attributes atts)
return a NullBuilder according to the list of tagnames to ignore. For explicitely ignored tagnames, returns an IgnoreChildrenNullBuilder