このページはEtoJ逐語翻訳フィルタによって翻訳生成されました。

翻訳前ページへ


Interface XDocumentRepository
Language

The 解放する/自由な and Open 生産性 控訴
解放(する)d: Apache OpenOffice 4.1.16

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: 星/主役にする :: rdf ::

unpublished interface XDocumentRepository
Base Interfaces
XDocumentRepositoryXRepository

XRepository
(言及/関連d interface's 要約:)
供給するs 接近 to a 始める,決める of 指名するd RDF graphs.
Usage 制限s
not published
Description
延長するs XRepository with 文書-明確な/細部 functionality.

This subclass of XRepository 供給するs some methods which only make sense for repositories that are 大(公)使館員d to a 文書. For example, the methods 許す for manipulating in-content metadata, which is 蓄える/店d as RDFa.

Since
OOo 3.2
See also
XRepositorySupplier, XDocumentMetadataAccess

Methods' 要約
setStatementRDFa update the RDFa 声明(s) that correspond to an ODF element in the repository.  
removeStatementRDFa 除去する the RDFa 声明(s) that correspond to an ODF element from the repository.  
getStatementRDFa find the RDFa 声明(s) associated with an ODF element.  
getStatementsRDFa gets matching RDFa 声明s from the repository.  
Methods' 詳細(に述べる)s
setStatementRDFa
無効の
setStatementRDFa( [in] XResource  支配する,
[in] sequence< XURI >  Predicates,
[in] XMetadatable  反対する,
[in] string  RDFaContent,
[in] XURI  RDFaDatatype )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
RepositoryException );

Description
update the RDFa 声明(s) that correspond to an ODF element in the repository.

This method will do the に引き続いて steps:

  1. 除去する all 以前 始める,決める RDFa 声明s for the 反対する parameter from the repository
  2. If the RDFaContent parameter is the empty string, for every Predicate in the given 名簿(に載せる)/表(にあげる) of Predicates, 追加する the に引き続いて RDF 声明 to an 明示していない 指名するd graph:
    • 支配する Predicate XLiteral(反対する->getText()^^RDFaDatatype)
  3. If the RDFaContent parameter is not the empty string, for every Predicate in the given 名簿(に載せる)/表(にあげる) of Predicates, 追加する the に引き続いて RDF 声明 to an 明示していない 指名するd graph:
    • 支配する Predicate XLiteral(RDFaContent^^RDFaDatatype)

RDFa 声明s are 扱うd 特に because they are not 論理(学)上 part of any 指名するd graph in the repository. Also, they have rather unusual semantics; just using XNamedGraph::addStatement would be あいまいな: if the 反対する is a XMetadatable, do we 挿入する the 反対する itself (URI) or its literal content (RDFa)?

Parameter 支配する
the 支配する of the RDF 3倍になる(s).
Parameter Predicates
the predicates of the RDF 3倍になる(s).
Parameter 反対する
the 反対する of the RDF 3倍になる(s) is the text content of this parameter.
Parameter RDFaContent
the rdfa:content せいにする (may be the empty string).
Parameter RDFaDatatype
the rdfa:datatype せいにする (may be NULL)
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if any parameter is NULL, Predicates is empty, or 反対する is of a type that can not have RDFa metadata 大(公)使館員d.
Throws
RepositoryException if an error occurs when 接近ing the repository.
removeStatementRDFa
無効の
removeStatementRDFa( [in] XMetadatable  Element )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
RepositoryException );

Description
除去する the RDFa 声明(s) that correspond to an ODF element from the repository.

RDFa 声明s are 扱うd 特に because they are not 論理(学)上 part of any graph.

Parameter Element
the element whose RDFa 声明(s) should be 除去するd
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given Element is NULL, or of a type that can not have RDFa metadata 大(公)使館員d.
Throws
RepositoryException if an error occurs when 接近ing the repository.
getStatementRDFa
::com::sun::星/主役にする::beans::Pair< sequence< 声明 >, boolean >
getStatementRDFa( [in] XMetadatable  Element )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
RepositoryException );

Description
find the RDFa 声明(s) associated with an ODF element.
Parameter Element
the ODF element for which RDFa 声明s should be 設立する
Returns
  • if the element has no RDFa meta-data せいにするs: the empty sequence.
  • if the element has RDFa meta-data せいにするs:
    • a sequence with the RDFa-声明s corresponding to the せいにするs.
    • a 旗 示すing whether there is a xhtml:content せいにする.
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given Element is NULL, or of a type that can not have RDFa metadata 大(公)使館員d.
Throws
RepositoryException if an error occurs when 接近ing the repository.
See also
声明
getStatementsRDFa
::com::sun::星/主役にする::コンテナ::XEnumeration
getStatementsRDFa( [in] XResource  支配する,
[in] XURI  Predicate,
[in] XNode  反対する )
raises( RepositoryException );

Description
gets matching RDFa 声明s from the repository.

This method 存在するs because RDFa 声明s are not part of any 指名するd graph, and thus they cannot be enumerated with XNamedGraph::getStatements.

Any parameter may be NULL, which 行為/法令/行動するs as a wildcard. For example, to get all 声明s about myURI: getStatementsRDFa(myURI, null, null)

Parameter 支配する
the 支配する of the RDF 3倍になる.
Parameter Predicate
the predicate of the RDF 3倍になる.
Parameter 反対する
the 反対する of the RDF 3倍になる.
Returns
an iterator over all RDFa 声明s in the repository that match the parameters, 代表するd as an enumeration of 声明
Throws
RepositoryException if an error occurs when 接近ing the repository.
See also
声明, XRepository::getStatements, XNamedGraph::getStatements
最高の,を越す of Page

The ASF

Copyright & License | Privacy | 接触する Us | 寄付する | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are 登録(する)d trademarks of The Apache ソフトウェア 創立/基礎. The ASF logo is a trademark of The Apache ソフトウェア 創立/基礎. Other 指名するs appearing on the 場所/位置 may be trademarks of their 各々の owners.