|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.geosolutions.geoserver.rest.encoder.utils.XmlElement
it.geosolutions.geoserver.rest.encoder.identifier.GSIdentifierInfoEncoder
public class GSIdentifierInfoEncoder
GSIdentifierInfoEncoder - encodes an Identifier for a given GeoServer layer as follows:
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 Summary | |
|---|---|
GSIdentifierInfoEncoder()
Constructs a new GSIdentifierInfoEncoder |
|
GSIdentifierInfoEncoder(String authority,
String identifier)
Constructs quickly an Identifier info |
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class it.geosolutions.geoserver.rest.encoder.utils.XmlElement |
|---|
add, add, addContent, getRoot, isEmpty, remove, set, set, setRoot, setRoot, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public GSIdentifierInfoEncoder()
public GSIdentifierInfoEncoder(String authority,
String identifier)
authority - (required)identifier - (required)| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||