@Override public final String mapWrappingFailedLocalPart(final String map, final String localPart) { return _formatMessage(mapWrappingFailedLocalPart$str(), map, localPart); } private static final String mapWrappingFailedNamespace = "RESTEASY006535: Map wrapping failed, expect namespace of {0} got {1}";
@Override public final String collectionWrappingFailedLocalPart(final String element, final String localPart) { return _formatMessage(collectionWrappingFailedLocalPart$str(), element, localPart); } private String _formatMessage(final String format, final Object... args) {
@Override public final String mapWrappingFailedNamespace(final String map, final String namespace) { return _formatMessage(mapWrappingFailedNamespace$str(), map, namespace); } private static final String namespacePrefixMapperNotInClassPath = "RESTEASY006540: com.sun.xml.bind.marshaller.NamespacePrefixMapper is not in your classpath. You need to use the JAXB RI for the prefix mapping feature";
@Override public final String collectionWrappingFailedNamespace(final String namespace, final String uri) { return _formatMessage(collectionWrappingFailedNamespace$str(), namespace, uri); } private static final String couldNotFindJAXBContextFinder = "RESTEASY006510: Could not find JAXBContextFinder for media type: %s";
public <T> JAXBElement<T> unmarshal(XMLStreamReader reader, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLStreamReader, Class<T>")); }
@Override public final String createMethodNotFound(final Class<?> type) { return String.format(getLoggingLocale(), createMethodNotFound$str(), type); } private static final String errorTryingToLoadSchema = "RESTEASY006520: Error while trying to load schema for %s";
@Override public final String namespacePrefixMapperNotInClassPath() { return String.format(getLoggingLocale(), namespacePrefixMapperNotInClassPath$str()); } private static final String unexpectedUse = "RESTEASY006545: SecureUnmarshaller: unexpected use of unmarshal(%s)";
@Override public final String couldNotFindUsersJAXBContext(final MediaType mediaType) { return String.format(getLoggingLocale(), couldNotFindUsersJAXBContext$str(), mediaType); } }
@Override public final String couldNotFindJAXBContextFinder(final MediaType mediaType) { return String.format(getLoggingLocale(), couldNotFindJAXBContextFinder$str(), mediaType); } private static final String createMethodNotFound = "RESTEASY006515: The method create%s() was not found in the object Factory!";
@Override public final String mapWrappedFailedKeyAttribute() { return String.format(getLoggingLocale(), mapWrappedFailedKeyAttribute$str()); } private static final String mapWrappingFailedLocalPart = "RESTEASY006530: Map wrapping failed, expected root element name of {0} got {1}";
@Override public final String errorTryingToLoadSchema(final String schema) { return String.format(getLoggingLocale(), errorTryingToLoadSchema$str(), schema); } private static final String mapWrappedFailedKeyAttribute = "RESTEASY006525: Map wrapped failed, could not find map entry key attribute";
@Override public final String unableToFindJAXBContext(final MediaType mediaType) { return String.format(getLoggingLocale(), unableToFindJAXBContext$str(), mediaType); } private static final String validXmlRegistryCouldNotBeLocated = "RESTEASY006555: A valid XmlRegistry could not be located.";
@Override public final String unexpectedUse(final String s) { return String.format(getLoggingLocale(), unexpectedUse$str(), s); } private static final String unableToFindJAXBContext = "RESTEASY006550: Unable to find JAXBContext for media type: %s";
@Override public final String validXmlRegistryCouldNotBeLocated() { return String.format(getLoggingLocale(), validXmlRegistryCouldNotBeLocated$str()); } private static final String couldNotFindUsersJAXBContext = "RESTEASY006560: Could not find user's JAXBContext implementation for media type: %s";
public <T> JAXBElement<T> unmarshal(Node node, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Node, Class<T>")); }
public Object unmarshal(File f) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("File")); }
public Object unmarshal(XMLStreamReader reader) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLStreamReader")); }
public <T> JAXBElement<T> unmarshal(XMLEventReader reader, Class<T> declaredType) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("XMLEventReader, Class<T>")); }
public Object unmarshal(Reader reader) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("Reader")); }
public Object unmarshal(URL url) throws JAXBException { throw new UnsupportedOperationException(Messages.MESSAGES.unexpectedUse("URL")); }