net.sf.joost.instruction
Class NSAliasFactory.Instance

java.lang.Object
  extended by net.sf.joost.instruction.AbstractInstruction
      extended by net.sf.joost.instruction.NodeBase
          extended by net.sf.joost.instruction.NSAliasFactory.Instance
All Implemented Interfaces:
Cloneable, Constants
Enclosing class:
NSAliasFactory

public final class NSAliasFactory.Instance
extends NodeBase

Represents an instance of the namespace-alias element.

It has no real functionality of its own; it is only needed to simplify the parsing process of the transformation sheet.


Nested Class Summary
 
Nested classes/interfaces inherited from class net.sf.joost.instruction.NodeBase
NodeBase.End
 
Field Summary
 
Fields inherited from class net.sf.joost.instruction.NodeBase
lastChild, localFieldStack, nodeEnd, parent, preserveSpace, publicId, qName, scopedVariables, systemId
 
Fields inherited from class net.sf.joost.instruction.AbstractInstruction
colNo, lineNo, next
 
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
 
Constructor Summary
protected NSAliasFactory.Instance(String qName, NodeBase parent, ParseContext context)
           
 
Method Summary
 short process(Context c)
          Save local variables if needed.
 boolean processable()
           
 
Methods inherited from class net.sf.joost.instruction.NodeBase
compile, declareVariable, getNode, getNodeEnd, insert, mayDropEnd, onDeepCopy, processEnd, setEndLocation, toString
 
Methods inherited from class net.sf.joost.instruction.AbstractInstruction
deepCopy, deepHashtableCopy, deepTemplateArrayCopy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NSAliasFactory.Instance

protected NSAliasFactory.Instance(String qName,
                                  NodeBase parent,
                                  ParseContext context)
Method Detail

processable

public boolean processable()
Overrides:
processable in class NodeBase
Returns:
true if NodeBase.process(net.sf.joost.stx.Context) can be invoked on this node, and false otherwise

process

public short process(Context c)
              throws SAXException
Description copied from class: NodeBase
Save local variables if needed.

Overrides:
process in class NodeBase
Parameters:
c - the current context
Returns:
Constants.PR_CONTINUE
Throws:
SAXException - if an error occurs (in a derived class)