public class GSIdentifierInfoEncoder extends XmlElement
final GSIdentifierInfoEncoder ie = new GSIdentifierInfoEncoder();
ie.setAuthority("an authority");
ie.setIdentifier("an identifier");
For this example, the XML output is:
<Identifier>
<authority>an authority</authority>
<identifier>an identifier</identifier>
</Identifier>
| Constructor and Description |
|---|
GSIdentifierInfoEncoder()
Constructs a new GSIdentifierInfoEncoder
|
GSIdentifierInfoEncoder(String authority,
String identifier)
Constructs quickly an Identifier info
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delAuthority()
Deletes the authority
|
boolean |
delIdentifier()
Deletes the identifier
|
protected boolean |
delMember(IdentifierInfo type)
Deletes an IdentifierInfo member
|
String |
getAuthority()
Get the authority
|
static org.jdom.filter.Filter |
getFilterByHref(String authority)
Get a Filter using the IdentifierInfo authority
|
String |
getIdentifier()
Get the identifier
|
protected String |
getMember(IdentifierInfo type)
Get the value of the IdentifierInfo member
|
void |
setAuthority(String authority)
Set the authority
|
void |
setIdentifier(String identifier)
Set the identifier
|
protected void |
setMember(IdentifierInfo type,
String value)
Set an IdentifierInfo member (authority, identifier)
|
protected void |
setup(String authority,
String identifier)
Set-up quickly an Identifier info
|
public GSIdentifierInfoEncoder()
public static org.jdom.filter.Filter getFilterByHref(String authority)
authority - protected void setup(String authority, String identifier)
authority - identifier - protected void setMember(IdentifierInfo type, String value)
type - value - public void setAuthority(String authority)
authority - public void setIdentifier(String identifier)
identifier - protected boolean delMember(IdentifierInfo type)
type - public boolean delAuthority()
public boolean delIdentifier()
protected String getMember(IdentifierInfo type)
type - public String getAuthority()
public String getIdentifier()
Copyright © 2007–2016 PDOK. All rights reserved.