org.wurbelizer
Class SourcePropertySubElement

java.lang.Object
  extended by org.wurbelizer.SourceSubElement
      extended by org.wurbelizer.SourcePropertySubElement

public class SourcePropertySubElement
extends SourceSubElement

Property-Document: all text in between @{ and @} within a comment block. Property documents are unnamed.


Constructor Summary
SourcePropertySubElement(SourceElement element, String text)
          Creates a property document.
 
Method Summary
 void scanTo(Properties props)
          Scan for properties and append them to given property list.
 
Methods inherited from class org.wurbelizer.SourceSubElement
getElement, getName, getText, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourcePropertySubElement

public SourcePropertySubElement(SourceElement element,
                                String text)
Creates a property document.

Parameters:
element - the element containing the property document
text - the contents of the property document
Method Detail

scanTo

public void scanTo(Properties props)
Scan for properties and append them to given property list.

Parameters:
props - the properties to add the contents of this sub element to


Copyright © 2001-2008 Harald Krake, Bergstr. 48, 78098 Triberg, Germany, harald@krake.de