opendap/src/main/java/opendap/dap/parsers/Dap2Parse.java
String
    extractname(Object o)
            throws ParseException
    {
        if(o instanceof BaseType)
            return ((BaseType) o).getClearName();
        if(o instanceof Attribute)
            return ((Attribute) o).getClearName();
        if(o instanceof AttributeTable)
            return ((AttributeTable) o).getClearName();
        throw new ParseException("extractname: illegal object class: " + o);
    }
String
    extractname(Object o)
            throws ParseException
    {
        if(o instanceof BaseType)
            return ((BaseType) o).getClearName();
        if(o instanceof Attribute)
            return ((Attribute) o).getClearName();
        if(o instanceof AttributeTable)
            return ((AttributeTable) o).getClearName();
        throw new ParseException("extractname: illegal object class: " + o);
    }
String extractname ( Object o ) throws ParseException { if ( o instanceof BaseType ) return ( ( BaseType ) o ) . getClearName ( ) ; if ( o instanceof Attribute ) return ( ( Attribute ) o ) . getClearName ( ) ; if ( o instanceof AttributeTable ) return ( ( AttributeTable ) o ) . getClearName ( ) ; throw new ParseException ( "extractname: illegal object class: " + o ) ; }
/* Since there is no common parent class for BaseType, Attribute,
and AttributeTable, provide a type specific name getter.
/ * Since there is no common parent class for BaseType Attribute and AttributeTable provide a type specific name getter .