org.mmbase.util.xml.applicationdata
Class NodeReader

java.lang.Object
  extended by org.mmbase.util.xml.DocumentReader
      extended by org.mmbase.util.xml.applicationdata.NodeReader
Direct Known Subclasses:
RelationNodeReader

public class NodeReader
extends DocumentReader

This class reads a node from an exported application.

Version:
$Id: NodeReader.java 35997 2009-06-11 15:58:48Z michiel $
Author:
Daniel Ockeloen, Michiel Meeuwissen
Application:
Applications

Field Summary
 boolean loadBinaries
           
 
Fields inherited from class org.mmbase.util.xml.DocumentReader
document, DTD_ERROR, DTD_ERROR_1_0, FILENOTFOUND, PUBLIC_ID_ERROR, PUBLIC_ID_ERROR_1_0
 
Constructor Summary
NodeReader(InputSource is, ResourceLoader path)
           
 
Method Summary
 String getExportSource()
          get the name of this application
 List<MMObjectNode> getNodes(MMBase mmbase)
           
 int getTimeStamp()
          get the name of this application
 void loadBinaryFields(MMObjectNode newNode)
           
 void setLoadBinaries(boolean loadBinaries)
           
protected  void setValue(MMObjectBuilder bul, MMObjectNode newNode, Node n5, String key, String value)
           
 
Methods inherited from class org.mmbase.util.xml.DocumentReader
appendChild, getAttribute, getChildElements, getChildElements, getChildElements, getChildElements, getDocument, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getDocumentBuilder, getElementAttributeValue, getElementAttributeValue, getElementByPath, getElementByPath, getElementName, getElementValue, getElementValue, getNodeTextValue, getNodeTextValue, getRootElement, getSystemId, hasAttribute, main, registerPublicIDs, setNodeTextValue, setPrefix, setSystemId, toDocument, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

loadBinaries

public boolean loadBinaries
Constructor Detail

NodeReader

public NodeReader(InputSource is,
                  ResourceLoader path)
Since:
MMBase-1.8
Method Detail

getExportSource

public String getExportSource()
get the name of this application


getTimeStamp

public int getTimeStamp()
get the name of this application


getNodes

public List<MMObjectNode> getNodes(MMBase mmbase)

setValue

protected void setValue(MMObjectBuilder bul,
                        MMObjectNode newNode,
                        Node n5,
                        String key,
                        String value)

loadBinaryFields

public void loadBinaryFields(MMObjectNode newNode)

setLoadBinaries

public void setLoadBinaries(boolean loadBinaries)


MMBase 2.0-SNAPSHOT - null