com.xmlcalabash.library
Class NamespaceRename

java.lang.Object
  extended by com.xmlcalabash.library.DefaultStep
      extended by com.xmlcalabash.library.NamespaceRename
All Implemented Interfaces:
XProcRunnable, XProcStep, ProcessMatchingNodes

public class NamespaceRename
extends DefaultStep
implements ProcessMatchingNodes

Author:
ndw

Field Summary
 
Fields inherited from class com.xmlcalabash.library.DefaultStep
_byte_order_mark, _cdata_section_elements, _doctype_public, _doctype_system, _encoding, _escape_uri_attributes, _include_content_type, _indent, _media_type, _method, _normalization_form, _omit_xml_declaration, _standalone, _undeclare_prefixes, _version, logger, runtime, step
 
Constructor Summary
NamespaceRename(XProcRuntime runtime, XAtomicStep step)
          Creates a new instance of NamespaceRename
 
Method Summary
 void processAttribute(net.sf.saxon.s9api.XdmNode node)
           
 void processComment(net.sf.saxon.s9api.XdmNode node)
           
 void processEndDocument(net.sf.saxon.s9api.XdmNode node)
           
 void processEndElement(net.sf.saxon.s9api.XdmNode node)
           
 void processPI(net.sf.saxon.s9api.XdmNode node)
           
 boolean processStartDocument(net.sf.saxon.s9api.XdmNode node)
           
 boolean processStartElement(net.sf.saxon.s9api.XdmNode node)
           
 void processText(net.sf.saxon.s9api.XdmNode node)
           
 void reset()
           
 void run()
           
 void setInput(java.lang.String port, ReadablePipe pipe)
           
 void setOutput(java.lang.String port, WritablePipe pipe)
           
 
Methods inherited from class com.xmlcalabash.library.DefaultStep
error, evaluateXPath, fine, finer, finest, getOption, getOption, getOption, getOption, getOption, getStep, info, makeSerializer, setOption, setParameter, setParameter, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamespaceRename

public NamespaceRename(XProcRuntime runtime,
                       XAtomicStep step)
Creates a new instance of NamespaceRename

Method Detail

setInput

public void setInput(java.lang.String port,
                     ReadablePipe pipe)
Specified by:
setInput in interface XProcStep
Overrides:
setInput in class DefaultStep

setOutput

public void setOutput(java.lang.String port,
                      WritablePipe pipe)
Specified by:
setOutput in interface XProcStep
Overrides:
setOutput in class DefaultStep

reset

public void reset()
Specified by:
reset in interface XProcRunnable
Overrides:
reset in class DefaultStep

run

public void run()
         throws net.sf.saxon.s9api.SaxonApiException
Specified by:
run in interface XProcRunnable
Overrides:
run in class DefaultStep
Throws:
net.sf.saxon.s9api.SaxonApiException

processStartDocument

public boolean processStartDocument(net.sf.saxon.s9api.XdmNode node)
                             throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processStartDocument in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processEndDocument

public void processEndDocument(net.sf.saxon.s9api.XdmNode node)
                        throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processEndDocument in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processStartElement

public boolean processStartElement(net.sf.saxon.s9api.XdmNode node)
                            throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processStartElement in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processEndElement

public void processEndElement(net.sf.saxon.s9api.XdmNode node)
                       throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processEndElement in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processText

public void processText(net.sf.saxon.s9api.XdmNode node)
                 throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processText in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processComment

public void processComment(net.sf.saxon.s9api.XdmNode node)
                    throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processComment in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processPI

public void processPI(net.sf.saxon.s9api.XdmNode node)
               throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processPI in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException

processAttribute

public void processAttribute(net.sf.saxon.s9api.XdmNode node)
                      throws net.sf.saxon.s9api.SaxonApiException
Specified by:
processAttribute in interface ProcessMatchingNodes
Throws:
net.sf.saxon.s9api.SaxonApiException