textbender.a.u.transfer.clipboard
Class Replacer
java.lang.Object
Replacer
public final class Replacer
- extends Object
A clip-gene replacer.
Method Summary |
void |
replaceRecursively(Node node)
Transforms a node into a proper gene, if it is a clip gene;
and likewise transforms all of its descendants. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Replacer
public Replacer(Element gg,
List<Element> gList,
StringBuilder b,
DOMImplementationLS domLS,
MutantAbstractor mutantAbstractor,
LSParser parser,
TransformerFactory transformerFactory,
UUIDStringifier uuidStringifier)
throws IOException,
TransformerConfigurationException
- Creates a Replacer for a document.
- Parameters:
gg
- the 'g' list ('gg') element of the documentgList
- live list of gene meta-data ('g') elements in 'gg'
(e.g. backed by a NodeList)domLS
- DOM implementation to usemutantAbstractor
- to useparser
- to useb
- string builder to use, overwriting its existing contenttransformerFactory
- to useuuidStringifier
- UUID stringifier to use
- Throws:
IOException
TransformerConfigurationException
replaceRecursively
public void replaceRecursively(Node node)
throws TransformerException
- Transforms a node into a proper gene, if it is a clip gene;
and likewise transforms all of its descendants.
- Throws:
TransformerException