@MustImplementEqualsAndHashcode public interface IXMLIndentDeterminator extends Serializable
EXMLSerializeIndent) that should be used for a single
element.| Modifier and Type | Method and Description |
|---|---|
EXMLSerializeIndent |
getIndentInner(String sParentNamespaceURI,
String sParentTagName,
String sNamespaceURI,
String sTagName,
Map<QName,String> aAttrs,
boolean bHasChildren,
EXMLSerializeIndent eDefaultIndent)
Determine the outer indentation mode (after the start tag and before the
closing tag).
|
EXMLSerializeIndent |
getIndentOuter(String sParentNamespaceURI,
String sParentTagName,
String sNamespaceURI,
String sTagName,
Map<QName,String> aAttrs,
boolean bHasChildren,
EXMLSerializeIndent eDefaultIndent)
Determine the outer indentation mode (before the start tag and after the
closing tag).
|
@Nonnull EXMLSerializeIndent getIndentOuter(@Nullable String sParentNamespaceURI, @Nullable String sParentTagName, @Nullable String sNamespaceURI, @Nonnull String sTagName, @Nullable Map<QName,String> aAttrs, boolean bHasChildren, @Nonnull EXMLSerializeIndent eDefaultIndent)
sParentNamespaceURI - Optional namespace URI of the parent element (if any). May be
null.sParentTagName - Tag name of the parent element (if any). May be null.sNamespaceURI - Optional namespace URI. May be null.sTagName - Tag name.aAttrs - Optional set of attributes.bHasChildren - true if the current element has childreneDefaultIndent - The default indentation mode provided by the
IXMLWriterSettings. Never null.null.@Nonnull EXMLSerializeIndent getIndentInner(@Nullable String sParentNamespaceURI, @Nullable String sParentTagName, @Nullable String sNamespaceURI, @Nonnull String sTagName, @Nullable Map<QName,String> aAttrs, boolean bHasChildren, @Nonnull EXMLSerializeIndent eDefaultIndent)
sParentNamespaceURI - Optional namespace URI of the parent element (if any). May be
null.sParentTagName - Tag name of the parent element (if any). May be null.sNamespaceURI - Optional namespace URI. May be null.sTagName - Tag name.aAttrs - Optional set of attributes.bHasChildren - true if the current element has childreneDefaultIndent - The default indentation mode provided by the
IXMLWriterSettings. Never null.null.Copyright © 2014–2020 Philip Helger. All rights reserved.