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 Details

    • test

      public boolean test(AttributeDefinition attribute)
      Specified by:
      test in interface Predicate<AttributeDefinition>
    • writeContent

      public void writeContent(org.jboss.staxmapper.XMLExtendedStreamWriter writer, org.jboss.dmr.ModelNode model) throws XMLStreamException
      Specified by:
      writeContent in interface org.jboss.staxmapper.XMLElementWriter<org.jboss.dmr.ModelNode>
      Throws:
      XMLStreamException
    • isEmpty

      public boolean isEmpty(org.jboss.dmr.ModelNode model)
      Description copied from interface: XMLContentWriter
      Indicates whether the specified content is empty.
      Specified by:
      isEmpty in interface XMLContentWriter<org.jboss.dmr.ModelNode>