org.jfor.jfor.converter
Class IgnoreChildrenNullBuilder
java.lang.Object
org.jfor.jfor.converter.AbstractBuilder
org.jfor.jfor.converter.NullBuilder
org.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
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 |
IgnoreChildrenNullBuilder
IgnoreChildrenNullBuilder(BuilderContext ctx)
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