org.mockserver.matchers
Class StringToXmlDocumentParser

java.lang.Object
  extended by org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
      extended by org.mockserver.matchers.StringToXmlDocumentParser

public class StringToXmlDocumentParser
extends ObjectWithReflectiveEqualsHashCodeToString

Author:
jamesdbloom

Nested Class Summary
static interface StringToXmlDocumentParser.ErrorLogger
           
 
Field Summary
 
Fields inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
logger
 
Constructor Summary
StringToXmlDocumentParser()
           
 
Method Summary
 Document buildDocument(String matched, StringToXmlDocumentParser.ErrorLogger errorLogger)
           
 String normaliseXmlString(String matched, StringToXmlDocumentParser.ErrorLogger errorLogger)
           
 
Methods inherited from class org.mockserver.model.ObjectWithReflectiveEqualsHashCodeToString
addFieldsExcludedFromEqualsAndHashCode, equals, fieldsExcludedFromEqualsAndHashCode, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringToXmlDocumentParser

public StringToXmlDocumentParser()
Method Detail

normaliseXmlString

public String normaliseXmlString(String matched,
                                 StringToXmlDocumentParser.ErrorLogger errorLogger)
                          throws IOException,
                                 SAXException,
                                 ParserConfigurationException
Throws:
IOException
SAXException
ParserConfigurationException

buildDocument

public Document buildDocument(String matched,
                              StringToXmlDocumentParser.ErrorLogger errorLogger)
                       throws ParserConfigurationException,
                              IOException,
                              SAXException
Throws:
ParserConfigurationException
IOException
SAXException


Copyright © 2016. All rights reserved.