public class NameFactoryLogger extends AbstractLogger implements NameFactory
NameFactory.AbstractLogger.Callable, AbstractLogger.SafeCallablewriter| Constructor and Description | 
|---|
| NameFactoryLogger(NameFactory nameFactory,
                 LogWriter writer)Create a new instance for the given  nameFactorywhich useswriterfor persisting log messages. | 
| Modifier and Type | Method and Description | 
|---|---|
| Name | create(String nameString)Returns a  Nameholding the value of the specified
 string. | 
| Name | create(String namespaceURI,
      String localName)Returns a  Namewith the given namespace URI and
 local part and validates the given parameters. | 
| NameFactory | getNameFactory() | 
execute, executepublic NameFactoryLogger(NameFactory nameFactory, LogWriter writer)
nameFactory which uses
 writer for persisting log messages.nameFactory - writer - public NameFactory getNameFactory()
public Name create(String namespaceURI, String localName)
NameFactoryName with the given namespace URI and
 local part and validates the given parameters.create in interface NameFactorynamespaceURI - namespace urilocalName - local partpublic Name create(String nameString)
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 argumentCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.