| 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 前 次 | フレームあり フレームなし | |||||||||
| JAXBException を使用しているパッケージ | |
|---|---|
| javax.xml.bind | 非整列化、整列化および検証機能を含む実行時バインディングフレームワークをクライアントアプリケーションに提供します。 | 
| javax.xml.bind.helpers | JAXB プロバイダのみが使用します。 | 
| javax.xml.bind.util | 便利なクライアントユーティリティークラス パッケージの仕様 JAXB 仕様 関連ドキュメント 概要、チュートリアル、例、ガイド、およびツールのマニュアルについては、以下を参照してください。 | 
| javax.xml.bind での JAXBException の使用 | 
|---|
| javax.xml.bind での JAXBException のサブクラス | |
|---|---|
 class | 
MarshalException
この例外は、プロバイダが回復不能な整列化操作の実行中にエラーが発生したことを示します。  | 
 class | 
PropertyException
この例外は、プロパティーの取得中または設定中にエラーが発生したことを示します。  | 
 class | 
UnmarshalException
この例外は、非整列化操作の実行中にエラーが発生し、JAXB プロバイダが操作を完了できなかったことを示します。  | 
 class | 
ValidationException
この例外は、検証操作の実行中にエラーが発生したことを示します。  | 
| JAXBException をスローする javax.xml.bind のメソッド | ||
|---|---|---|
abstract  Marshaller | 
JAXBContext.createMarshaller()
Java コンテンツツリーを XML データに変換するために使用できる Marshaller オブジェクトを作成します。  | 
|
abstract  Unmarshaller | 
JAXBContext.createUnmarshaller()
XML データを Java コンテンツツリーに変換するために使用できる Unmarshaller オブジェクトを作成します。  | 
|
abstract  Validator | 
JAXBContext.createValidator()
推奨されていません。 since JAXB2.0  | 
|
abstract  ValidationEventHandler | 
Binder.getEventHandler()
現在のイベントハンドラ、または、それが設定されていない場合はデフォルトイベントハンドラを返します。  | 
|
 ValidationEventHandler | 
Marshaller.getEventHandler()
現在のイベントハンドラ、または、それが設定されていない場合はデフォルトイベントハンドラを返します。  | 
|
 ValidationEventHandler | 
Unmarshaller.getEventHandler()
Return the current event handler or the default event handler if one hasn't been set.  | 
|
 ValidationEventHandler | 
Validator.getEventHandler()
推奨されていません。 since JAXB2.0  | 
|
 Node | 
Marshaller.getNode(Object contentTree)
コンテンツツリーの DOM ツリービューを取得します (オプション)。  | 
|
 Object | 
UnmarshallerHandler.getResult()
非整列化された結果を取得します。  | 
|
 boolean | 
Unmarshaller.isValidating()
推奨されていません。 since JAXB2.0, please see Unmarshaller.getSchema() | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        ContentHandler handler)
jaxbElement をルートとするコンテンツツリーを SAX2 イベントに整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        File output)
jaxbElement をルートとするコンテンツツリーをファイルに整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        Node node)
jaxbElement をルートとするコンテンツツリーを DOM ツリーに整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        OutputStream os)
jaxbElement をルートとするコンテンツツリーを出力ストリームに整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        Result result)
jaxbElement をルートとするコンテンツツリーを、指定された javax.xml.transform.Result に整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        Writer writer)
jaxbElement をルートとするコンテンツツリーを Writer に整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        XMLEventWriter writer)
jaxbElement をルートとするコンテンツツリーを XMLEventWriter に整列化します。 | 
|
abstract  void | 
Binder.marshal(Object jaxbObject,
        XmlNode xmlNode)
JAXB オブジェクトツリーを新しい XML 文書に整列化します。  | 
|
 void | 
Marshaller.marshal(Object jaxbElement,
        XMLStreamWriter writer)
