de.smartics.properties.jboss.extension.resources.util
Class SimpleMapAttributeDefinition

Package class diagram package SimpleMapAttributeDefinition
java.lang.Object
  extended by org.jboss.as.controller.AttributeDefinition
      extended by org.jboss.as.controller.MapAttributeDefinition
          extended by de.smartics.properties.jboss.extension.resources.util.SimpleMapAttributeDefinition

public final class SimpleMapAttributeDefinition
     
     
extends org.jboss.as.controller.MapAttributeDefinition

A map of simple map values.


Nested Class Summary
static class SimpleMapAttributeDefinition.Builder
          Builds instances of SimpleMapAttributeDefinition.
 
Method Summary
protected  void addAttributeValueTypeDescription(org.jboss.dmr.ModelNode result, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
           
protected  void addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode result, String operationName, org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver, Locale locale, ResourceBundle bundle)
           
protected  void addValueTypeDescription(org.jboss.dmr.ModelNode node, ResourceBundle bundle)
           
 String getWrapperXmlName()
          Returns the name of the XML element that encloses the items named by xmlName.
 String getXmlAttributeName()
          Returns the name of the XML attribute that references the type name.
 void marshallAsElement(org.jboss.dmr.ModelNode resourceModel, XMLStreamWriter writer)
           
 Map<String,String> toStringMap(org.jboss.dmr.ModelNode resourceModel)
           
 
Methods inherited from class org.jboss.as.controller.MapAttributeDefinition
addOperationParameterDescription, addOperationParameterDescription, addResourceAttributeDescription, addResourceAttributeDescription, parse, parseAndAddParameterElement
 
Methods inherited from class org.jboss.as.controller.AttributeDefinition
correctValue, getAlternatives, getAttributeTextDescription, getDefaultValue, getFlags, getMeasurementUnit, getName, getNoTextDescription, getRequires, getType, getValidator, getXmlName, hasAlternative, isAllowed, isAllowExpression, isAllowNull, isMarshallable, isMarshallable, isRequired, resolveModelAttribute, validateAndSet, validateOperation, validateResolvedOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWrapperXmlName

public String getWrapperXmlName()
Returns the name of the XML element that encloses the items named by xmlName.

Returns:
the name of the XML element that encloses the items named by xmlName.

getXmlAttributeName

public String getXmlAttributeName()
Returns the name of the XML attribute that references the type name.

Returns:
the name of the XML attribute that references the type name.

addValueTypeDescription

protected void addValueTypeDescription(org.jboss.dmr.ModelNode node,
                                       ResourceBundle bundle)
Specified by:
addValueTypeDescription in class org.jboss.as.controller.MapAttributeDefinition

addAttributeValueTypeDescription

protected void addAttributeValueTypeDescription(org.jboss.dmr.ModelNode result,
                                                org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver,
                                                Locale locale,
                                                ResourceBundle bundle)
Specified by:
addAttributeValueTypeDescription in class org.jboss.as.controller.MapAttributeDefinition

addOperationParameterValueTypeDescription

protected void addOperationParameterValueTypeDescription(org.jboss.dmr.ModelNode result,
                                                         String operationName,
                                                         org.jboss.as.controller.descriptions.ResourceDescriptionResolver resolver,
                                                         Locale locale,
                                                         ResourceBundle bundle)
Specified by:
addOperationParameterValueTypeDescription in class org.jboss.as.controller.MapAttributeDefinition

marshallAsElement

public void marshallAsElement(org.jboss.dmr.ModelNode resourceModel,
                              XMLStreamWriter writer)
                       throws XMLStreamException
Specified by:
marshallAsElement in class org.jboss.as.controller.AttributeDefinition
Throws:
XMLStreamException

toStringMap

public Map<String,String> toStringMap(org.jboss.dmr.ModelNode resourceModel)


Copyright © 2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.