org.openxri
Class AuthorityPath

java.lang.Object
  extended by org.openxri.Parsable
      extended by org.openxri.AuthorityPath
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
IRIAuthority, XRIAuthority

public abstract class AuthorityPath
extends Parsable

This class provides a base class for all types of AuthorityPath elements

Author:
=chetan

Method Summary
static AuthorityPath buildAuthorityPath(java.lang.String sPath)
          Static method to build the correct AuthorityPath object from a String
abstract  java.lang.String toIRINormalForm()
          Serializes the authority into IRI-normal form
abstract  java.lang.String toURINormalForm()
          Serializes the authority into URI-normal form
 
Methods inherited from class org.openxri.Parsable
compareTo, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

buildAuthorityPath

public static AuthorityPath buildAuthorityPath(java.lang.String sPath)
Static method to build the correct AuthorityPath object from a String


toIRINormalForm

public abstract java.lang.String toIRINormalForm()
Serializes the authority into IRI-normal form


toURINormalForm

public abstract java.lang.String toURINormalForm()
Serializes the authority into URI-normal form



Copyright © 2005-2012. All Rights Reserved.