Java XML JAXB Context getContext(String uddiVersion)

Here you can find the source of getContext(String uddiVersion)

Description

get Context

License

Apache License

Declaration

public static JAXBContext getContext(String uddiVersion) 

Method Source Code


//package com.java2s;
//License from project: Apache License 

import javax.xml.bind.JAXBContext;

import java.util.HashMap;
import java.util.Map;

public class Main {
    private static final Map<String, JAXBContext> JAXBContexts = new HashMap<String, JAXBContext>();

    public static JAXBContext getContext(String uddiVersion) {
        return JAXBContexts.get(uddiVersion);
    }/*from w  w w  .j  a  v  a2  s .  c  o m*/
}

Related

  1. getContext()
  2. getContext()
  3. getContext(Class c)
  4. getContext(Class clazz)
  5. getContext(final Class theClass)
  6. getContextFor(final Class clazz)
  7. getContextForNamespace(String namespace)
  8. getContextPath(Class... classes)
  9. getCustomContext()