クラス CommonsXsdSchema

java.lang.ObjectSE
org.springframework.xml.xsd.commons.CommonsXsdSchema
実装済みのインターフェース一覧:
XsdSchema

public class CommonsXsdSchema extends ObjectSE implements XsdSchema
Apache WS-Commons XML スキーマを使用する XsdSchema インターフェースの実装。
導入:
1.5.0
関連事項:
  • コンストラクター概要

    コンストラクター
    修飾子
    コンストラクター
    説明
    protected
    CommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema)
    指定された XmlSchema 参照を使用して CommonsXsdSchema クラスの新しいインスタンスを作成します。
    protected
    CommonsXsdSchema(org.apache.ws.commons.schema.XmlSchema schema, org.apache.ws.commons.schema.XmlSchemaCollection collection)
    指定された XmlSchema および XmlSchemaCollection 参照を使用して、CommonsXsdSchema クラスの新しいインスタンスを作成します。
  • 方法の概要

    修飾子と型
    メソッド
    説明
    スキーマに基づいて XmlValidator を作成します。
    org.apache.ws.commons.schema.XmlSchema
    ラップされた Commons XmlSchema オブジェクトを返します。
    スキーマの SourceSE を返します。
    このスキーマのターゲット名前空間を返します。

    クラス java.lang.ObjectSE から継承されたメソッド

    clone, equalsSE, finalize, getClass, hashCode, notify, notifyAll, wait, waitSE, waitSE
  • コンストラクターの詳細

    • 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

      public StringSE getTargetNamespace()
      インターフェースからコピーされた説明: XsdSchema
      このスキーマのターゲット名前空間を返します。
      次で指定:
      インターフェース XsdSchema 内の getTargetNamespace 
      戻り値:
      ターゲット名前空間
    • getElementNames

      public QNameSE[] getElementNames()
    • getSource

      public SourceSE getSource()
      インターフェースからコピーされた説明: XsdSchema
      スキーマの SourceSE を返します。
      次で指定:
      インターフェース XsdSchema 内の getSource 
      戻り値:
      この XSD スキーマのソース
    • createValidator

      public XmlValidator createValidator()
      インターフェースからコピーされた説明: XsdSchema
      スキーマに基づいて XmlValidator を作成します。
      次で指定:
      インターフェース XsdSchema 内の createValidator 
      戻り値:
      このスキーマのバリデーター
    • getSchema

      public org.apache.ws.commons.schema.XmlSchema getSchema()
      ラップされた Commons XmlSchema オブジェクトを返します。
    • toString

      public StringSE toString()
      オーバーライド:
      クラス ObjectSEtoString