|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.xsl.process.AttributeSet
Class implementing xsl:attribute-set functionality
Constructor Summary | |
AttributeSet(ExpandedQName name,
Collection attributeSetNames,
Template[] attributes,
int importance,
Node nsContext)
Construct an AttributeSet instance |
Method Summary | |
void |
dump(PrintWriter out,
int indent)
Dumps this object to the specified output stream. |
ExpandedQName |
getName()
Return the expanded name of this attribute set |
Node |
getNamespaceContext()
Return the node that is the namespace context for this template |
void |
instantiate(ProcessingEnv env,
Node currentNode,
ResultHandler result)
Instantiates this template for the specified current node and sends the result to the specified result handler. |
void |
merge(AttributeSet otherSet)
Merge this attribute set with the passed attribute set. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public AttributeSet(ExpandedQName name, Collection attributeSetNames, Template[] attributes, int importance, Node nsContext)
AttributeSet
instance
name
- The expanded name of the attribute setattributeSetNames
- Other attribute sets to use in building the total collection of attributes (may be null)attributes
- The AttributeTemplate
objects that were constructed from the content of the
xsl:attribute-set elementimportance
- The import precedence of the xsl:attribute-set
elementnsContext
- The namespace context nodeMethod Detail |
public ExpandedQName getName()
public void merge(AttributeSet otherSet) throws XSLException
otherSet
with the same name but higher import precedence will replace
definitions in this set.
otherSet
- The other AttributeSet
instance with which to merge
XSLException
public void instantiate(ProcessingEnv env, Node currentNode, ResultHandler result) throws XSLException
instantiate
in interface Template
env
- the current processing environmentcurrentNode
- the current source noderesult
- the handler to which results are sent
XSLException
- if a fatal error occurs during instantiationpublic Node getNamespaceContext()
getNamespaceContext
in interface Template
public void dump(PrintWriter out, int indent)
dump
in interface Template
out
- the output stream to write toindent
- number of tabs to indent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |