|
From: <pe...@us...> - 2003-10-01 17:05:44
|
Update of /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders
In directory sc8-pr-cvs1:/tmp/cvs-serv25143/src/java/org/neuclear/id/builders
Modified Files:
NamedObjectBuilder.java
Log Message:
Moved the NeuClearCertificate class to be an inner class of Identity.
Index: NamedObjectBuilder.java
===================================================================
RCS file: /cvsroot/neuclear/neuclear-id/src/java/org/neuclear/id/builders/NamedObjectBuilder.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** NamedObjectBuilder.java 27 Sep 2003 19:23:11 -0000 1.1
--- NamedObjectBuilder.java 1 Oct 2003 17:05:37 -0000 1.2
***************
*** 2,5 ****
--- 2,8 ----
* $Id$
* $Log$
+ * Revision 1.2 2003/10/01 17:05:37 pelle
+ * Moved the NeuClearCertificate class to be an inner class of Identity.
+ *
* Revision 1.1 2003/09/27 19:23:11 pelle
* Added Builders to create named objects from scratch.
***************
*** 169,174 ****
* @return String containing the fully qualified URI of an object
*/
! public String getName() throws NeudistException{
! return NSTools.normalizeNameURI(getElement().attributeValue(getNameAttrQName()));
}
--- 172,181 ----
* @return String containing the fully qualified URI of an object
*/
! public String getName() {
! try {
! return NSTools.normalizeNameURI(getElement().attributeValue(getNameAttrQName()));
! } catch (NeudistException e) {
! return "Unknown";
! }
}
***************
*** 177,181 ****
* @return Parent Name
*/
! public String getLocalName() throws NeudistException{
String fullName=getName();
int i=fullName.lastIndexOf('/');
--- 184,188 ----
* @return Parent Name
*/
! public String getLocalName() {
String fullName=getName();
int i=fullName.lastIndexOf('/');
***************
*** 201,210 ****
*/
public final String getURI() throws XMLSecurityException {
! try {
! return getName();
! } catch (NeudistException e) {
! XMLSecTools.rethrowException(e); //To change body of catch statement use Options | File Templates.
! }
! return null;
}
--- 208,212 ----
*/
public final String getURI() throws XMLSecurityException {
! return getName();
}
|