Package org.xwiki.filter.xml
Class XMLConfiguration
java.lang.Object
org.xwiki.filter.xml.XMLConfiguration
Allow to customize the syntax.
- Since:
- 5.2M1
- Version:
- $Id: e1c44412103ad1f640b5c08bab2700a48ecdfbaf $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
The default name of the attribute containing the name of the block.static final String
The default name of the attribute containing the name of the parameter.static final String
The default name of the attribute containing the type of the parameter.static final String
The default name of block element.static final String
The default name of the parameter element.static final String
The default name of the parameter element. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setAttributeBlockName
(String attributeBlockName) void
setAttributeParameterName
(String attributeParameterName) void
setAttributeParameterType
(String attributeParameterType) void
setElementBlock
(String elementBlock) void
setElementParameters
(String elementParameters)
-
Field Details
-
DEFAULT_ELEM_BLOCK
The default name of block element.- See Also:
-
DEFAULT_ATT_BLOCK_NAME
The default name of the attribute containing the name of the block.- See Also:
-
DEFAULT_ATT_PARAMETER_NAME
The default name of the attribute containing the name of the parameter.- See Also:
-
DEFAULT_ATT_PARAMETER_TYPE
The default name of the attribute containing the type of the parameter.- See Also:
-
DEFAULT_ELEM_PARAMETER
The default name of the parameter element.- See Also:
-
DEFAULT_ELEM_PARAMETERS
The default name of the parameter element.- See Also:
-
-
Constructor Details
-
XMLConfiguration
public XMLConfiguration()Default constructor.
-
-
Method Details
-
getElementBlock
- Returns:
- the name of the block element
-
setElementBlock
- Parameters:
elementBlock
- the name of the block element
-
getElementParameters
- Returns:
- the name of the parameters element
-
setElementParameters
- Parameters:
elementParameters
- the name of the parameters element
-
getAttributeBlockName
- Returns:
- the name of the attribute containing the name of the block
-
setAttributeBlockName
- Parameters:
attributeBlockName
- the name of the attribute containing the name of the block
-
getAttributeParameterName
- Returns:
- the name of the attribute containing the name of the parameter
-
setAttributeParameterName
- Parameters:
attributeParameterName
- the name of the attribute containing the name of the parameter
-
getAttributeParameterType
- Returns:
- the name of the attribute containing the type of the parameter
-
setAttributeParameterType
- Parameters:
attributeParameterType
- the name of the attribute containing the type of the parameter
-