| Methods' 詳細(に述べる)s |
getElementByMetadataReference
- Description
- get the unique ODF element with the given metadata 言及/関連.
- Parameter MetadataReference
- a metadata 言及/関連, 構成するing the stream 指名する and the XML ID
For example: Pair("content.xml", "foo-element-1")
- Returns
- the ODF element with the given metadata 言及/関連s if it 存在するs,
else NULL
|
|
getElementByURI
- Description
- get the ODF element that corresponds to an URI.
- Parameter URI
- an URI that may identify an ODF element
- Returns
- the ODF element that corresponds to the given URI, or NULL
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the given URI is NULL
|
|
getMetadataGraphsWithType
- Description
- get the 指名するs of all metadata とじ込み/提出するs with a given type.
- Parameter Type
- the
rdf:type 所有物/資産/財産 of the requested 指名するd graphs
- Returns
- the 指名するs of all metadata graphs that have a
rdf:type
所有物/資産/財産 with the given Type as 反対する
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the given Type is NULL
|
|
addMetadataFile
- Description
- 追加する a metadata とじ込み/提出する to the manifest.
This convenience method does the に引き続いて:
- create a new graph with the given 指名する in the repository
- 挿入する 声明s 宣言するing the new graph to be a
metadata とじ込み/提出する into the manifest graph
- 挿入する 声明s 宣言するing
rdf:type 所有物/資産/財産s
for the new graph into the manifest graph
- Parameter FileName
- the 指名する of the stream in the ODF 貯蔵 where the graph will
be 蓄える/店d
- Parameter Types
- a 名簿(に載せる)/表(にあげる) of types that will be 挿入するd as
rdf:type
所有物/資産/財産s for the graph
- Returns
- the 指名する of the new graph
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the FileName is 無効の
- Throws
- com::sun::星/主役にする::コンテナ::ElementExistException
if a stream with the given FileName already 存在するs
|
|
importMetadataFile
- Description
- 輸入する a metadata とじ込み/提出する into the 文書 repository, and 追加する it to the
manifest.
This convenience method does the に引き続いて:
- 輸入する the given とじ込み/提出する into a graph with the given 指名する
in the repository
- 挿入する 声明s 宣言するing the new graph to be a
metadata とじ込み/提出する into the manifest graph
- 挿入する 声明s 宣言するing
rdf:type 所有物/資産/財産s
for the new graph into the manifest graph
- Parameter FileName
- the 指名する of the stream in the ODF 貯蔵 where the graph will
be 蓄える/店d
- Parameter BaseURI
- a base URI to 解決する 親族 URI 言及/関連s
- Parameter Types
- a 名簿(に載せる)/表(にあげる) of types that will be 挿入するd as
rdf:type
所有物/資産/財産s for the graph
- Returns
- the 指名する of the new graph
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the given stream is NULL,
or BaseURI is NULL and the 判型 要求するs use of a base URI,
or the FileName is 無効の
- Throws
- com::sun::星/主役にする::datatransfer::UnsupportedFlavorException
if the 判型 requested is unknown or not supported
- Throws
- com::sun::星/主役にする::コンテナ::ElementExistException
if a stream with the given FileName already 存在するs
- Throws
- ParseException
if the input does not 適合する to the 明示するd とじ込み/提出する 判型.
- Throws
- com::sun::星/主役にする::io::IOException
if an I/O error occurs.
- See also
- FileFormat
|
|
removeMetadataFile
- Description
- 除去する a metadata とじ込み/提出する from the manifest and the repository.
This convenience method does the に引き続いて:
- 削除する the graph with the given GraphName in the repository
- 除去する the 声明s 宣言するing the graph to be a
metadata とじ込み/提出する from the manifest graph
- Parameter GraphName
- the 指名する of the graph that is to be 除去するd
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the given GraphName is NULL
- Throws
- com::sun::星/主役にする::コンテナ::NoSuchElementException
if a graph with the given GraphName does not 存在する
|
|
addContentOrStylesFile
- Description
- 追加する a content or styles とじ込み/提出する to the manifest.
This convenience method 追加するs the 要求するd 声明s 宣言するing a
content or styles とじ込み/提出する to the manifest graph.
- If the FileName ends in "content.xml",
an
odf:ContentFile is 追加するd.
- If the FileName ends in "styles.xml" ,
an
odf:StylesFile is 追加するd.
- Other FileNames are 無効の.
- Parameter FileName
- the 指名する of the stream in the ODF 貯蔵
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the FileName is 無効の
- Throws
- com::sun::星/主役にする::コンテナ::ElementExistException
if a stream with the given FileName already 存在するs
|
|
removeContentOrStylesFile
- Description
- 除去する a content or styles とじ込み/提出する from the manifest.
This convenience method 除去するs the 声明s 宣言するing a
content or styles とじ込み/提出する from the manifest graph.
- Parameter FileName
- the 指名する of the stream in the ODF 貯蔵
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the FileName is 無効の
- Throws
- com::sun::星/主役にする::コンテナ::NoSuchElementException
if a graph with the given GraphName does not 存在する
|
|
loadMetadataFromStorage
- Description
- initialize 文書 metadata from a 貯蔵.
This method re-initializes the 文書 metadata,
負担s the stream 指名するd "manifest.rdf" from the 貯蔵, and then
負担s all metadata streams について言及するd in the manifest.
公式文書,認める that it is not an error if the 貯蔵 does not 含む/封じ込める
a manifest.
In this 事例/患者, the 文書 metadata will be default initialized.
If an InteractionHandler argument is given, it will be used for
error 報告(する)/憶測ing. さもなければ, errors will be 報告(する)/憶測d as exceptions.
- Parameter 貯蔵
- a 貯蔵, 代表するing e.g. an ODF 一括 とじ込み/提出する, or sub-文書
- Parameter BaseURI
- a base URI to 解決する 親族 URI 言及/関連s
N.B.: when 負担ing from an ODF 一括, the base URI is not the
URI of the 一括, but the URI of the directory in the 一括
that 含む/封じ込めるs the metadata.rdf
- Parameter InteractionHandler
- an InteractionHandler, used for error 報告(する)/憶測ing
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if any argument is NULL
- Throws
- com::sun::星/主役にする::lang::WrappedTargetException
if an error occurs while 負担ing and no InteractionHandler given
|
|
storeMetadataToStorage
- Description
- 蓄える/店 文書 metadata to a 貯蔵.
This method 蓄える/店s all the graphs in the 文書 metadata repository
to the given 貯蔵.
公式文書,認める that to be 蓄える/店d 正確に, a 指名するd graph must have a 完全にする
入ること/参加(者) in the manifest graph.
- Parameter 貯蔵
- a 貯蔵, 代表するing e.g. an ODF 一括 とじ込み/提出する, or sub-文書
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if 貯蔵 argument is NULL
- Throws
- com::sun::星/主役にする::lang::WrappedTargetException
if an error occurs while 負担ing
|
|
loadMetadataFromMedium
- Description
- 負担s 文書 metadata from a medium.
If the Medium 含む/封じ込めるs an InteractionHandler, it will be used for
error 報告(する)/憶測ing.
- Parameter Medium
- the com::sun::星/主役にする::文書::MediaDescriptor
代表するing the source
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the argument does not 含む/封じ込める a URL or Stream 所有物/資産/財産
- Throws
- com::sun::星/主役にする::lang::WrappedTargetException
if an error occurs while 負担ing
- See also
- ::com::sun::星/主役にする::文書::MediaDescriptor
|
|
storeMetadataToMedium
- Description
- 蓄える/店s 文書 metadata to a medium.
- Parameter Medium
- the com::sun::星/主役にする::文書::MediaDescriptor
代表するing the 的
- Throws
- com::sun::星/主役にする::lang::IllegalArgumentException
if the argument does not 含む/封じ込める a URL or Stream 所有物/資産/財産
- Throws
- com::sun::星/主役にする::lang::WrappedTargetException
if an error occurs while 蓄える/店ing
- See also
- ::com::sun::星/主役にする::文書::MediaDescriptor
|
|
Copyright © 2013, The Apache ソフトウェア 創立/基礎, Licensed under the Apache License, 見解/翻訳/版 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache ソフトウェア 創立/基礎. Other 指名するs may be trademarks of their 各々の owners.