|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jackrabbit.spi.commons.name.NameFactoryImpl
public class NameFactoryImpl
NameFactoryImpl...
| Method Summary | |
|---|---|
Name |
create(java.lang.String nameString)
Returns a Name holding the value of the specified
string. |
Name |
create(java.lang.String namespaceURI,
java.lang.String localName)
Returns a Name with the given namespace URI and
local part and validates the given parameters. |
static NameFactory |
getInstance()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static NameFactory getInstance()
public Name create(java.lang.String namespaceURI,
java.lang.String localName)
throws java.lang.IllegalArgumentException
NameFactoryName with the given namespace URI and
local part and validates the given parameters.
create in interface NameFactorynamespaceURI - namespace urilocalName - local part
java.lang.IllegalArgumentException - if namespaceURI or
localName is invalid.NameFactory.create(String, String)
public Name create(java.lang.String nameString)
throws java.lang.IllegalArgumentException
NameFactoryName holding the value of the specified
string. The string must be in the format returned by the
Name.toString() method, i.e.
{namespaceURI}localName
create in interface NameFactorynameString - a String containing the Name
representation to be parsed.
Name represented by the argument
java.lang.IllegalArgumentException - if the specified string can not be parsed
as a Name.NameFactory.create(String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||