|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.w3c.jigsaw.ccpp.ProfileRef
public class ProfileRef
A Profile reference (syntax described at http://www.w3.org/1999/06/NOTE-CCPPexchange-19990624)
| Constructor Summary | |
|---|---|
ProfileRef(java.lang.String ref)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getDiffName()
Get the profile diff name |
int |
getDiffNumber()
Get the diff number |
java.lang.String |
getUnparsedRef()
Get the unparsed profile reference (used for error message) |
java.lang.String |
getURI()
Get the URI |
boolean |
isDiffName()
Is this Profile reference a profile diff name? |
boolean |
isURI()
Is this Profile reference an absolute URI? |
protected void |
parse()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ProfileRef(java.lang.String ref)
ref - the raw profile reference. ie :
| Method Detail |
|---|
public java.lang.String getUnparsedRef()
public boolean isURI()
public java.lang.String getURI()
throws InvalidProfileException
InvalidProfileException - if the profile reference is not validpublic boolean isDiffName()
public int getDiffNumber()
throws InvalidProfileException
InvalidProfileException - if the profile reference is not valid
public java.lang.String getDiffName()
throws InvalidProfileException
InvalidProfileException - if the profile reference is not valid
protected void parse()
throws InvalidProfileException
InvalidProfileException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||