private void ingestAttribute(Attribute a, BaseType bt) throws DASException {
    """
	A helper methods for ingestDAS().
	
	@param a
	@param bt
	@throws DASException
	@see #ingestDAS(DAS)
	@see #ingestAttribute(Attribute, BaseType)
	@see #ingestAttributeTable(AttributeTable, BaseType)
	@see #ingestAttributeTable(AttributeTable, DConstructor)
    """


        if (a.isAlias()) { // copy an alias.
            String name = a.getEncodedName();
            String attribute = ((Alias) a).getAliasedToAttributeFieldAsClearString();

            bt.addAttributeAlias(name, attribute);

        } else if (a.isContainer()) {
            AttributeTable at = a.getContainer();
            ingestAttributeTable(at, bt);


        } else { // copy an Attribute and it's values...

            String name = a.getEncodedName();
            int type = a.getType();

            Enumeration vals = a.getValues();
            while (vals.hasMoreElements()) {
                String value = (String) vals.nextElement();
                bt.appendAttribute(name, type, value, true);
            }

        }

    }
private void ingestAttribute(Attribute a, BaseType bt) throws DASException
    {


        if (a.isAlias()) { // copy an alias.
            String name = a.getEncodedName();
            String attribute = ((Alias) a).getAliasedToAttributeFieldAsClearString();

            bt.addAttributeAlias(name, attribute);

        } else if (a.isContainer()) {
            AttributeTable at = a.getContainer();
            ingestAttributeTable(at, bt);


        } else { // copy an Attribute and it's values...

            String name = a.getEncodedName();
            int type = a.getType();

            Enumeration vals = a.getValues();
            while (vals.hasMoreElements()) {
                String value = (String) vals.nextElement();
                bt.appendAttribute(name, type, value, true);
            }

        }

    }
private void ingestAttribute ( Attribute a , BaseType bt ) throws DASException { if ( a . isAlias ( ) ) { // copy an alias. String name = a . getEncodedName ( ) ; String attribute = ( ( Alias ) a ) . getAliasedToAttributeFieldAsClearString ( ) ; bt . addAttributeAlias ( name , attribute ) ; } else if ( a . isContainer ( ) ) { AttributeTable at = a . getContainer ( ) ; ingestAttributeTable ( at , bt ) ; } else { // copy an Attribute and it's values... String name = a . getEncodedName ( ) ; int type = a . getType ( ) ; Enumeration vals = a . getValues ( ) ; while ( vals . hasMoreElements ( ) ) { String value = ( String ) vals . nextElement ( ) ; bt . appendAttribute ( name , type , value , true ) ; } } }
A helper methods for ingestDAS().

@param a
@param bt
@throws DASException
@see #ingestDAS(DAS)
@see #ingestAttribute(Attribute, BaseType)
@see #ingestAttributeTable(AttributeTable, BaseType)
@see #ingestAttributeTable(AttributeTable, DConstructor)
A helper methods for ingestDAS () .