Class NameFactoryLogger
java.lang.Object
org.apache.jackrabbit.spi.commons.logging.AbstractLogger
org.apache.jackrabbit.spi.commons.logging.NameFactoryLogger
- All Implemented Interfaces:
NameFactory
Log wrapper for a
NameFactory.-
Constructor Summary
ConstructorsConstructorDescriptionNameFactoryLogger(NameFactory nameFactory, LogWriter writer) Create a new instance for the givennameFactorywhich useswriterfor persisting log messages. -
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.
-
Constructor Details
-
NameFactoryLogger
Create a new instance for the givennameFactorywhich useswriterfor persisting log messages.- Parameters:
nameFactory-writer-
-
-
Method Details
-
getNameFactory
- Returns:
- the wrapped NameFactory
-
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
-
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
-