org.prorefactor.macrolevel
Class NamedMacroRef

java.lang.Object
  extended by org.prorefactor.macrolevel.MacroRef
      extended by org.prorefactor.macrolevel.NamedMacroRef
All Implemented Interfaces:
Xferable, java.io.Serializable, MacroEvent

public class NamedMacroRef
extends MacroRef

A reference to a macro argument, i.e. {1} or {&name}. Origin might be an include argument or an &DEFINE.

See Also:
Serialized Form

Field Summary
 MacroDef macroDef
           
 
Fields inherited from class org.prorefactor.macrolevel.MacroRef
macroEventList, parent, refColumn, refLine
 
Constructor Summary
NamedMacroRef()
          Only to be used for persistence/serialization.
 
Method Summary
 int getFileIndex()
           
 void writeXferBytes(DataXferStream out)
          Implement Xferable.
 void writeXferSchema(DataXferStream out)
          Implement Xferable.
 
Methods inherited from class org.prorefactor.macrolevel.MacroRef
findExternalMacroReferences, findExternalMacroReferences, findIncludeReferences, getListingFileLine, getParent, getPosition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

macroDef

public MacroDef macroDef
Constructor Detail

NamedMacroRef

public NamedMacroRef()
Only to be used for persistence/serialization.

Method Detail

getFileIndex

public int getFileIndex()
Specified by:
getFileIndex in class MacroRef

writeXferBytes

public void writeXferBytes(DataXferStream out)
                    throws java.io.IOException
Implement Xferable.

Specified by:
writeXferBytes in interface Xferable
Overrides:
writeXferBytes in class MacroRef
Throws:
java.io.IOException

writeXferSchema

public void writeXferSchema(DataXferStream out)
                     throws java.io.IOException
Implement Xferable.

Specified by:
writeXferSchema in interface Xferable
Overrides:
writeXferSchema in class MacroRef
Throws:
java.io.IOException


Copyright © 2008 Joanju Software. All Rights Reserved.