|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.xml.bind.JAXBIntrospector org.eclipse.persistence.jaxb.JAXBIntrospector
public class JAXBIntrospector
INTERNAL
Purpose:Provide a TopLink implementation of JAXBIntrospector
Responsibilities:
This class is the TopLink implementation of JAXBIntrospector. An Introspector is created by a JAXBContext and allows the user to access certain peices of meta-data about an instance of a JAXB bound class.
JAXBIntrospector
,
org.eclipse.persistence.jaxb.JAXB20Context
Constructor Summary | |
---|---|
JAXBIntrospector(XMLContext context)
|
Method Summary | |
---|---|
javax.xml.namespace.QName |
getElementName(java.lang.Object obj)
Get xml element qname for jaxbElement . |
boolean |
isElement(java.lang.Object obj)
Return true iff object represents a JAXB element. |
Methods inherited from class javax.xml.bind.JAXBIntrospector |
---|
getValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JAXBIntrospector(XMLContext context)
Method Detail |
---|
public boolean isElement(java.lang.Object obj)
JAXBIntrospector
Return true iff object
represents a JAXB element.
Parameter object
is a JAXB element for following cases:
javax.xml.bind.JAXBElement
.object
is annotated with
@XmlRootElement
.
isElement
in class JAXBIntrospector
JAXBIntrospector.getElementName(Object)
public javax.xml.namespace.QName getElementName(java.lang.Object obj)
JAXBIntrospector
Get xml element qname for jaxbElement
.
getElementName
in class JAXBIntrospector
obj
- is an object that JAXBIntrospector.isElement(Object)
returned true.
jaxbElement
is not a JAXB Element.
|
EclipseLink 2.0.0, build 'v20091127-r5931' API Reference | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |