org.apache.neethi.builders.converters
Class ConverterRegistry
java.lang.Object
org.apache.neethi.builders.converters.ConverterRegistry
public class ConverterRegistry
- extends java.lang.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 javax.xml.namespace.QName findQName(java.lang.Object element)
getAttributes
public java.util.Map<javax.xml.namespace.QName,java.lang.String> getAttributes(java.lang.Object element)
getChildElements
public java.util.Iterator<java.lang.Object> getChildElements(java.lang.Object element)
convert
public <S,T> T convert(S src,
java.lang.Class<T> target)
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.