Class XMLNode

java.lang.Object
org.eclnt.jsfserver.elements.XMLNode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
XMLNodeContainingXML

public class XMLNode extends Object implements Serializable
During the rendering processing the rendering is output into XMLNodes (using writer_* methods). Background this tree then can better optimize e.g. by identifying areas where nothing has changed at all.
See Also:
  • Constructor Details

    • XMLNode

      public XMLNode(String name)
    • XMLNode

      public XMLNode(String name, boolean isNewNode, XMLNode parent)
  • Method Details

    • getChildren

      public List<XMLNode> getChildren()
    • getName

      public String getName()
    • getAttributeValue

      public String getAttributeValue(String attributeName)
    • addAttributeValue

      public void addAttributeValue(String attributeName, String attributeValue)
    • addText

      public void addText(String text)
    • writeSubNodesToWriter

      public void writeSubNodesToWriter(Writer writer) throws IOException
      Throws:
      IOException
    • writeToWriter

      public void writeToWriter(Writer writer) throws IOException
      Throws:
      IOException
    • markAsChanged

      public void markAsChanged(boolean fromParentOn)