Package | Description |
---|---|
io.restassured.internal.path.xml.mapping | |
io.restassured.path.xml | |
io.restassured.path.xml.config |
Modifier and Type | Method and Description |
---|---|
static <T> Object |
XmlObjectDeserializer.deserialize(String xml,
Class cls,
XmlPathConfig xmlPathConfig) |
Modifier and Type | Field and Description |
---|---|
static XmlPathConfig |
XmlPath.config |
Modifier and Type | Method and Description |
---|---|
XmlPath |
XmlPath.using(XmlPathConfig config)
Configure XmlPath to with a specific XmlPathConfig.
|
Modifier and Type | Method and Description |
---|---|
XmlPathConfig |
XmlPathConfig.allowDocTypeDeclaration(boolean allowDocTypeDeclaration)
Configure if XmlPath should provide support for DOCTYPE declarations (default is ).
|
XmlPathConfig |
XmlPathConfig.and()
For syntactic sugar.
|
XmlPathConfig |
XmlPathConfig.charset(String charset) |
XmlPathConfig |
XmlPathConfig.declaredNamespace(String prefix,
String namespaceURI)
Declares a namespace.
|
XmlPathConfig |
XmlPathConfig.declareNamespaces(Map<String,String> namespacesToDeclare)
Specify declared namespaces that will be used when parsing XML.
|
XmlPathConfig |
XmlPathConfig.defaultObjectDeserializer(XmlPathObjectDeserializer defaultObjectDeserializer)
Creates an json path configuration that uses the specified object de-serializer as default.
|
XmlPathConfig |
XmlPathConfig.defaultParserType(XmlParserType defaultParserType)
Creates an xml path configuration that uses the specified parser type as default.
|
XmlPathConfig |
XmlPathConfig.disableLoadingOfExternalDtd()
Disables external DTD loading.
|
XmlPathConfig |
XmlPathConfig.feature(String uri,
boolean enabled)
Set a value of a feature flag.
|
XmlPathConfig |
XmlPathConfig.features(Map<String,Boolean> features)
Specify features that will be used when parsing XML.
|
XmlPathConfig |
XmlPathConfig.jaxbObjectMapperFactory(JAXBObjectMapperFactory jaxbObjectMapperFactory)
Specify a custom Gson object mapper factory.
|
XmlPathConfig |
XmlPathConfig.namespaceAware(boolean namespaceAware)
Configure if XmlPath should provide support for XML namespaces (default is ).
|
XmlPathConfig |
XmlPathConfig.properties(Map<String,Object> properties)
Specify properties that will be used when parsing XML.
|
XmlPathConfig |
XmlPathConfig.property(String name,
Object value)
Set a value of a property.
|
XmlPathConfig |
XmlPathConfig.validating(boolean isValidating)
Configure if XmlPath should validate documents as they are parsed (default is ).
|
XmlPathConfig |
XmlPathConfig.with()
For syntactic sugar.
|
static XmlPathConfig |
XmlPathConfig.xmlPathConfig() |
Constructor and Description |
---|
XmlPathConfig(XmlPathConfig config)
Create a new instance of a XmlPathConfig based on the properties in the supplied config.
|
Copyright © 2010–2020. All rights reserved.