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