XMLDeclaration Type

The XML declaration present at the beginning of a document.

Remarks

This type contains details about the XML declaration which may be set before writing a document. This is only applicable when writing documents.

Fields

Encoding
String

This field specifies the XML encoding to use.

This may be set before writing a document. The default value is "utf-8".

This is only applicable when writing XML.

Standalone
boolean

This field indicates whether the standalone attribute is present in the declaration with a value of true.

This may be set before writing a document. The default value is "true".

This is only applicable when writing XML.

Version
String

This field specifies the XML version.

This may be set before writing a document. The default value is "1.0".

This is only applicable when writing XML.

Constructors

public XMLDeclaration();



public XMLDeclaration(String version, String encoding, boolean standalone);



Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks EDI 2020 Java Edition - Version 20.0 [Build 7941]