Class XMLConfiguration

java.lang.Object
org.xwiki.filter.xml.XMLConfiguration

public class XMLConfiguration extends Object
Allow to customize the syntax.
Since:
5.2M1
Version:
$Id: e1c44412103ad1f640b5c08bab2700a48ecdfbaf $
  • Field Details

    • DEFAULT_ELEM_BLOCK

      public static final String DEFAULT_ELEM_BLOCK
      The default name of block element.
      See Also:
    • DEFAULT_ATT_BLOCK_NAME

      public static final String DEFAULT_ATT_BLOCK_NAME
      The default name of the attribute containing the name of the block.
      See Also:
    • DEFAULT_ATT_PARAMETER_NAME

      public static final String DEFAULT_ATT_PARAMETER_NAME
      The default name of the attribute containing the name of the parameter.
      See Also:
    • DEFAULT_ATT_PARAMETER_TYPE

      public static final String DEFAULT_ATT_PARAMETER_TYPE
      The default name of the attribute containing the type of the parameter.
      See Also:
    • DEFAULT_ELEM_PARAMETER

      public static final String DEFAULT_ELEM_PARAMETER
      The default name of the parameter element.
      See Also:
    • DEFAULT_ELEM_PARAMETERS

      public static final String DEFAULT_ELEM_PARAMETERS
      The default name of the parameter element.
      See Also:
  • Constructor Details

    • XMLConfiguration

      public XMLConfiguration()
      Default constructor.
  • Method Details

    • getElementBlock

      public String getElementBlock()
      Returns:
      the name of the block element
    • setElementBlock

      public void setElementBlock(String elementBlock)
      Parameters:
      elementBlock - the name of the block element
    • getElementParameters

      public String getElementParameters()
      Returns:
      the name of the parameters element
    • setElementParameters

      public void setElementParameters(String elementParameters)
      Parameters:
      elementParameters - the name of the parameters element
    • getAttributeBlockName

      public String getAttributeBlockName()
      Returns:
      the name of the attribute containing the name of the block
    • setAttributeBlockName

      public void setAttributeBlockName(String attributeBlockName)
      Parameters:
      attributeBlockName - the name of the attribute containing the name of the block
    • getAttributeParameterName

      public String getAttributeParameterName()
      Returns:
      the name of the attribute containing the name of the parameter
    • setAttributeParameterName

      public void setAttributeParameterName(String attributeParameterName)
      Parameters:
      attributeParameterName - the name of the attribute containing the name of the parameter
    • getAttributeParameterType

      public String getAttributeParameterType()
      Returns:
      the name of the attribute containing the type of the parameter
    • setAttributeParameterType

      public void setAttributeParameterType(String attributeParameterType)
      Parameters:
      attributeParameterType - the name of the attribute containing the type of the parameter