Skip to main content
Skip table of contents

XMLUtil

XMLUtil Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.xml
  iTextSharp.text.xml.XMLUtil[[XMLUtil]]
  end

Members

Methods

Public Static methods
ReturnsName
stringEscapeXML(string s, bool onlyASCII)
intFindInArray(char needle, char``[] haystack, int start)
stringGetEncodingName(byte``[] b4)
boolIsValidCharacterValue(...)
intUnescape(string s)
stringUnescapeXML(string s)

Details

Methods

EscapeXML
Source code
public static string EscapeXML(string s, bool onlyASCII)
Arguments
TypeNameDescription
strings
boolonlyASCII
UnescapeXML
Source code
public static string UnescapeXML(string s)
Arguments
TypeNameDescription
strings
Unescape
Source code
public static int Unescape(string s)
Arguments
TypeNameDescription
strings
IsValidCharacterValue [1/2]
Source code
public static bool IsValidCharacterValue(string s)
Arguments
TypeNameDescription
strings
IsValidCharacterValue [2/2]
Source code
public static bool IsValidCharacterValue(int c)
Arguments
TypeNameDescription
intc
FindInArray
Source code
public static int FindInArray(char needle, char[] haystack, int start)
Arguments
TypeNameDescription
charneedle
char``[]haystack
intstart
GetEncodingName
Source code
public static string GetEncodingName(byte[] b4)
Arguments
TypeNameDescription
byte``[]b4

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.