Can change classes of nodes
Can change node types
Can change node numbers
Can filter
Can process arbitrarily large documents
Can process in a stream
package nu.xom; public class NodeFactory { public Element makeRootElement(String name, String namespace); public Element startMakingElement(String name, String namespace); public Nodes finishMakingElement(Element element); public Document startMakingDocument(); public void finishMakingDocument(Document document); public Nodes makeAttribute(String name, String URI, String value, Attribute.Type type); public Nodes makeComment(String data); public Nodes makeDocType(String rootElementName, String publicID, String systemID); public Nodes makeText(String data); public Nodes makeProcessingInstruction(String target, String data); }