public static class ArtifactBean.Adapter extends XmlAdapter<ArtifactBean,Artifact>
Constructor and Description |
---|
Adapter() |
Modifier and Type | Method and Description |
---|---|
ArtifactBean |
marshal(Artifact artifact) |
Artifact |
unmarshal(ArtifactBean bean) |
public ArtifactBean marshal(Artifact artifact) throws Exception
marshal
in class XmlAdapter<ArtifactBean,Artifact>
Exception
public Artifact unmarshal(ArtifactBean bean) throws Exception
unmarshal
in class XmlAdapter<ArtifactBean,Artifact>
Exception
Copyright © 2012–2018 Red Hat, Inc.. All rights reserved.