|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.nitido.nimbox.http.Skin
public class Skin
Field Summary | |
---|---|
protected java.lang.String |
_name
|
protected java.lang.String |
_protocol
|
protected static java.lang.String |
VALID_SKINNAME_REGEX
|
Constructor Summary | |
---|---|
Skin(java.lang.String uri)
Class constructor. |
|
Skin(java.lang.String protocol,
java.lang.String name)
Class constructor. |
Method Summary | |
---|---|
java.lang.String |
getName()
This method returns the name component of the Skin |
java.lang.String |
getProtocol()
This method returns the protocol component of the Skin |
java.lang.String |
getSkinURI()
|
static boolean |
isValidSkinURI(java.lang.String uri)
This method is used to validate a given Skin URI. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String VALID_SKINNAME_REGEX
protected java.lang.String _protocol
protected java.lang.String _name
Constructor Detail |
---|
public Skin(java.lang.String protocol, java.lang.String name)
protocol
- Reference to the skin protocol that defines the skin
dispatcher used to dispatch the skin refered by the given
name.name
- The name of the skin to be dispatched.
java.lang.IllegalArgumentException
- if the given protocol or skin name are null or empty string.public Skin(java.lang.String uri)
uri
- The URI representation of the skin. The URI is composed of
the skin protocol and skin name.
java.lang.IllegalArgumentException
- if the given skin URI is not of the form "Method Detail |
---|
public java.lang.String getProtocol()
public java.lang.String getName()
public java.lang.String getSkinURI()
public java.lang.String toString()
toString
in class java.lang.Object
public static boolean isValidSkinURI(java.lang.String uri)
uri
- The URI representation of the skin. The URI is composed of
the skin protocol and skin name.
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.