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

翻訳前ページへ


Interface XRepository
Language

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

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

unpublished interface XRepository
Usage 制限s
not published
Description
供給するs 接近 to a 始める,決める of 指名するd RDF graphs.

A repository for 蓄える/店ing (警察などへの)密告,告訴(状) によれば the data model of the 資源 Description 枠組み. This interface may be used e.g. for repositories that correspond to a 負担d ODF 文書, or for repositories that are 支援するd by some 肉親,親類d of database.

The RDF 3倍になるs are 蓄える/店d as a 始める,決める of 指名するd RDF graphs. 輸入するing and 輸出(する)ing とじ込み/提出するs in the RDF/XML 判型 is supported. Support for other とじ込み/提出する 判型s is optional. Support for querying the repository with the SPARQL query language is 供給するd.

Since
OOo 3.2
See also
XRepositorySupplier, XDocumentRepository

Methods' 要約
createBlankNode creates a fresh unique blank node.  
importGraph 輸入するs a 指名するd graph into the repository.  
exportGraph 輸出(する)s a 指名するd graph from the repository.  
getGraphNames gets the 指名するs of all the graphs in the repository.  
getGraph gets a graph by its 指名する.  
createGraph creates a graph with the given 指名する.  
destroyGraph destroys the graph with the given 指名する, and 除去するs it from the repository.  
getStatements gets matching RDF 声明s from the repository.  
querySelect 遂行する/発効させるs a SPARQL "SELECT" query.  
queryConstruct 遂行する/発効させるs a SPARQL "CONSTRUCT" query.  
queryAsk 遂行する/発効させるs a SPARQL "ASK" query.  
Methods' 詳細(に述べる)s
createBlankNode
XBlankNode
createBlankNode();

Description
creates a fresh unique blank node.
Returns
a newly 生成するd blank node which is unique in this repository
importGraph
XNamedGraph
importGraph( [in] short  判型,
[in] ::com::sun::星/主役にする::io::XInputStream  InStream,
[in] XURI  GraphName,
[in] XURI  BaseURI )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException,
::com::sun::星/主役にする::コンテナ::ElementExistException,
ParseException,
RepositoryException,
::com::sun::星/主役にする::io::IOException );

Description
輸入するs a 指名するd graph into the repository.

実施s must support RDF/XML 判型. Support for other RDF 判型s is optional. If the 判型 is not supported by the 実施, an ::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException is raised. If the 判型 要求するs use of a BaseURI, but 非,不,無 is given, an ::com::sun::星/主役にする::lang::IllegalArgumentException is raised.

Parameter 判型
the 判型 of the input とじ込み/提出する
Parameter InStream
the input stream, 含む/封じ込めるing an RDF とじ込み/提出する in the 明示するd 判型
Parameter GraphName
the 指名する of the graph that is 輸入するd
Parameter BaseURI
a base URI to 解決する 親族 URI 言及/関連s
Returns
the 輸入するd graph
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given stream or the GraphName is NULL, or BaseURI is NULL and the 判型 要求するs use of a base URI
Throws
com::sun::星/主役にする::datatransfer::UnsupportedFlavorException if the 判型 requested is unknown or not supported
Throws
com::sun::星/主役にする::コンテナ::ElementExistException if a graph with the given GraphName already 存在するs in the repository
Throws
ParseException if the input does not 適合する to the 明示するd とじ込み/提出する 判型.
Throws
RepositoryException if an error occurs when 接近ing the repository.
Throws
com::sun::星/主役にする::io::IOException if an I/O error occurs.
See also
FileFormat
exportGraph
無効の
exportGraph( [in] short  判型,
[in] ::com::sun::星/主役にする::io::XOutputStream  OutStream,
[in] XURI  GraphName,
[in] XURI  BaseURI )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException,
::com::sun::星/主役にする::コンテナ::NoSuchElementException,
RepositoryException,
::com::sun::星/主役にする::io::IOException );

Description
輸出(する)s a 指名するd graph from the repository.

実施s must support RDF/XML 判型. Support for other RDF 判型s is optional. If the 判型 is not supported by the 実施, an ::com::sun::星/主役にする::datatransfer::UnsupportedFlavorException is raised.

Parameter 判型
the 判型 of the 生産(高) とじ込み/提出する
Parameter OutStream
the 的 生産(高) stream
Parameter GraphName
the 指名する of the graph that is to be 輸出(する)d
Parameter BaseURI
a base URI to 解決する 親族 URI 言及/関連s
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given stream or the GraphName is NULL, or BaseURI is NULL and the 判型 要求するs use of a base URI
Throws
com::sun::星/主役にする::datatransfer::UnsupportedFlavorException if the 判型 requested is unknown or not supported
Throws
com::sun::星/主役にする::コンテナ::NoSuchElementException if a graph with the given GraphName does not 存在する
Throws
RepositoryException if an error occurs when 接近ing the repository.
Throws
com::sun::星/主役にする::io::IOException if an I/O error occurs.
See also
FileFormat
getGraphNames
sequence< XURI >
getGraphNames()
raises( RepositoryException );

