是一个用java实现的
源代码在线查看: atomtag.java
/*
* AtomTag.java
*
* Created on September 24, 2002, 11:02 AM
*/
package gov.nist.applet.phone.ua.pidf.parser;
/**
*
* @author deruelle
* @version 1.0
*/
public class AtomTag {
private AddressTag addressTag;
private String id;
/** Creates new AtomTag */
public AtomTag() {
addressTag=null;
}
public void setAddressTag(AddressTag addressTag) {
this.addressTag=addressTag;
}
public AddressTag getAddressTag() {
return addressTag;
}
public void setId(String id) {
this.id=id;
}
public String getId() {
return id;
}
public String toString() {
String result="\n";
result+=addressTag.toString();
result+="\n";
return result;
}
}