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