dap4/d4core/src/main/java/dap4/core/dmr/DMRFactory.java
public DapAttribute
    newAttribute(String name, DapType basetype)
    {
        DapAttribute node = new DapAttribute(name, basetype);
        return node;
    }
public DapAttribute
    newAttribute(String name, DapType basetype)
    {
        DapAttribute node = new DapAttribute(name, basetype);
        return node;
    }
DMRFactory API