Class DeploymentSpecXmlReader
- java.lang.Object
-
- com.yahoo.config.application.api.xml.DeploymentSpecXmlReader
-
public class DeploymentSpecXmlReader extends java.lang.Object
- Author:
- bratseth
-
-
Constructor Summary
Constructors Constructor Description DeploymentSpecXmlReader()
Creates a validating readerDeploymentSpecXmlReader(boolean validate)
Creates a deployment spec reader
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentSpec
read(java.io.Reader reader)
DeploymentSpec
read(java.lang.String xmlForm)
Reads a deployment spec from XML
-
-
-
Constructor Detail
-
DeploymentSpecXmlReader
public DeploymentSpecXmlReader()
Creates a validating reader
-
DeploymentSpecXmlReader
public DeploymentSpecXmlReader(boolean validate)
Creates a deployment spec reader- Parameters:
validate
- true to validate the input, false to accept any input which can be unambiguously parsed
-
-
Method Detail
-
read
public DeploymentSpec read(java.io.Reader reader)
-
read
public DeploymentSpec read(java.lang.String xmlForm)
Reads a deployment spec from XML
-
-