JP2009283010A - オブジェクトの階層を定義するための宣言的(declative)機構 - Google Patents
オブジェクトの階層を定義するための宣言的(declative)機構 Download PDFInfo
- Publication number
- JP2009283010A JP2009283010A JP2009193622A JP2009193622A JP2009283010A JP 2009283010 A JP2009283010 A JP 2009283010A JP 2009193622 A JP2009193622 A JP 2009193622A JP 2009193622 A JP2009193622 A JP 2009193622A JP 2009283010 A JP2009283010 A JP 2009283010A
- Authority
- JP
- Japan
- Prior art keywords
- tag
- class
- name
- attribute
- property
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/131—Fragmentation of text files, e.g. creating reusable text-blocks; Linking to fragments, e.g. using XInclude; Namespaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/137—Hierarchical processing, e.g. outlines
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/12—Use of codes for handling textual entities
- G06F40/14—Tree-structured documents
- G06F40/143—Markup, e.g. Standard Generalized Markup Language [SGML] or Document Type Definition [DTD]
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Software Systems (AREA)
- Devices For Executing Special Programs (AREA)
- Document Processing Apparatus (AREA)
Abstract
【解決手段】少なくとも1つの名前空間を有する定義ファイルの位置のURLをルートタグおよびマッピングタグのうちの一方のxmlns属性にマップするステップと、当該少なくとも1つの名前空間内のクラス名にタグ名を設定するステップと、当該オブジェクトがプロパティ設定を有している場合、プロパティ名に当該タグの属性を設定するステップとを含む。
【選択図】図3
Description
<?Mapping xmlns="foo" Namespace="ACME.Widgets" Assembly="acme" ?>の形式のものである。ユーザが実装を提供する別のエンティティ(例えばw3c.org)によって制御されるあるサイトをxmlnsが指す名前空間では、タグは、
<?Mapping xmlns="http://www.w3c.org/2000/svg"
xmlnsdefinition="http://www.acme.com/svg/2000/xmlns.definition ?>の形式のものである。名前空間は、xmlns:foo=http://www.ACME/fooの形式を使用して指定することもできる。これは、名前空間「foo」を定義する。上述したように、名前空間は、別のタイプのタグで指定することもできる。例えば、名前空間は、次のMyCoolButtonタグで指定される。
<Button Text="OK" Background ="Red" Click= "RunHandler" ID="bl">
をテキスト、背景、およびクリックプロパティおよび/またはイベントを有するButtonと呼ばれるクラスとして解釈する。パーサーは、Buttonクラスのプロパティセクションにおいてテキスト、背景、およびクリック名を検索する。名前がプロパティセクションにない場合、パーサーは、イベントセクションで名前を探す。
<Button.Background>Blue</Button.Background>
</Button>
<TextBox Button.Background="Blue">
のタグは、属性Button.BackgroundがTextBoxクラスとは異なるクラスにマップされることを示す。パーサーは、ピリオドを見つけ、そのピリオドの後ろの名前によって指定されるプロパティ(例えば「Button.Background」タグの「Background」)をピリオドの前の名前によって指定されるクラス(例えば「Button」)内で検索する。
「>」、「<」および/または「&」文字を含むxamlファイル内にコードを追加するために、XMLで定義されたCDATAセクションが<def:Code>セクションに必要である。この例を以下に示す(この例では、含まれているコードは、「<」、「>」、または「&」文字を使用しないため、CDATAの括弧付けは必要ない)。
Claims (12)
- マークアップ言語データ構造を格納しているコンピュータ可読媒体であって、
プログラミング言語クラスにマップされるデータを含む第1のフィールドと、
前記クラスのプロパティおよびイベントの一方にマップされるデータを含む第2のデータフィールドと
を含むことを特徴とするコンピュータ可読媒体。 - 前記第1のフィールドおよび前記第2のフィールドを解釈するために少なくとも1つのアセンブリおよび少なくとも1つの名前空間を有する定義ファイルを取り出すためのURL(uniform resource locator)を示すデータを含む第3のフィールドをさらに含むことを特徴とする請求項1に記載のコンピュータ可読媒体。
- 前記第2のデータフィールドが*文字を有している場合、前記第2のデータフィールドは、前記データ構造のプロセス中に、新しくインスタンス化されたオブジェクトおよび既存の参照されるオブジェクトの一方に等しい値に設定されることを特徴とする請求項1に記載のコンピュータ可読媒体。
- 前記第2のデータフィールドは複合プロパティを格納しており、前記第2のデータフィールドがテキスト文字列である場合、前記第2のデータフィールドが処理されると、型コンバータが呼び出されることを特徴とする請求項1に記載のコンピュータ可読媒体。
- 前記第2のデータフィールドが他のタグである場合、前記第2のデータフィールドが処理されると、前記他のタグの名前に基づくクラスが探され、前記他のタグの名前に基づくクラスのオブジェクトがインスタンス化され、前記オブジェクトがプロパティの値として前記タグに設定されることを特徴とする請求項4に記載のコンピュータ可読媒体。
- オブジェクトを宣言的に定義するための方法であって、
少なくとも1つの名前空間を有する定義ファイルの位置のURLをルートタグおよびマッピングタグのうちの一方のxmlns属性にマップするステップと、
前記少なくとも1つの名前空間内のクラス名にタグ名を設定するステップと、
前記オブジェクトがプロパティ設定を有している場合、プロパティ名に前記タグの属性を設定するステップと
を含むことを特徴とする方法。 - 前記オブジェクトが定義されたイベントを有する場合、前記タグの属性をイベント名に設定するステップをさらに含むことを特徴とする請求項6に記載の方法。
- プログラミングコードの1つをページおよびリソースに追加する定義タグを定義するステップをさらに含むことを特徴とする請求項6に記載の方法。
- 前記プログラミングコードの1つを前記ページおよび前記リソースに追加する定義タグを定義するステップは、def:Code要素を設定して前記プログラミングコードを前記ページに追加することを含むことを特徴とする請求項8に記載の方法。
- クラスに関連付けられていない属性を追加する定義タグを定義するステップをさらに含むことを特徴とする請求項6に記載の方法。
- クラスに関連付けられていない属性を追加する定義タグを定義するステップは、def:Language属性をコードのコンパイルに使用する言語を指定するように設定することを含むことを特徴とする請求項10に記載の方法。
- ピリオドで区切られた第1のセクションおよび第2のセクションとして属性を表し、前記第1のセクションは前記プロパティおよびイベントの一方が定義される前記クラスに対応するクラス名に設定され、前記第2のセクションは前記プロパティおよび前記イベントの一方の名前に設定されるステップをさらに含むことを特徴とする請求項6に記載の方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2009193622A JP4988797B2 (ja) | 2003-05-16 | 2009-08-24 | オブジェクトを作成するための方法およびプログラム |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/US2003/015692 WO2004107195A1 (en) | 2003-05-16 | 2003-05-16 | Declarative mechanism for defining a hierarchy of objects |
| JP2009193622A JP4988797B2 (ja) | 2003-05-16 | 2009-08-24 | オブジェクトを作成するための方法およびプログラム |
Related Parent Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2004567659A Division JP2006526180A (ja) | 2003-05-16 | 2003-05-16 | オブジェクトの階層を定義するための宣言的(declative)機構 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2009283010A true JP2009283010A (ja) | 2009-12-03 |
| JP4988797B2 JP4988797B2 (ja) | 2012-08-01 |
Family
ID=56291125
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2009193622A Expired - Fee Related JP4988797B2 (ja) | 2003-05-16 | 2009-08-24 | オブジェクトを作成するための方法およびプログラム |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP4988797B2 (ja) |
-
2009
- 2009-08-24 JP JP2009193622A patent/JP4988797B2/ja not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JP4988797B2 (ja) | 2012-08-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7464329B2 (en) | Declarative mechanism for defining a hierarchy of objects | |
| US7577938B2 (en) | Data association | |
| US7178101B2 (en) | Content template system | |
| US20050188350A1 (en) | Data binding | |
| US20040046789A1 (en) | Extensible user interface (XUI) framework and development environment | |
| CN100530083C (zh) | 用于创建应用程序的系统及方法 | |
| US8095565B2 (en) | Metadata driven user interface | |
| US7299411B2 (en) | Providing a presentation engine adapted for use by a constrained resource client device | |
| US10008009B1 (en) | Method for generating dynamic vector graphics | |
| CN101308489B (zh) | 电子表单中的声明式尺寸可变列表 | |
| US20050091672A1 (en) | Facilitating presentation functionality through a programming interface media namespace | |
| US20100011284A1 (en) | Dynamic web page behavior | |
| US10061575B2 (en) | Managed execution environment for software application interfacing | |
| WO2002023336A1 (en) | Xml-based graphical user interface application development toolkit | |
| KR101292982B1 (ko) | Clr 객체의 계층 구조 결정 방법, 컴퓨터 판독가능 매체, 객체를 선언적으로 정의하는 방법, clr 객체의 계층 구조 결정 메카니즘, 및 clr 객체를 선언적으로 정의하는 장치 | |
| US8225217B2 (en) | Method and system for displaying information on a user interface | |
| US20100269032A1 (en) | Advanced text completion, such as for markup languages | |
| US8458586B2 (en) | X/HTML support for silverlight applications | |
| de Moura et al. | Interface Development for Hypermedia Applications in the Semantic Web. | |
| US20050268233A1 (en) | System and method for mixed language editing | |
| Nebeling et al. | XCML: providing context-aware language extensions for the specification of multi-device web applications | |
| JP4988797B2 (ja) | オブジェクトを作成するための方法およびプログラム | |
| Dengler et al. | Scalable vector graphics (SVG) 1.1 | |
| Guetari | XML as a dynamic UI and database access customization mean | |
| Gibbons | Working with XML |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090824 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100115 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100309 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20100525 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20100825 |
|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20100917 |
|
| RD13 | Notification of appointment of power of sub attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7433 Effective date: 20110118 |
|
| A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A821 Effective date: 20110118 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120426 |
|
| R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150511 Year of fee payment: 3 |
|
| S111 | Request for change of ownership or part of ownership |
Free format text: JAPANESE INTERMEDIATE CODE: R313113 |
|
| R350 | Written notification of registration of transfer |
Free format text: JAPANESE INTERMEDIATE CODE: R350 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
| LAPS | Cancellation because of no payment of annual fees |