Package org.igniterealtime.jbosh
Class BodyParserResults
java.lang.Object
org.igniterealtime.jbosh.BodyParserResults
Data extracted from a raw XML message by a BodyParser implementation.
Currently, this is limited to the attributes of the wrapper element.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addBodyAttributeValue
(BodyQName name, String value) Add an attribute definition to the results.Returns the map of attributes added by the parser.
-
Field Details
-
attrs
Map of qualified names to their values. This map is defined to match the requirement of theBody
class to prevent excessive copying.
-
-
Constructor Details
-
BodyParserResults
BodyParserResults()Constructor.
-
-
Method Details
-
addBodyAttributeValue
Add an attribute definition to the results.- Parameters:
name
- attribute's qualified namevalue
- attribute value
-
getAttributes
Returns the map of attributes added by the parser.- Returns:
- map of atributes. Note: This is the live instance, not a copy.
-