Search in sources :

Example 1 with TransformedTreeTraitProvider

use of dr.evolution.tree.TransformedTreeTraitProvider in project beast-mcmc by beast-dev.

the class TransformedTreeTraitParser method parseXMLObject.

@Override
public Object parseXMLObject(XMLObject xo) throws XMLParseException {
    TreeTraitProvider treeTraits = (TreeTraitProvider) xo.getChild(TreeTraitProvider.class);
    Transform transform = (Transform) xo.getChild(Transform.class);
    return new TransformedTreeTraitProvider(treeTraits, transform);
}
Also used : TransformedTreeTraitProvider(dr.evolution.tree.TransformedTreeTraitProvider) TreeTraitProvider(dr.evolution.tree.TreeTraitProvider) Transform(dr.util.Transform) TransformedTreeTraitProvider(dr.evolution.tree.TransformedTreeTraitProvider)

Aggregations

TransformedTreeTraitProvider (dr.evolution.tree.TransformedTreeTraitProvider)1 TreeTraitProvider (dr.evolution.tree.TreeTraitProvider)1 Transform (dr.util.Transform)1