Javax.xml.bind.JAXBIntrospector Class



Introduction

The javax.xml.bind.JAXBIntrospector class provides access to JAXB xml binding data for a JAXB object.The intent of this class is to just conceptualize how a JAXB application developer can access xml binding information, independent if binding model is java to schema or schema to java.

Class declaration

Following is the declaration for javax.xml.bind.JAXBIntrospector class −

public abstract class JAXBIntrospector
   extends Object

Class constructors

S.N. Constructor & Description
1 JAXBIntrospector()

Single Constructor.

Class methods

S.N. Method & Description
1 abstract QName getElementName(Object jaxbElement)

This method gets xml element qname for jaxbElement.

2 static Object getValue(Object jaxbElement)

This method gets the element value of a JAXB element.

3 abstract boolean isElement(Object object)

This method returns true iff object represents a JAXB element.

Methods inherited

This class inherits methods from the following classes −

java.lang.Object

Advertisements