org.apache.neethi.builders.converters
Class ConverterRegistry
java.lang.Object
org.apache.neethi.builders.converters.ConverterRegistry
public class ConverterRegistry
- extends Object
Contains a registry of Converters.
By default, there are converters to convert back and forth
between DOM Elements and XMLStreamReaders. If Axiom
is available, converters are also registered to convert
from those format to/from OMElements.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConverterRegistry
public ConverterRegistry()
registerConverter
public final void registerConverter(Converter<?,?> converter)
findQName
public QName findQName(Object element)
getAttributes
public Map<QName,String> getAttributes(Object element)
getChildElements
public Iterator<Object> getChildElements(Object element)
convert
public <S,T> T convert(S src,
Class<T> target)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.