net.sf.joost.instruction
Class IncludeFactory
java.lang.Object
net.sf.joost.instruction.FactoryBase
net.sf.joost.instruction.IncludeFactory
- All Implemented Interfaces:
- Constants
public final class IncludeFactory
- extends FactoryBase
Factory for include
elements, which will be replaced by
groups for the included transformation sheet
- Version:
- $Revision: 2.14 $ $Date: 2008/06/15 08:11:23 $
- Author:
- Oliver Becker
Fields inherited from interface net.sf.joost.Constants |
DEBUG, DEFAULT_ENCODING, FEAT_NS, FEAT_NSPREFIX, FEATURE_URI_PREFIX, FUNC_NS, JOOST_EXT_NS, PR_ATTRIBUTES, PR_BUFFER, PR_CHILDREN, PR_CONTINUE, PR_ERROR, PR_SELF, PR_SIBLINGS, STX_NS |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attrNames
private HashSet attrNames
- allowed attributes for this element
IncludeFactory
public IncludeFactory()
getName
public String getName()
- Specified by:
getName
in class FactoryBase
- Returns:
"include"
createNode
public NodeBase createNode(NodeBase parent,
String qName,
Attributes attrs,
ParseContext pContext)
throws SAXException
- Returns an instance of
TransformFactory.Instance
- Specified by:
createNode
in class FactoryBase
- Parameters:
parent
- the parent NodeqName
- the full name of this nodeattrs
- the attribute set of this nodepContext
- the parse context
- Returns:
- an Instance of the appropriate Node
- Throws:
SAXParseException
- for missing or wrong attributes, etc.
SAXException