Class ResourceXMLContainer.ResourceAttributesXMLContentWriter
- java.lang.Object
-
- org.jboss.as.controller.persistence.xml.ResourceXMLContainer.ResourceAttributesXMLContentWriter
-
- All Implemented Interfaces:
Predicate<AttributeDefinition>,XMLContentWriter<org.jboss.dmr.ModelNode>,org.jboss.staxmapper.XMLElementWriter<org.jboss.dmr.ModelNode>
- Enclosing interface:
- ResourceXMLContainer
public static class ResourceXMLContainer.ResourceAttributesXMLContentWriter extends Object implements XMLContentWriter<org.jboss.dmr.ModelNode>, Predicate<AttributeDefinition>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisEmpty(org.jboss.dmr.ModelNode model)Indicates whether the specified content is empty.booleantest(AttributeDefinition attribute)voidwriteContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model)-
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
-
-
-
-
Method Detail
-
test
public boolean test(AttributeDefinition attribute)
- Specified by:
testin interfacePredicate<AttributeDefinition>
-
writeContent
public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model) throws XMLStreamException- Specified by:
writeContentin interfaceorg.jboss.staxmapper.XMLElementWriter<org.jboss.dmr.ModelNode>- Throws:
XMLStreamException
-
isEmpty
public boolean isEmpty(org.jboss.dmr.ModelNode model)
Description copied from interface:XMLContentWriterIndicates whether the specified content is empty.- Specified by:
isEmptyin interfaceXMLContentWriter<org.jboss.dmr.ModelNode>
-
-