tinytl
Class JDOM2TTLParser

java.lang.Object
  extended by tinytl.JDOM2TTLParser

public class JDOM2TTLParser
extends java.lang.Object

Author:
puginca

Field Summary
private  org.jdom.Document doc
           
 
Constructor Summary
JDOM2TTLParser(org.jdom.Document doc)
          Creates a new instance of JDOM2TTLParser
 
Method Summary
 TTLProgram constructAbstractTree()
          Creates the Abstract Tree
private  TTLApplication constructApplication(org.jdom.Element element)
           
private  java.util.ArrayList<TTLAttrNode> constructAttrNodes(java.util.List attributes)
           
private  TTLCopy constructCopy(org.jdom.Element element)
           
private  TTLDirection constructDirection(java.lang.String attributeValue)
           
private  java.util.ArrayList<TTLIdentifier> constructElmtList(java.lang.String attributeValue)
           
private  TTLElmtNode constructElmtNode(org.jdom.Element elt)
           
private  TTLIdentifier constructIdentifier(java.lang.String name)
           
private  java.util.ArrayList<TTLItem> constructItems(java.util.List list)
           
private  TTLNodeExpr constructNodeExpr(java.lang.String attributeValue)
           
private  java.util.ArrayList<TTLPattern> constructPatts(java.util.List patterns)
           
private  java.util.ArrayList<TTLNodeRule> constructRules(java.util.List content)
           
private  TTLSelection constructSelection(java.util.List content)
           
private  TTLStringExpr constructStringExpr(java.lang.String string)
           
private  TTLTemplate constructTemplate(java.util.List list)
           
private  TTLTextNode constructTextNode(org.jdom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

doc

private org.jdom.Document doc
Constructor Detail

JDOM2TTLParser

public JDOM2TTLParser(org.jdom.Document doc)
Creates a new instance of JDOM2TTLParser

Method Detail

constructAbstractTree

public TTLProgram constructAbstractTree()
Creates the Abstract Tree


constructTemplate

private TTLTemplate constructTemplate(java.util.List list)

constructItems

private java.util.ArrayList<TTLItem> constructItems(java.util.List list)

constructApplication

private TTLApplication constructApplication(org.jdom.Element element)

constructSelection

private TTLSelection constructSelection(java.util.List content)

constructNodeExpr

private TTLNodeExpr constructNodeExpr(java.lang.String attributeValue)

constructElmtList

private java.util.ArrayList<TTLIdentifier> constructElmtList(java.lang.String attributeValue)

constructDirection

private TTLDirection constructDirection(java.lang.String attributeValue)

constructCopy

private TTLCopy constructCopy(org.jdom.Element element)

constructTextNode

private TTLTextNode constructTextNode(org.jdom.Element element)

constructStringExpr

private TTLStringExpr constructStringExpr(java.lang.String string)

constructElmtNode

private TTLElmtNode constructElmtNode(org.jdom.Element elt)

constructIdentifier

private TTLIdentifier constructIdentifier(java.lang.String name)

constructAttrNodes

private java.util.ArrayList<TTLAttrNode> constructAttrNodes(java.util.List attributes)

constructPatts

private java.util.ArrayList<TTLPattern> constructPatts(java.util.List patterns)

constructRules

private java.util.ArrayList<TTLNodeRule> constructRules(java.util.List content)