NodeFactory

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);
    
}

Previous | Next | Top | Cafe con Leche

Copyright 2004 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified February 5, 2004