dk.brics.xact
Class AttributeGap

java.lang.Object
  extended by dk.brics.xact.Node
      extended by dk.brics.xact.AttrNode
          extended by dk.brics.xact.AttributeGap

public class AttributeGap
extends AttrNode

Attribute gap node.


Constructor Summary
AttributeGap(String localname, String gap)
          Constructs a new attribute gap node with no namespace and no type.
AttributeGap(String localname, String gap, Origin origin)
          Constructs a new attribute gap node with no namespace and no type.
AttributeGap(String localname, String gap, String type)
          Constructs a new attribute gap node with no namespace.
AttributeGap(String localname, String gap, String type, Origin origin)
          Constructs a new attribute gap node with no namespace.
AttributeGap(String namespace, String localname, String gap, String type)
          Constructs a new attribute gap node.
AttributeGap(String namespace, String localname, String gap, String type, AttrNode nextattribute, Origin origin)
          Constructs a new attribute gap node.
AttributeGap(String namespace, String localname, String gap, String type, Origin origin)
          Constructs a new attribute gap node.
 
Method Summary
 AttributeGap copy(AttrNode nextattribute)
          Returns a copy of this attribute with the given successor.
 String getGap()
          Returns the gap name.
 String getType()
          Returns the gap type, or null if absent.
 String toString()
          Returns a description of this node.
(package private)  void visitAnyBy(AnyNodeVisitor v)
          Visits this node by the given any-node visitor.
(package private)  void visitNormalizedBy(NodeVisitor v)
          Visits this normalized node it by the given visitor.
(package private)
<R,A> R
visitNormalizedBy(NodeVisitorParameterized<R,A> v, A arg)
          Visits this normalized node it by the given visitor.
 
Methods inherited from class dk.brics.xact.AttrNode
getExpandedName, getLocalName, getNamespace, getNextAttr, getNextAttribute
 
Methods inherited from class dk.brics.xact.Node
asAttribute, asComment, asElement, asNamespaceDecl, asProcessingInstruction, asTemplate, asText, expanded, follow, follow, follow, follow, forward, getOrigin, isAttribute, isComment, isElement, isNamespaceDecl, isProcessingInstruction, isTemplate, isText, visitBy, visitBy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AttributeGap

public AttributeGap(String localname,
                    String gap)
Constructs a new attribute gap node with no namespace and no type.


AttributeGap

public AttributeGap(String localname,
                    String gap,
                    Origin origin)
Constructs a new attribute gap node with no namespace and no type.


AttributeGap

public AttributeGap(String localname,
                    String gap,
                    String type)
Constructs a new attribute gap node with no namespace.


AttributeGap

public AttributeGap(String localname,
                    String gap,
                    String type,
                    Origin origin)
Constructs a new attribute gap node with no namespace.


AttributeGap

public AttributeGap(String namespace,
                    String localname,
                    String gap,
                    String type)
Constructs a new attribute gap node.


AttributeGap

public AttributeGap(String namespace,
                    String localname,
                    String gap,
                    String type,
                    AttrNode nextattribute,
                    Origin origin)
Constructs a new attribute gap node.


AttributeGap

public AttributeGap(String namespace,
                    String localname,
                    String gap,
                    String type,
                    Origin origin)
Constructs a new attribute gap node.

Method Detail

copy

public AttributeGap copy(AttrNode nextattribute)
Description copied from class: AttrNode
Returns a copy of this attribute with the given successor.

Specified by:
copy in class AttrNode

getGap

public String getGap()
Returns the gap name.


getType

public String getType()
Returns the gap type, or null if absent.


toString

public String toString()
Description copied from class: Node
Returns a description of this node.

Specified by:
toString in class Node

visitAnyBy

void visitAnyBy(AnyNodeVisitor v)
Description copied from class: Node
Visits this node by the given any-node visitor.

Specified by:
visitAnyBy in class Node

visitNormalizedBy

void visitNormalizedBy(NodeVisitor v)
Description copied from class: Node
Visits this normalized node it by the given visitor.

Specified by:
visitNormalizedBy in class Node

visitNormalizedBy

<R,A> R visitNormalizedBy(NodeVisitorParameterized<R,A> v,
                          A arg)
Description copied from class: Node
Visits this normalized node it by the given visitor.

Specified by:
visitNormalizedBy in class Node


Copyright © 2005-2011 Aarhus University.