org.jfor.jfor.converter
Class BasicLinkBuilder
java.lang.Object
org.jfor.jfor.converter.AbstractBuilder
org.jfor.jfor.converter.BasicLinkBuilder
- All Implemented Interfaces:
- IBuilder
public class BasicLinkBuilder
- extends AbstractBuilder
This class build process.
- Version:
- 1.0
{\field {\*\fldinst HYPERLINK "http://www.test.de" }{\fldrslt Joe Smith}}
- Author:
- Andreas Putz
Method Summary |
void |
characters(java.lang.String str)
Called by the parser for Text nodes. |
void |
end()
Called by Converter at the end of an element. |
IBuilder |
getBuilder(BuilderContext ctx,
java.lang.String rawName,
org.xml.sax.Attributes attr)
Return the appropriate builder for given element if we have one. |
void |
start(java.lang.String rawName,
org.xml.sax.Attributes attr)
Called by Converter at the start of an element. |
Methods inherited from class org.jfor.jfor.converter.AbstractBuilder |
attributeIsSet, attributeIsSet, 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 |
BasicLinkBuilder
public BasicLinkBuilder(BuilderContext ctx)
- Default constructor.
- Parameters:
ctx
- a BuilderContext
value
getBuilder
public IBuilder getBuilder(BuilderContext ctx,
java.lang.String rawName,
org.xml.sax.Attributes attr)
- Return the appropriate builder for given element if we have one.
- Parameters:
ctx
- a BuilderContext
valuerawName
- a String
valueattr
- an Attributes
value
- Returns:
- an
IBuilder
value
start
public void start(java.lang.String rawName,
org.xml.sax.Attributes attr)
throws java.io.IOException
- Called by Converter at the start of an element.
- Parameters:
rawName
- a String
valueattr
- an Attributes
value
- Throws:
java.io.IOException
- if an error occurs
characters
public void characters(java.lang.String str)
throws java.io.IOException
- Called by the parser for Text nodes.
- Specified by:
characters
in interface IBuilder
- Overrides:
characters
in class AbstractBuilder
- Parameters:
str
- Character string
- Throws:
java.io.IOException
- throwes on error
end
public void end()
throws java.io.IOException
- Called by Converter at the end of an element.
- Throws:
java.io.IOException
- if an error occurs