yarfraw.utils
Class JAXBUtils
java.lang.Object
yarfraw.utils.JAXBUtils
public class JAXBUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PREFIX_MAPPER_PROPERTY_NAME
public static final String PREFIX_MAPPER_PROPERTY_NAME
- See Also:
- Constant Field Values
JAXBUtils
public JAXBUtils()
getNamespacePrefixMapper
public static com.sun.xml.bind.marshaller.NamespacePrefixMapper getNamespacePrefixMapper(FeedFormat format)
- Gets the namespace prefix map for the marshaller.
- Parameters:
format
- a FeedFormat
- Returns:
- a
NamespacePrefixMapper
object for the Marshaller
getContext
public static JAXBContext getContext(FeedFormat format)
throws JAXBException
- Gets the
JAXBContext
based on the input FeedFormat
- Parameters:
format
-
- Returns:
-
- Throws:
JAXBException
Copyright © 2008. All Rights Reserved.