Class UpperCaseHandler

java.lang.Object
com.x2j.converter.mgr.handlers.impl.UpperCaseHandler
All Implemented Interfaces:
X2JStringHandler

public class UpperCaseHandler extends Object implements X2JStringHandler
The handler for the X2JStringHandler interface for the UPPER keyword. This handler will resolve the XPATH as provided in the schema and returns the String value in upper case.
  • Constructor Details

    • UpperCaseHandler

      public UpperCaseHandler()
  • Method Details

    • handleString

      public String handleString(String rawValueString, Element rootElement) throws X2JException
      Returns the resolved XPATH value string in upper case.
      Specified by:
      handleString in interface X2JStringHandler
      Parameters:
      rawValueString - the raw JSON value string
      rootElement - the root element in the input XML
      Returns:
      the resolved XPATH value string in upper case
      Throws:
      X2JException - X2JException