org.semanticweb.HermiT.hierarchy
Class HierarchyPrinterFSS.RolePrinter

java.lang.Object
  extended by org.semanticweb.HermiT.hierarchy.HierarchyPrinterFSS.RolePrinter
All Implemented Interfaces:
Hierarchy.HierarchyNodeVisitor<Role>
Enclosing class:
HierarchyPrinterFSS

protected class HierarchyPrinterFSS.RolePrinter
extends java.lang.Object
implements Hierarchy.HierarchyNodeVisitor<Role>


Field Summary
protected  Hierarchy<Role> m_hierarchy
           
protected  boolean m_objectProperties
           
 
Constructor Summary
HierarchyPrinterFSS.RolePrinter(Hierarchy<Role> hierarchy, boolean objectProperties)
           
 
Method Summary
protected  boolean needsDeclaration(Role role)
           
protected  void print(AtomicRole atomicRole)
           
protected  void print(Role role)
           
 void printNode(int level, HierarchyNode<Role> node, HierarchyNode<Role> parentNode, boolean firstVisit)
           
 boolean redirect(HierarchyNode<Role>[] nodes)
           
 void visit(int level, HierarchyNode<Role> node, HierarchyNode<Role> parentNode, boolean firstVisit)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_hierarchy

protected final Hierarchy<Role> m_hierarchy

m_objectProperties

protected final boolean m_objectProperties
Constructor Detail

HierarchyPrinterFSS.RolePrinter

public HierarchyPrinterFSS.RolePrinter(Hierarchy<Role> hierarchy,
                                       boolean objectProperties)
Method Detail

redirect

public boolean redirect(HierarchyNode<Role>[] nodes)
Specified by:
redirect in interface Hierarchy.HierarchyNodeVisitor<Role>

visit

public void visit(int level,
                  HierarchyNode<Role> node,
                  HierarchyNode<Role> parentNode,
                  boolean firstVisit)
Specified by:
visit in interface Hierarchy.HierarchyNodeVisitor<Role>

printNode

public void printNode(int level,
                      HierarchyNode<Role> node,
                      HierarchyNode<Role> parentNode,
                      boolean firstVisit)

print

protected void print(Role role)

print

protected void print(AtomicRole atomicRole)

needsDeclaration

protected boolean needsDeclaration(Role role)