| java.lang.Object javax.xml.bind.JAXBContext com.sun.xml.bind.api.JAXBRIContext com.sun.xml.bind.v2.runtime.JAXBContextImpl
JAXBContextImpl | final public class JAXBContextImpl extends JAXBRIContext (Code) | | This class provides the implementation of JAXBContext.
version: $Revision: 1.75.2.19 $ |
Method Summary | |
public JAXBContextImpl | createAugmented(Class> clazz) Creates a
JAXBContextImpl that includes the specified additional classes. | public Binder<T> | createBinder(Class<T> domType) | public Binder<Node> | createBinder() | public Bridge | createBridge(TypeReference ref) | public BridgeContext | createBridgeContext() | static Document | createDom() Creates a new DOM document. | public JAXBIntrospector | createJAXBIntrospector() | public MarshallerImpl | createMarshaller() | public SchemaOutputResolver | createTestResolver() Used for testing. | static Transformer | createTransformer() Creates a new identity transformer. | public static TransformerHandler | createTransformerHandler() Creates a new identity transformer. | public UnmarshallerImpl | createUnmarshaller() | public Validator | createValidator() | public void | generateEpisode(Result output) | public void | generateSchema(SchemaOutputResolver outputResolver) | final public JaxBeanInfo | getBeanInfo(Object o) Gets the
JaxBeanInfo object that can handle
the given JAXB-bound object. | final public JaxBeanInfo | getBeanInfo(Object o, boolean fatal) Gets the
JaxBeanInfo object that can handle
the given JAXB-bound object. | final public JaxBeanInfo<T> | getBeanInfo(Class<T> clazz) Gets the
JaxBeanInfo object that can handle
the given JAXB-bound class. | final public JaxBeanInfo<T> | getBeanInfo(Class<T> clazz, boolean fatal) Gets the
JaxBeanInfo object that can handle
the given JAXB-bound class. | public String | getBuildId() | public ElementBeanInfoImpl | getElement(Class scope, QName name) | public QName | getElementName(Object o) | public RawAccessor | getElementPropertyAccessor(Class wrapperBean, String nsUri, String localName) | public JaxBeanInfo | getGlobalType(QName name) Gets the
JaxBeanInfo for the given named XML Schema type.
null if the type name is not recognized. | public List<String> | getKnownNamespaceURIs() | public String | getNearestTypeName(QName name) Finds a type name that this context recognizes which is
"closest" to the given type name. | public int | getNumberOfAttributeNames() | public int | getNumberOfElementNames() | public int | getNumberOfLocalNames() | protected JaxBeanInfo | getOrCreate(RuntimeEnumLeafInfo eli) | protected ClassBeanInfoImpl | getOrCreate(RuntimeClassInfo ci) | protected JaxBeanInfo | getOrCreate(RuntimeArrayInfo ai) | public JaxBeanInfo | getOrCreate(RuntimeTypeInfo e) | public QName | getTypeName(TypeReference tr) | public synchronized Encoded[] | getUTF8NameTable() | public Set<QName> | getValidRootNames() Returns the set of valid root tag names. | public String | getXMIMEContentType(Object o) Gets the value of the xmime:contentType attribute on the given object, or null
if for some reason it couldn't be found, including any error. | public boolean | hasSwaRef() True if this JAXBContext has
XmlAttachmentRef . | final public Loader | selectRootLoader(UnmarshallingContext.State state, TagName tag) Based on the tag name, determine what object to unmarshal,
and then set a new object and its loader to the current unmarshaller state. | public String | toString() |
c14nSupport | final protected boolean c14nSupport(Code) | | true to reorder attributes lexicographically in preparation of the c14n support.
|
fastBoot | final public boolean fastBoot(Code) | | If true, we aim for faster
JAXBContext instanciation performance,
instead of going after efficient sustained unmarshalling/marshalling performance.
since: 2.0.4 |
nameBuilder | public NameBuilder nameBuilder(Code) | | Used to assign indices to known names in this grammar.
Reset to null once the build phase is completed.
|
nameList | final public NameList nameList(Code) | | Keeps the list of known names.
This field is set once the build pahse is completed.
|
xmlAccessorFactorySupport | final public boolean xmlAccessorFactorySupport(Code) | | Flag that user has provided a custom AccessorFactory for JAXB to use
|
createDom | static Document createDom()(Code) | | Creates a new DOM document.
|
createTransformer | static Transformer createTransformer()(Code) | | Creates a new identity transformer.
|
createTransformerHandler | public static TransformerHandler createTransformerHandler()(Code) | | Creates a new identity transformer.
|
generateEpisode | public void generateEpisode(Result output)(Code) | | |
getBeanInfo | final public JaxBeanInfo getBeanInfo(Object o)(Code) | | Gets the
JaxBeanInfo object that can handle
the given JAXB-bound object.
This method traverses the base classes of the given object.
nullif c isn't a JAXB-bound class and fatal==false. |
getBeanInfo | final public JaxBeanInfo getBeanInfo(Object o, boolean fatal) throws JAXBException(Code) | | Gets the
JaxBeanInfo object that can handle
the given JAXB-bound object.
Parameters: fatal - if true, the failure to look up will throw an exception.Otherwise it will just return null. |
getBeanInfo | final public JaxBeanInfo<T> getBeanInfo(Class<T> clazz)(Code) | | Gets the
JaxBeanInfo object that can handle
the given JAXB-bound class.
This method doesn't look for base classes.
nullif c isn't a JAXB-bound class and fatal==false. |
getBeanInfo | final public JaxBeanInfo<T> getBeanInfo(Class<T> clazz, boolean fatal) throws JAXBException(Code) | | Gets the
JaxBeanInfo object that can handle
the given JAXB-bound class.
Parameters: fatal - if true, the failure to look up will throw an exception.Otherwise it will just return null. |
getGlobalType | public JaxBeanInfo getGlobalType(QName name)(Code) | | Gets the
JaxBeanInfo for the given named XML Schema type.
null if the type name is not recognized. For schemalanguages other than XML Schema, this method alwaysreturns null. |
getNearestTypeName | public String getNearestTypeName(QName name)(Code) | | Finds a type name that this context recognizes which is
"closest" to the given type name.
This method is used for error recovery.
|
getNumberOfAttributeNames | public int getNumberOfAttributeNames()(Code) | | |
getNumberOfElementNames | public int getNumberOfElementNames()(Code) | | |
getNumberOfLocalNames | public int getNumberOfLocalNames()(Code) | | |
getUTF8NameTable | public synchronized Encoded[] getUTF8NameTable()(Code) | | |
getValidRootNames | public Set<QName> getValidRootNames()(Code) | | Returns the set of valid root tag names.
For diagnostic use.
|
getXMIMEContentType | public String getXMIMEContentType(Object o)(Code) | | Gets the value of the xmime:contentType attribute on the given object, or null
if for some reason it couldn't be found, including any error.
|
selectRootLoader | final public Loader selectRootLoader(UnmarshallingContext.State state, TagName tag)(Code) | | Based on the tag name, determine what object to unmarshal,
and then set a new object and its loader to the current unmarshaller state.
null if the given name pair is not recognized. |
Methods inherited from com.sun.xml.bind.api.JAXBRIContext | abstract public Bridge createBridge(TypeReference ref)(Code)(Java Doc) abstract public BridgeContext createBridgeContext()(Code)(Java Doc) abstract public void generateEpisode(Result output)(Code)(Java Doc) abstract public void generateSchema(SchemaOutputResolver outputResolver) throws IOException(Code)(Java Doc) public static Type getBaseType(Type type, Class baseType)(Code)(Java Doc) abstract public String getBuildId()(Code)(Java Doc) abstract public QName getElementName(Object o) throws JAXBException(Code)(Java Doc) abstract public RawAccessor<B, V> getElementPropertyAccessor(Class<B> wrapperBean, String nsUri, String localName) throws JAXBException(Code)(Java Doc) abstract public List<String> getKnownNamespaceURIs()(Code)(Java Doc) abstract public QName getTypeName(TypeReference tr)(Code)(Java Doc) abstract public boolean hasSwaRef()(Code)(Java Doc) public static String mangleNameToClassName(String localName)(Code)(Java Doc) public static String mangleNameToPropertyName(String localName)(Code)(Java Doc) public static String mangleNameToVariableName(String localName)(Code)(Java Doc) public static JAXBRIContext newInstance(Class[] classes, Collection<TypeReference> typeRefs, Map<Class, Class> subclassReplacements, String defaultNamespaceRemap, boolean c14nSupport, RuntimeAnnotationReader ar) throws JAXBException(Code)(Java Doc) public static JAXBRIContext newInstance(Class[] classes, Collection<TypeReference> typeRefs, String defaultNamespaceRemap, boolean c14nSupport) throws JAXBException(Code)(Java Doc)
|
Fields inherited from javax.xml.bind.JAXBContext | final public static String JAXB_CONTEXT_FACTORY(Code)(Java Doc)
|
|
|