| com.sun.xml.internal.bind.api.JAXBRIContext com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl
JAXBContextImpl | final public class JAXBContextImpl extends JAXBRIContext (Code) | | This class provides the implementation of JAXBContext.
version: $Revision: 1.74 $ |
Method Summary | |
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 | 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. | final public Loader | selectRootLoader(UnmarshallingContext.State state, TagName ea) 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.
|
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.
|
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.
|
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 ea)(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. |
|
|