Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openxri
Class IRIAuthority

    java.lang.Object
      org.openxri.Parsable
          org.openxri.AuthorityPath
              org.openxri.IRIAuthority

All Implemented Interfaces:
  java.lang.Comparable

    public class IRIAuthority

extends AuthorityPath

This class provides a strong typing for a IRI Authority. Any object of this class that appears outside of the package is a valid IRI Authority. It currently only accepts IRI Authorities that serve as IP Addresses or appear to be valid host names

Author:
  =chetan

Constructor Summary
`IRIAuthority(java.lang.String sPath)`

Method Summary
`java.lang.String` | `getIHost()` Returns the host portion of the IRI Authority
`java.lang.String` | `getIUserInfo()` Returns the userinfo portion of the IRI Authority
`int` | `getPort()` Returns the port portion of the IRI Authority
`java.lang.String` | `toIRINormalForm()` Serialzes the IRIAuthority into IRI normal from
`java.lang.String` | `toURINormalForm()` Serialzes the IRIAuthority into URI normal from

Methods inherited from class org.openxri.AuthorityPath
`buildAuthorityPath`

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`

Constructor Detail

### IRIAuthority

    public IRIAuthority(java.lang.String sPath)

Method Detail

### getIUserInfo

    public java.lang.String getIUserInfo()

  Returns the userinfo portion of the IRI Authority

### getIHost

    public java.lang.String getIHost()

  Returns the host portion of the IRI Authority

### getPort

    public int getPort()

  Returns the port portion of the IRI Authority

### toIRINormalForm

    public java.lang.String toIRINormalForm()

  Serialzes the IRIAuthority into IRI normal from

  Specified by:
    `toIRINormalForm` in class `AuthorityPath`
  Returns:
    The IRI normal form of the IRIAuthority

### toURINormalForm

    public java.lang.String toURINormalForm()

  Serialzes the IRIAuthority into URI normal from

  Specified by:
    `toURINormalForm` in class `AuthorityPath`
  Returns:
    The URI normal form of the IRIAuthority

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2009. All Rights Reserved.