Class N2oNamespaceReaderFactory<T extends NamespaceUriAware>
java.lang.Object
net.n2oapp.framework.config.reader.N2oNamespaceReaderFactory<T>
- All Implemented Interfaces:
IOProcessorAware,ElementReaderFactory<T,,NamespaceReader<T>> NamespaceReaderFactory<T,,NamespaceReader<T>> org.springframework.beans.factory.Aware,org.springframework.context.ApplicationContextAware
public class N2oNamespaceReaderFactory<T extends NamespaceUriAware>
extends Object
implements NamespaceReaderFactory<T,NamespaceReader<T>>, org.springframework.context.ApplicationContextAware, IOProcessorAware
Фабрика, генерирующая сервисы чтения xml файлов(метаданных) в объекты n2o.
Подходящий сервис отыскивается сначала по имени DOM элемента, если он неуникальный поиск уточняется по namespaceUri.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(NamespaceReader<T> reader) voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) voidsetIOProcessor(IOProcessor processor) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.n2oapp.framework.api.metadata.reader.NamespaceReaderFactory
produce, produce
-
Constructor Details
-
N2oNamespaceReaderFactory
public N2oNamespaceReaderFactory()
-
-
Method Details
-
produce
- Specified by:
producein interfaceNamespaceReaderFactory<T extends NamespaceUriAware,NamespaceReader<T extends NamespaceUriAware>>
-
add
- Specified by:
addin interfaceNamespaceReaderFactory<T extends NamespaceUriAware,NamespaceReader<T extends NamespaceUriAware>>
-
setApplicationContext
public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
setApplicationContextin interfaceorg.springframework.context.ApplicationContextAware- Throws:
org.springframework.beans.BeansException
-
setIOProcessor
- Specified by:
setIOProcessorin interfaceIOProcessorAware
-