|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.jackrabbit.spi.commons.name.NameFactoryImpl
public class NameFactoryImpl
NameFactoryImpl
...
Method Summary | |
---|---|
Name |
create(String nameString)
Returns a Name holding the value of the specified
string. |
Name |
create(String namespaceURI,
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(String namespaceURI, String localName) throws IllegalArgumentException
NameFactory
Name
with the given namespace URI and
local part and validates the given parameters.
create
in interface NameFactory
namespaceURI
- namespace urilocalName
- local part
IllegalArgumentException
- if namespaceURI
or
localName
is invalid.NameFactory.create(String, String)
public Name create(String nameString) throws IllegalArgumentException
NameFactory
Name
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 NameFactory
nameString
- a String
containing the Name
representation to be parsed.
Name
represented by the argument
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 |