public class XMLSample extends MessageSample
| Modifier and Type | Field and Description |
|---|---|
static XMLSample |
ENTITY_REFERENCE_NESTED |
static XMLSample |
LARGE
An XML document that is larger than the input buffer of typical XML parsers.
|
static XMLSample |
SIMPLE
A simple XML document without any particular features.
|
| Modifier | Constructor and Description |
|---|---|
protected |
XMLSample(MessageContent content,
String name) |
| Modifier and Type | Method and Description |
|---|---|
Document |
getDocument() |
String |
getEncoding() |
String |
getName()
Get the name of this message (for use in test case naming e.g.).
|
boolean |
hasDTD() |
boolean |
hasEntityReferences() |
boolean |
hasExternalSubset() |
boolean |
hasInternalSubset() |
getInputStream, getUrlgetAdapter, getInstancespublic static final XMLSample SIMPLE
public static final XMLSample LARGE
public static final XMLSample ENTITY_REFERENCE_NESTED
protected XMLSample(MessageContent content, String name)
public final String getName()
public final String getEncoding()
public final boolean hasDTD()
public final boolean hasExternalSubset()
public final boolean hasInternalSubset()
public final boolean hasEntityReferences()
public final Document getDocument()
Copyright ? The Apache Software Foundation. All Rights Reserved.