Description
gets the 指名するs of all the graphs in the repository.
Returns
a 名簿(に載せる)/表(にあげる) 含む/封じ込めるing the 指名するs of the graphs in the repository
Throws
RepositoryException if an error occurs when 接近ing the repository.
getGraph
XNamedGraph
getGraph( [in] XURI  GraphName )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
RepositoryException );

Description
gets a graph by its 指名する.
Parameter GraphName
the 指名する of the graph that is to be returned
Returns
the graph with the given 指名する if it 存在するs, else NULL
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given GraphName is 無効の
Throws
RepositoryException if an error occurs when 接近ing the repository.
createGraph
XNamedGraph
createGraph( [in] XURI  GraphName )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::コンテナ::ElementExistException,
RepositoryException );

Description
creates a graph with the given 指名する.

The 指名する must be unique within the repository.

Parameter GraphName
the 指名する of the graph that is to be created
Returns
the graph with the given 指名する
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given GraphName is 無効の
Throws
com::sun::星/主役にする::コンテナ::ElementExistException if a graph with the given GraphName already 存在するs
Throws
RepositoryException if an error occurs when 接近ing the repository.
destroyGraph
無効の
destroyGraph( [in] XURI  GraphName )
raises( ::com::sun::星/主役にする::lang::IllegalArgumentException,
::com::sun::星/主役にする::コンテナ::NoSuchElementException,
RepositoryException );

Description
destroys the graph with the given 指名する, and 除去するs it from the repository.

This 無効にするs any instances of XNamedGraph for the argument.

Parameter GraphName
the 指名する of the graph that is to be destroyed
Throws
com::sun::星/主役にする::lang::IllegalArgumentException if the given GraphName is 無効の
Throws
com::sun::星/主役にする::コンテナ::NoSuchElementException if a graph with the given GraphName does not 存在する
Throws
RepositoryException if an error occurs when 接近ing the repository.
getStatements
::com::sun::星/主役にする::コンテナ::XEnumeration
getStatements( [in] XResource  支配する,
[in] XURI  Predicate,
[in] XNode  反対する )
raises( RepositoryException );

Description
gets matching RDF 声明s from the repository.

Any parameter may be NULL, which 行為/法令/行動するs as a wildcard. For example, to get all 声明s about myURI: getStatements(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 RDF 声明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
声明, XNamedGraph::getStatements
querySelect
XQuerySelectResult
querySelect( [in] string  Query )
raises( QueryException,
RepositoryException );

Description
遂行する/発効させるs a SPARQL "SELECT" query.

This method runs a SPARQL query that returns a 名簿(に載せる)/表(にあげる) of variable bindings, i.e., a query beginning with "SELECT". The result is 基本的に a (rectangular) (米)棚上げする/(英)提議する with labeled columns, where individual 独房s may be NULL.

Parameter Query
the SPARQL query string
Returns
an enumeration, 含む/封じ込めるing
  1. a 名簿(に載せる)/表(にあげる) of query variable 指名するs (column labels)
  2. the query results (列/漕ぐ/騒動s), each 存在 a 名簿(に載せる)/表(にあげる) of bindings for the above variables
Throws
QueryException if the query is malformed, or evaluation fails
Throws
RepositoryException if an error occurs when 接近ing the repository.
See also
XQuerySelectResult
queryConstruct
::com::sun::星/主役にする::コンテナ::XEnumeration
queryConstruct( [in] string  Query )
raises( QueryException,
RepositoryException );

Description
遂行する/発効させるs a SPARQL "CONSTRUCT" query.

This method runs a SPARQL query that 建設するs a result graph, i.e., a query beginning with "CONSTRUCT".

Parameter Query
the SPARQL query string
Returns
an iterator over the query result graph, 代表するd as an enumeration of 声明
Throws
QueryException if the query is malformed, or evaluation fails
Throws
RepositoryException if an error occurs when 接近ing the repository.
See also
声明
queryAsk
boolean
queryAsk( [in] string  Query )
raises( QueryException,
RepositoryException );

Description
遂行する/発効させるs a SPARQL "ASK" query.

This method runs a SPARQL query that 計算するs a boolean, i.e., a query beginning with "ASK".

Parameter Query
the SPARQL query string
Returns
the boolean query result
Throws
QueryException if the query is malformed, or evaluation fails
Throws
RepositoryException if an error occurs when 接近ing the repository.
最高の,を越す of Page

Apache Software Foundation

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

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