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
ConstructorsConstructorDescriptionDefaultXMLElementWriter(QName name, XMLContentWriter<WC> attributesWriter, Function<WC, CC> childContentFactory, XMLContent<RC, CC> childContent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates 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, waitMethods inherited from interface org.jboss.as.controller.xml.XMLContentWriter
andThen, compose, map
-
Constructor Details
-
DefaultXMLElementWriter
public DefaultXMLElementWriter(QName name, XMLContentWriter<WC> attributesWriter, Function<WC, CC> childContentFactory, XMLContent<RC, CC> childContent)
-
-
Method Details
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, WC content) throws XMLStreamException - Specified by:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<RC>- Throws:
XMLStreamException
-
isEmpty
Description copied from interface:XMLContentWriterIndicates whether the specified content is empty.- Specified by:
isEmptyin interfaceXMLContentWriter<RC>
-