org.umber.catalan.transform.xml
Class DirectiveStack.Pcdata

java.lang.Object
  extended byorg.umber.catalan.transform.xml.DirectiveStack.Directive
      extended byorg.umber.catalan.transform.xml.DirectiveStack.Pcdata
Enclosing class:
DirectiveStack

public static class DirectiveStack.Pcdata
extends DirectiveStack.Directive

A Directive to insert PCDATA content into the current element. The PCDATA content can be specified as a static value, or pulled dynamically from the input data stream.


Constructor Summary
DirectiveStack.Pcdata()
          Creates a new instance of Pcdata.
DirectiveStack.Pcdata(java.lang.String value)
          Creates a new instance of Pcdata.
 
Methods inherited from class org.umber.catalan.transform.xml.DirectiveStack.Directive
getValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectiveStack.Pcdata

public DirectiveStack.Pcdata()
Creates a new instance of Pcdata. Should convert the current node into a String value and use that for the content.


DirectiveStack.Pcdata

public DirectiveStack.Pcdata(java.lang.String value)
Creates a new instance of Pcdata. Should use the provided value as the static PCDATA content. Does not consume the current node.

Parameters:
value - the PCDATA content; if null, behaves like the default constructor