Input and Output Options 入出力オプション

Input and output options specifically intended for NSXMLDocument objects. とりわけNSXMLDocumentオブジェクトに対して意図される入力および出力オプション。

Declaration 宣言

NSXMLDocumentTidyHTML = 1 << 9,
NSXMLDocumentTidyXML = 1 << 10,
NSXMLDocumentValidate = 1 << 13,
NSXMLDocumentXInclude = 1 << 16,
NSXMLDocumentIncludeContentTypeDeclaration = 1 << 18,

Overview 概要

Because NSXMLDocument is a subclass of NSXMLNode, you can also use the relevant input and output options described in Constants in the NSXMLNode class reference. You can specify input options in the NSXMLDocument methods initWithContentsOfURL:options:error:, initWithData:options:error:, initWithXMLString:options:error:. The XMLDataWithOptions: method takes output options. NSXMLDocumentNSXMLNodeのサブクラスであることから、あなたはまたNSXMLNodeクラスオプションのConstantsで記述される相当する入力と出力オプションを使用できます。あなたは、入力オプションをNSXMLDocumentのメソッドinitWithContentsOfURL:options:error:initWithData:options:error:initWithXMLString:options:error:において指定できます。XMLDataWithOptions:メソッドは、出力オプションを取ります。

Topics 話題

Constants 定数