Class NameFactoryImpl
java.lang.Object
org.apache.jackrabbit.spi.commons.name.NameFactoryImpl
- All Implemented Interfaces:
NameFactory
NameFactoryImpl...-
Method Summary
Modifier and TypeMethodDescriptionReturns aNameholding the value of the specified string.Returns aNamewith the given namespace URI and local part and validates the given parameters.static NameFactory
-
Method Details
-
getInstance
-
create
Description copied from interface:NameFactoryReturns aNamewith the given namespace URI and local part and validates the given parameters.- Specified by:
createin interfaceNameFactory- Parameters:
namespaceURI- namespace urilocalName- local part- Throws:
IllegalArgumentException- ifnamespaceURIorlocalNameis invalid.- See Also:
-
create
Description copied from interface:NameFactoryReturns aNameholding the value of the specified string. The string must be in the format returned by theName.toString()method, i.e.{namespaceURI}localName- Specified by:
createin interfaceNameFactory- Parameters:
nameString- aStringcontaining theNamerepresentation to be parsed.- Returns:
- the
Namerepresented by the argument - Throws:
IllegalArgumentException- if the specified string can not be parsed as aName.- See Also:
-