| Package | Description |
|---|---|
| com.helger.commons.xml | |
| com.helger.commons.xml.serialize.write |
| Modifier and Type | Method and Description |
|---|---|
static EXMLVersion |
EXMLVersion.getFromVersionOrDefault(String sVersion,
EXMLVersion eDefault)
Find the
EXMLVersion object matching the passed version string. |
static EXMLVersion |
EXMLVersion.getFromVersionOrNull(String sVersion)
Find the
EXMLVersion object matching the passed version string. |
static EXMLVersion |
EXMLVersion.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EXMLVersion[] |
EXMLVersion.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static EXMLVersion |
EXMLVersion.getFromVersionOrDefault(String sVersion,
EXMLVersion eDefault)
Find the
EXMLVersion object matching the passed version string. |
static Document |
XMLFactory.newDocument(DocumentBuilder aDocBuilder,
EXMLVersion eVersion)
Create a new XML document without document type using a custom document
builder.
|
static Document |
XMLFactory.newDocument(DocumentBuilder aDocBuilder,
EXMLVersion eVersion,
String sQualifiedName,
String sPublicId,
String sSystemId)
Create a new document with a document type using a custom document builder.
|
static Document |
XMLFactory.newDocument(EXMLVersion eVersion)
Create a new XML document without document type using the default document
builder.
|
static Document |
XMLFactory.newDocument(EXMLVersion eVersion,
String sQualifiedName,
String sPublicId,
String sSystemId)
Create a new document with a document type using the default document
builder.
|
| Modifier and Type | Field and Description |
|---|---|
static EXMLVersion |
XMLWriter.DEFAULT_XML_VERSION
The default XML version to be used
|
| Modifier and Type | Method and Description |
|---|---|
EXMLVersion |
XMLWriterSettings.getXMLVersion() |
EXMLVersion |
IXMLWriterSettings.getXMLVersion() |
EXMLVersion |
EXMLSerializeVersion.getXMLVersionOrDefault(EXMLVersion eDefault) |
| Modifier and Type | Method and Description |
|---|---|
static EXMLSerializeVersion |
EXMLSerializeVersion.getFromXMLVersionOrThrow(EXMLVersion eXMLVersion)
Get the
EXMLSerializeVersion from the specified EXMLVersion
. |
static int |
XMLMaskHelper.getMaskedXMLTextLength(EXMLVersion eXMLVersion,
EXMLCharMode eXMLCharMode,
EXMLIncorrectCharacterHandling eIncorrectCharHandling,
String s) |
EXMLVersion |
EXMLSerializeVersion.getXMLVersionOrDefault(EXMLVersion eDefault) |
void |
XMLEmitter.onXMLDeclaration(EXMLVersion eXMLVersion,
String sEncoding,
boolean bStandalone)
At the very beginning of the document (XML declaration).
|
Copyright © 2014–2015 Philip Helger. All rights reserved.