public enum EntityExpansion extends Enum<EntityExpansion>
| Enum Constant and Description |
|---|
ALL
Accept XML documents with references to external files and expand internal entity references in the XML body.
|
INTERNAL
Never accept XML documents with references to external files but do expand internal entity references in the XML body.
|
NEVER
Never accept XML documents with references to external files nor expand internal entity references in the XML body.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAcceptExternalEntities() |
boolean |
isExpandInternalEntities() |
static EntityExpansion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EntityExpansion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EntityExpansion NEVER
public static final EntityExpansion INTERNAL
public static final EntityExpansion ALL
public static EntityExpansion[] values()
for (EntityExpansion c : EntityExpansion.values()) System.out.println(c);
public static EntityExpansion valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic boolean isAcceptExternalEntities()
public boolean isExpandInternalEntities()
Copyright © 2026 MuleSoft, Inc.. All rights reserved.