java.lang.Object
org.jfor.jfor.converter.AbstractBuilder
org.jfor.jfor.converter.NullBuilder
- All Implemented Interfaces:
- IBuilder
- Direct Known Subclasses:
- IgnoreChildrenNullBuilder
- class NullBuilder
- extends AbstractBuilder
An IBuilder that builds nothing, meant to be used for xsl:fo elements that
must be ignored.
| Methods inherited from class org.jfor.jfor.converter.AbstractBuilder |
attributeIsSet, attributeIsSet, characters, getAttribute, getAttribute, getValue, getValue, hasAttributeValue, hasAttributeValue, ignoreChildren, postEnd, preStart, useForChildren |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_tagnames
private final java.util.Set m_tagnames
NullBuilder
NullBuilder(BuilderContext ctx,
java.util.Set tagnames)
- create a NullBuilder that applies to all given tagnames
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