jaxbElement をルートとするコンテンツツリーを XMLStreamWriter に整列化します。 | 
|
static JAXBContext | 
JAXBContext.newInstance(Class... classesToBeBound)
JAXBContext クラスの新しいインスタンスを取得します。  | 
|
static JAXBContext | 
JAXBContext.newInstance(Class[] classesToBeBound,
            Map<String,?> properties)
JAXBContext クラスの新しいインスタンスを取得します。  | 
|
static JAXBContext | 
JAXBContext.newInstance(String contextPath)
JAXBContext クラスの新しいインスタンスを取得します。  | 
|
static JAXBContext | 
JAXBContext.newInstance(String contextPath,
            ClassLoader classLoader)
JAXBContext クラスの新しいインスタンスを取得します。  | 
|
static JAXBContext | 
JAXBContext.newInstance(String contextPath,
            ClassLoader classLoader,
            Map<String,?> properties)
JAXBContext クラスの新しいインスタンスを取得します。  | 
|
abstract  void | 
Binder.setEventHandler(ValidationEventHandler handler)
アプリケーションで ValidationEventHandler を登録できるようにします。  | 
|
 void | 
Marshaller.setEventHandler(ValidationEventHandler handler)
アプリケーションで検証イベントハンドラを登録できるようにします。  | 
|
 void | 
Unmarshaller.setEventHandler(ValidationEventHandler handler)
Allow an application to register a ValidationEventHandler.  | 
|
 void | 
Validator.setEventHandler(ValidationEventHandler handler)
推奨されていません。 since JAXB2.0  | 
|
 void | 
Unmarshaller.setValidating(boolean validating)
推奨されていません。 since JAXB2.0, please see Unmarshaller.setSchema(javax.xml.validation.Schema) | 
|
 Object | 
Unmarshaller.unmarshal(File f)
Unmarshal XML data from the specified file and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(InputSource source)
Unmarshal XML data from the specified SAX InputSource and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(InputStream is)
Unmarshal XML data from the specified InputStream and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(Node node)
Unmarshal global XML data from the specified DOM tree and return the resulting content tree.  | 
|
 | 
Unmarshaller.unmarshal(Node node,
          Class<T> declaredType)
Unmarshal XML data by JAXB mapped declaredType and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(Reader reader)
Unmarshal XML data from the specified Reader and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(Source source)
Unmarshal XML data from the specified XML Source and return the resulting content tree.  | 
|
 | 
Unmarshaller.unmarshal(Source source,
          Class<T> declaredType)
Unmarshal XML data from the specified XML Source by declaredType and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(URL url)
Unmarshal XML data from the specified URL and return the resulting content tree.  | 
|
 Object | 
Unmarshaller.unmarshal(XMLEventReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree.  | 
|
 | 
Unmarshaller.unmarshal(XMLEventReader reader,
          Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.  | 
|
abstract  Object | 
Binder.unmarshal(XmlNode xmlNode)
XML 情報セットビューを JAXB オブジェクトツリーに非整列化します。  | 
|
abstract 
 | 
Binder.unmarshal(XmlNode xmlNode,
          Class<T> declaredType)
指定された declaredType で XML ルート要素を JAXB オブジェクトツリーに非整列化します。  | 
|
 Object | 
Unmarshaller.unmarshal(XMLStreamReader reader)
Unmarshal XML data from the specified pull parser and return the resulting content tree.  | 
|
 | 
Unmarshaller.unmarshal(XMLStreamReader reader,
          Class<T> declaredType)
Unmarshal root element to JAXB mapped declaredType and return the resulting content tree.  | 
|
abstract  Object | 
Binder.updateJAXB(XmlNode xmlNode)
XML ノードを引数とし、それに関連付けられた JAXB オブジェクトとその下位オブジェクトを更新します。  | 
|
abstract  XmlNode | 
Binder.updateXML(Object jaxbObject)
JAXB オブジェクトを引数とし、それに関連付けられた XML ノードとその下位ノードを更新します。  | 
|
abstract  XmlNode | 
Binder.updateXML(Object jaxbObject,
          XmlNode xmlNode)
JAXB オブジェクトツリーの変更がそれと関連付けられている XML 構文木で更新されます。  | 
|
 boolean | 
Validator.validate(Object subrootObj)
推奨されていません。 since JAXB2.0  | 
|
 boolean | 
Validator.validateRoot(Object rootObj)
推奨されていません。 since JAXB2.0  | 
|
| javax.xml.bind.helpers での JAXBException の使用 | 
|---|
| JAXBException をスローする javax.xml.bind.helpers のメソッド | ||
|---|---|---|
 ValidationEventHandler | 
AbstractMarshallerImpl.getEventHandler()
 | 
|
 ValidationEventHandler | 
AbstractUnmarshallerImpl.getEventHandler()
現在のイベントハンドラ、または、それが設定されていない場合はデフォルトイベントハンドラを返します。  | 
|
 Node | 
AbstractMarshallerImpl.getNode(Object obj)
デフォルトでは、getNode メソッドはサポートされず、 UnsupportedOperationException をスローします。 | 
|
protected  XMLReader | 
AbstractUnmarshallerImpl.getXMLReader()
設定された XMLReader を取得します。  | 
|
 boolean | 
AbstractUnmarshallerImpl.isValidating()
Unmarshaller が非整列化操作中に検証を行うように設定されているかどうかを示します。  | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        ContentHandler handler)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object jaxbElement,
        File output)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        Node node)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        OutputStream os)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        Writer w)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        XMLEventWriter writer)
 | 
