- java.lang.Object
-
- com.sun.xml.ws.db.toplink.JAXBContextWrapper
-
- All Implemented Interfaces:
BindingContext
public class JAXBContextWrapper extends Object implements BindingContext
-
-
Field Summary
-
Fields inherited from interface com.sun.xml.ws.spi.db.BindingContext
CANONICALIZATION_SUPPORT, DEFAULT_NAMESPACE_REMAP, ENABLE_XOP, RETAIN_REFERENCE_TO_INFO, SUBCLASS_REPLACEMENTS, TREAT_EVERYTHING_NILLABLE, TYPE_REFERENCES, XMLACCESSORFACTORY_SUPPORT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMLBridgecreateBridge(TypeInfo ref)XMLBridgecreateFragmentBridge()javax.xml.bind.MarshallercreateMarshaller()javax.xml.bind.UnmarshallercreateUnmarshaller()voidgenerateSchema(javax.xml.bind.SchemaOutputResolver outputResolver)StringgetBuildId()QNamegetElementName(Class cls)QNamegetElementName(Object o)<B,V>
PropertyAccessor<B,V>getElementPropertyAccessor(Class<B> wrapperBean, String ns, String name)javax.xml.bind.JAXBContextgetJAXBContext()List<String>getKnownNamespaceURIs()QNamegetTypeName(TypeInfo tr)booleanhasSwaRef()ObjectnewWrapperInstace(Class<?> wrapperType)
-
-
-
Method Detail
-
getBuildId
public String getBuildId()
- Specified by:
getBuildIdin interfaceBindingContext
-
createBridge
public XMLBridge createBridge(TypeInfo ref)
- Specified by:
createBridgein interfaceBindingContext
-
createFragmentBridge
public XMLBridge createFragmentBridge()
- Specified by:
createFragmentBridgein interfaceBindingContext
-
createMarshaller
public javax.xml.bind.Marshaller createMarshaller() throws javax.xml.bind.JAXBException- Specified by:
createMarshallerin interfaceBindingContext- Throws:
javax.xml.bind.JAXBException
-
createUnmarshaller
public javax.xml.bind.Unmarshaller createUnmarshaller() throws javax.xml.bind.JAXBException- Specified by:
createUnmarshallerin interfaceBindingContext- Throws:
javax.xml.bind.JAXBException
-
generateSchema
public void generateSchema(javax.xml.bind.SchemaOutputResolver outputResolver) throws IOException- Specified by:
generateSchemain interfaceBindingContext- Throws:
IOException
-
getElementName
public QName getElementName(Object o) throws javax.xml.bind.JAXBException
- Specified by:
getElementNamein interfaceBindingContext- Throws:
javax.xml.bind.JAXBException
-
getElementName
public QName getElementName(Class cls) throws javax.xml.bind.JAXBException
- Specified by:
getElementNamein interfaceBindingContext- Throws:
javax.xml.bind.JAXBException
-
getElementPropertyAccessor
public <B,V> PropertyAccessor<B,V> getElementPropertyAccessor(Class<B> wrapperBean, String ns, String name) throws javax.xml.bind.JAXBException
- Specified by:
getElementPropertyAccessorin interfaceBindingContext- Throws:
javax.xml.bind.JAXBException
-
getJAXBContext
public javax.xml.bind.JAXBContext getJAXBContext()
- Specified by:
getJAXBContextin interfaceBindingContext
-
getKnownNamespaceURIs
public List<String> getKnownNamespaceURIs()
- Specified by:
getKnownNamespaceURIsin interfaceBindingContext
-
getTypeName
public QName getTypeName(TypeInfo tr)
- Specified by:
getTypeNamein interfaceBindingContext
-
hasSwaRef
public boolean hasSwaRef()
- Specified by:
hasSwaRefin interfaceBindingContext
-
newWrapperInstace
public Object newWrapperInstace(Class<?> wrapperType) throws InstantiationException, IllegalAccessException
- Specified by:
newWrapperInstacein interfaceBindingContext- Throws:
InstantiationExceptionIllegalAccessException
-
-