xacute.common
Interface NodeFactory

All Known Implementing Classes:
NodeFactoryDefaultImpl

public interface NodeFactory


Method Summary
 void clearDocumentCache()
           
 Node getDocumentRoot(java.lang.String uri)
          getting the root node of a given document
 java.lang.String getFactoryName()
           
 Node getInLineXMLRoot(java.lang.String xml)
          transforming a string that represents a piece of XML into a XML document, and returning its root node
 Node makeConstructedNode(java.lang.String name, org.xml.sax.AttributeList atts, java.util.Vector children)
           
 NodeList makeEmptyNodeList()
          NodeList constructors
 NodeList makeNodeList(Node n)
           
 NodeList makeNodeList(NodeList n)
           
 Node makeShallowNode(Node n)
           
 Node makeTextNode(java.lang.String text)
          Node constructors for nodes that do not belong to a document
 

Method Detail

getFactoryName

public java.lang.String getFactoryName()

clearDocumentCache

public void clearDocumentCache()

getInLineXMLRoot

public Node getInLineXMLRoot(java.lang.String xml)
                      throws QuiltException
transforming a string that represents a piece of XML into a XML document, and returning its root node

getDocumentRoot

public Node getDocumentRoot(java.lang.String uri)
                     throws java.lang.Exception
getting the root node of a given document

makeTextNode

public Node makeTextNode(java.lang.String text)
Node constructors for nodes that do not belong to a document

makeConstructedNode

public Node makeConstructedNode(java.lang.String name,
                                org.xml.sax.AttributeList atts,
                                java.util.Vector children)

makeShallowNode

public Node makeShallowNode(Node n)

makeEmptyNodeList

public NodeList makeEmptyNodeList()
NodeList constructors

makeNodeList

public NodeList makeNodeList(Node n)

makeNodeList

public NodeList makeNodeList(NodeList n)