dk.brics.xact.analysis.flowgraph
Class TemplateConstant

java.lang.Object
  extended by dk.brics.xact.analysis.flowgraph.Entity
      extended by dk.brics.xact.analysis.flowgraph.TemplateConstant

public class TemplateConstant
extends Entity

XML template constant.


Constructor Summary
TemplateConstant(String template, Map<String,String> namespaces, Origin origin)
          Constructs a new template constant.
 
Method Summary
 XMLGraphFragment getFragment()
           
 Map<String,String> getNamespaces()
          Returns the namespace map.
 String getTemplate()
          Returns the template constant string.
 XML getXML()
           
 void setFragment(XMLGraphFragment fragment)
           
 void setXML(XML xml)
           
 String toString()
          Returns a textual representation of the node.
 
Methods inherited from class dk.brics.xact.analysis.flowgraph.Entity
getOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateConstant

public TemplateConstant(String template,
                        Map<String,String> namespaces,
                        Origin origin)
Constructs a new template constant.

Method Detail

getFragment

public XMLGraphFragment getFragment()

getNamespaces

public Map<String,String> getNamespaces()
Returns the namespace map.


getTemplate

public String getTemplate()
Returns the template constant string.


getXML

public XML getXML()

setFragment

public void setFragment(XMLGraphFragment fragment)

setXML

public void setXML(XML xml)

toString

public String toString()
Description copied from class: Entity
Returns a textual representation of the node. Includes the origin.

Overrides:
toString in class Entity


Copyright © 2005-2011 Aarhus University.