org.jaffa.tools.common
Class SourceDecomposer.GuardedBlock

java.lang.Object
  extended byorg.jaffa.tools.common.SourceDecomposer.GuardedBlock
Enclosing class:
SourceDecomposer

public static class SourceDecomposer.GuardedBlock
extends Object

For the input file, a GuardedBlock object will represent text, which cannot be modified in the NetBeans editor.


Constructor Summary
SourceDecomposer.GuardedBlock(String key, String contents)
          Creates an instance.
 
Method Summary
 String getContents()
          Returns the contents.
 String getKey()
          Returns the key.
 void setContents(String contents)
          Sets the contents.
 String toString()
          Returns debug info.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceDecomposer.GuardedBlock

public SourceDecomposer.GuardedBlock(String key,
                                     String contents)
Creates an instance.

Parameters:
key - The key which indentifies this guarded block of text.
contents - The contents of the guarded block.
Method Detail

getKey

public String getKey()
Returns the key.

Returns:
the key.

getContents

public String getContents()
Returns the contents.

Returns:
the contents.

setContents

public void setContents(String contents)
Sets the contents.

Parameters:
contents - the contents.

toString

public String toString()
Returns debug info.

Returns:
debug info.


Copyright © 2002-2004 JAFFA Project.