クラス CommonsXsdSchema
java.lang.ObjectSE
org.springframework.xml.xsd.commons.CommonsXsdSchema
- 実装済みのインターフェース一覧:
XsdSchema
Apache WS-Commons XML スキーマを使用する
XsdSchema インターフェースの実装。- 導入:
- 1.5.0
- 関連事項:
コンストラクター概要
コンストラクター修飾子コンストラクター説明protectedCommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema) 指定されたXmlSchema参照を使用してCommonsXsdSchemaクラスの新しいインスタンスを作成します。protectedCommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema, org.apache.ws.commons.schema.XmlSchemaCollection collection) 指定されたXmlSchemaおよびXmlSchemaCollection参照を使用して、CommonsXsdSchemaクラスの新しいインスタンスを作成します。方法の概要
修飾子と型メソッド説明スキーマに基づいてXmlValidatorを作成します。QNameSE[]org.apache.ws.commons.schema.XmlSchemaラップされた CommonsXmlSchemaオブジェクトを返します。スキーマのSourceSE を返します。このスキーマのターゲット名前空間を返します。toString()
コンストラクターの詳細
CommonsXsdSchema
protected CommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema) 指定されたXmlSchema参照を使用してCommonsXsdSchemaクラスの新しいインスタンスを作成します。- パラメーター:
schema- コモンズXmlSchemaオブジェクト。nullであってはなりません- 例外:
IllegalArgumentExceptionSE- 提供されたschemaがnullの場合
CommonsXsdSchema
protected CommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema, org.apache.ws.commons.schema.XmlSchemaCollection collection) 指定されたXmlSchemaおよびXmlSchemaCollection参照を使用して、CommonsXsdSchemaクラスの新しいインスタンスを作成します。- パラメーター:
schema- コモンズXmlSchemaオブジェクト。nullであってはなりませんcollection- コモンズXmlSchemaCollectionオブジェクト。nullにすることができます- 例外:
IllegalArgumentExceptionSE- 提供されたschemaがnullの場合
方法の詳細
getTargetNamespace
インターフェースからコピーされた説明:XsdSchemaこのスキーマのターゲット名前空間を返します。- 次で指定:
- インターフェース
XsdSchema内のgetTargetNamespace - 戻り値:
- ターゲット名前空間
getElementNames
getSource
インターフェースからコピーされた説明:XsdSchemaスキーマのSourceSE を返します。createValidator
インターフェースからコピーされた説明:XsdSchemaスキーマに基づいてXmlValidatorを作成します。- 次で指定:
- インターフェース
XsdSchema内のcreateValidator - 戻り値:
- このスキーマのバリデーター
getSchema
public org.apache.ws.commons.schema.XmlSchema getSchema()ラップされた CommonsXmlSchemaオブジェクトを返します。toString