Class TidyMarkupDataFormat.Builder
- java.lang.Object
-
- org.apache.camel.model.dataformat.TidyMarkupDataFormat.Builder
-
- All Implemented Interfaces:
DataFormatBuilder<TidyMarkupDataFormat>
- Enclosing class:
- TidyMarkupDataFormat
public static class TidyMarkupDataFormat.Builder extends Object implements DataFormatBuilder<TidyMarkupDataFormat>
Builder
is a specific builder forTidyMarkupDataFormat
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TidyMarkupDataFormat.Builder
dataObjectType(Class<?> dataObjectType)
What data type to unmarshal as, can either be org.w3c.dom.Node or java.lang.String.TidyMarkupDataFormat.Builder
dataObjectTypeName(String dataObjectTypeName)
What data type to unmarshal as, can either be org.w3c.dom.Node or java.lang.String.TidyMarkupDataFormat
end()
Ends the build of the data format.TidyMarkupDataFormat.Builder
omitXmlDeclaration(boolean omitXmlDeclaration)
When returning a String, do we omit the XML declaration in the top.TidyMarkupDataFormat.Builder
omitXmlDeclaration(String omitXmlDeclaration)
When returning a String, do we omit the XML declaration in the top.
-
-
-
Method Detail
-
dataObjectType
public TidyMarkupDataFormat.Builder dataObjectType(Class<?> dataObjectType)
What data type to unmarshal as, can either be org.w3c.dom.Node or java.lang.String. Is by default org.w3c.dom.Node
-
dataObjectTypeName
public TidyMarkupDataFormat.Builder dataObjectTypeName(String dataObjectTypeName)
What data type to unmarshal as, can either be org.w3c.dom.Node or java.lang.String. Is by default org.w3c.dom.Node
-
omitXmlDeclaration
public TidyMarkupDataFormat.Builder omitXmlDeclaration(String omitXmlDeclaration)
When returning a String, do we omit the XML declaration in the top.
-
omitXmlDeclaration
public TidyMarkupDataFormat.Builder omitXmlDeclaration(boolean omitXmlDeclaration)
When returning a String, do we omit the XML declaration in the top.
-
end
public TidyMarkupDataFormat end()
Description copied from interface:DataFormatBuilder
Ends the build of the data format.- Specified by:
end
in interfaceDataFormatBuilder<TidyMarkupDataFormat>
- Returns:
- the data format fully built.
-
-