Class BaseVisitor<V extends Visitable<? extends BaseVisitor>>

java.lang.Object
eu.bandm.tools.tdom.runtime.BaseVisitor<V>
All Implemented Interfaces:
PCDataVisitor
Direct Known Subclasses:
eu.bandm.tools.d2d2.absy.Visitor, Visitor, eu.bandm.tools.formatfrontends.absy.Visitor, Visitor, eu.bandm.tools.metajava.tdom.Visitor, Visitor, Visitor, eu.bandm.tools.umod.absy.Visitor, eu.bandm.tools.xslt.tdom.Visitor

public class BaseVisitor<V extends Visitable<? extends BaseVisitor>> extends Object implements PCDataVisitor
  • Field Details

    • validating

      public boolean validating
      Decides strategy for attribute visiting.
      If set to true, then all attributes are visited which (a) had been assigned an explicit value when creating the document, or later by TypedAttribute.setValue(V), plus (b) all those which have a default value in the DTD (= not "#IMPLIED").
      If set to false, then only the attributes from case (a) are visited.
      FIXME NOT YET OPERATIVE
  • Constructor Details

    • BaseVisitor

      public BaseVisitor()
  • Method Details

    • visit

      public void visit(TypedPCData pcdata)
      To be overridden. This default implementation does nothing.
      Specified by:
      visit in interface PCDataVisitor
    • visit

      public void visit(TypedElement.UnmixedContent content)
      To be overridden. This default implementation unwraps its contents and descends to its contents, which is a sequence of TypedPCData.