Class IvmlDatatypeVisitor

  • All Implemented Interfaces:
    IDatatypeVisitor

    public class IvmlDatatypeVisitor
    extends DatatypeVisitor
    Implements a default datatype visitor for IVML.
    Author:
    Holger Eichelberger
    • Constructor Detail

      • IvmlDatatypeVisitor

        IvmlDatatypeVisitor()
        Constructs a default visitor.
    • Method Detail

      • release

        public static final void release​(IvmlDatatypeVisitor visitor)
        Releases (and clears) a given visitor.
        Parameters:
        visitor - the visitor being released
      • getType

        public static final java.lang.String getType​(IDatatype type,
                                                     QualifiedNameMode mode)
        Returns the textual representation of the given type using an instance of this class. (convenience)
        Parameters:
        type - the type to be represented
        mode - the name mode
        Returns:
        the textual representation
      • getUniqueType

        public static final java.lang.String getUniqueType​(IDatatype type)
        Returns the textual representation of the given type based on the unique name using an instance of this class. (convenience)
        Parameters:
        type - the type to be represented
        Returns:
        the textual representation
      • getQualifiedType

        public static final java.lang.String getQualifiedType​(IDatatype type)
        Returns the textual representation of the given type based on the qualified name using an instance of this class. (convenience)
        Parameters:
        type - the type to be represented
        Returns:
        the textual representation
      • getUnqualifiedType

        public static final java.lang.String getUnqualifiedType​(IDatatype type)
        Returns the textual representation of the given type based on the unqualified name using an instance of this class. (convenience)
        Parameters:
        type - the type to be represented
        Returns:
        the textual representation