|
 void | 
AbstractMarshallerImpl.marshal(Object obj,
        XMLStreamWriter writer)
 | 
|
 void | 
AbstractMarshallerImpl.setEventHandler(ValidationEventHandler handler)
 | 
|
 void | 
AbstractUnmarshallerImpl.setEventHandler(ValidationEventHandler handler)
アプリケーションで検証イベントハンドラを登録できるようにします。  | 
|
 void | 
AbstractUnmarshallerImpl.setValidating(boolean validating)
Unmarshaller が非整列化操作中に検証を行うかどうかを指定します。  | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(File f)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(InputSource source)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(InputStream is)
 | 
|
 | 
AbstractUnmarshallerImpl.unmarshal(Node node,
          Class<T> expectedType)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(Reader reader)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(Source source)
 | 
|
 | 
AbstractUnmarshallerImpl.unmarshal(Source source,
          Class<T> expectedType)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(URL url)
 | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader)
 | 
|
 | 
AbstractUnmarshallerImpl.unmarshal(XMLEventReader reader,
          Class<T> expectedType)
 | 
|
protected abstract  Object | 
AbstractUnmarshallerImpl.unmarshal(XMLReader reader,
          InputSource source)
指定した XMLReader と InputSource を使用して、オブジェクトを非整列化します。  | 
|
 Object | 
AbstractUnmarshallerImpl.unmarshal(XMLStreamReader reader)
 | 
|
 | 
AbstractUnmarshallerImpl.unmarshal(XMLStreamReader reader,
          Class<T> expectedType)
 | 
|
| javax.xml.bind.util での JAXBException の使用 | 
|---|
| JAXBException をスローする javax.xml.bind.util のメソッド | |
|---|---|
 Object | 
JAXBResult.getResult()
変換によって作成された非整列化済みオブジェクトを取得します。  | 
| JAXBException をスローする javax.xml.bind.util のコンストラクタ | |
|---|---|
JAXBResult(JAXBContext context)
非整列化するために指定された JAXBContext を使用した新しいインスタンスを作成します。  | 
|
JAXBResult(Unmarshaller _unmarshaller)
オブジェクトを非整列化するために指定された Unmarshaller を使用した新しいインスタンスを作成します。  | 
|
JAXBSource(JAXBContext context,
           Object contentObject)
与えられたコンテンツオブジェクト用の新しい Source を作成します。 | 
|
JAXBSource(Marshaller marshaller,
           Object contentObject)
与えられたコンテンツオブジェクト用の新しい Source を作成します。 | 
|
  | 
JavaTM Platform Standard Ed. 6  | 
|||||||||
| 前 次 | フレームあり フレームなし | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。