public class GSAuthorityURLInfoEncoder extends XmlElement
final GSAuthorityURLInfoEncoder ae = new GSAuthorityURLInfoEncoder();
ae.setName("an authority");
ae.setHref("http://www.organization.org");
For this example, the XML output is:
<AuthorityURL>
<name>an authority</name>
<href>http://www.organization.org</href>
</AuthorityURL>
| Constructor and Description |
|---|
GSAuthorityURLInfoEncoder()
Constructs a new GSAuthorityURLInfoEncoder
|
GSAuthorityURLInfoEncoder(String name,
String href)
Constructs quickly an AuthorityURL info
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
delHref()
Deletes the href
|
protected boolean |
delMember(AuthorityURLInfo type)
Deletes an AuthorityURLInfo member
|
boolean |
delName()
Deletes the authority name
|
static org.jdom.filter.Filter |
getFilterByHref(String href)
Get a Filter using the AuthorityURLInfo href (authorityURL)
|
String |
getHref()
Get the href
|
protected String |
getMember(AuthorityURLInfo type)
Get the value of the AuthorityURLInfo member
|
String |
getName()
Get the name
|
void |
setHref(String href)
Set the href
|
protected void |
setMember(AuthorityURLInfo type,
String value)
Set an AuthorityURLInfo member (name, href)
|
void |
setName(String name)
Set the name
|
protected void |
setup(String name,
String href)
Set-up quickly an AuthorityURL info
|
public GSAuthorityURLInfoEncoder()
public static org.jdom.filter.Filter getFilterByHref(String href)
href - protected void setup(String name, String href)
name - href - protected void setMember(AuthorityURLInfo type, String value)
type - value - public void setName(String name)
name - public void setHref(String href)
href - protected boolean delMember(AuthorityURLInfo type)
type - public boolean delName()
public boolean delHref()
protected String getMember(AuthorityURLInfo type)
type - public String getName()
public String getHref()
Copyright © 2007–2016 PDOK. All rights reserved.