|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object au.csiro.pidclient.business.AndsPidIdentity
public class AndsPidIdentity
Represents the identify information required when calling the ANDS Persistent Identifier service. Copyright 2010, CSIRO Australia All rights reserved.
Constructor Summary | |
---|---|
AndsPidIdentity()
|
|
AndsPidIdentity(String appId,
String identifier,
String authDomain)
Constructor |
Method Summary | |
---|---|
String |
escape(String in)
Escape reserved characters, assumes UTF-8 or UTF-16 as encoding. |
String |
getAppId()
|
String |
getAuthDomain()
|
String |
getIdentifier()
|
void |
setAppId(String appId)
|
void |
setAuthDomain(String authDomain)
|
void |
setIdentifier(String identifier)
|
String |
toString()
|
String |
toXML(String methodName)
Formats the identity information into a XML format that the ANDS Persistent Identifier service understands. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AndsPidIdentity()
public AndsPidIdentity(String appId, String identifier, String authDomain)
appId
- the unique Id provided to the caller upon IP registration with the ANDS Persistent Identifier service.identifier
- the identifier or name of the repository calling the service.authDomain
- the domain of the organisation calling the service.Method Detail |
---|
public String getAppId()
public void setAppId(String appId)
appId
- the appId to setpublic String getIdentifier()
public void setIdentifier(String identifier)
identifier
- the identifier to setpublic String getAuthDomain()
public void setAuthDomain(String authDomain)
authDomain
- the authDomain to setpublic String toXML(String methodName)
methodName
- the name of the method to be called using this identity information.
public String toString()
toString
in class Object
public String escape(String in)
in
- the String whose reserved characters we want to remove.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |