Package org.jboss.as.controller.xml
Class XMLElement.DefaultXMLElementWriter<RC,WC,CC>
- java.lang.Object
-
- org.jboss.as.controller.xml.XMLElement.DefaultXMLElementWriter<RC,WC,CC>
-
- All Implemented Interfaces:
XMLContentWriter<WC>,org.jboss.staxmapper.XMLElementWriter<WC>
- Enclosing interface:
- XMLElement<RC,WC>
public static class XMLElement.DefaultXMLElementWriter<RC,WC,CC> extends Object implements XMLContentWriter<WC>
-
-
Constructor Summary
Constructors Constructor Description DefaultXMLElementWriter(QName name, XMLContentWriter<WC> attributesWriter, Function<WC,CC> childContentFactory, XMLContent<RC,CC> childContent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty(WC content)Indicates whether the specified content is empty.voidwriteContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, WC content)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jboss.as.controller.xml.XMLContentWriter
andThen, compose, map
-
-
-
-
Constructor Detail
-
DefaultXMLElementWriter
public DefaultXMLElementWriter(QName name, XMLContentWriter<WC> attributesWriter, Function<WC,CC> childContentFactory, XMLContent<RC,CC> childContent)
-
-
Method Detail
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, WC content) throws XMLStreamException- Specified by:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<RC>- Throws:
XMLStreamException
-
isEmpty
public boolean isEmpty(WC content)
Description copied from interface:XMLContentWriterIndicates whether the specified content is empty.- Specified by:
isEmptyin interfaceXMLContentWriter<RC>
-
-