protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOException { if (actor__is_set) { __out.writeAttribute(actor__typeInfo.getNamespace(), "actor", actor); } if (mustUnderstand__is_set) { String val = mustUnderstand ? "1" : "0"; __out.writeAttribute(mustUnderstand__typeInfo.getNamespace(), "mustUnderstand", val); } }
protected void writeFields(XmlOutputStream __out, TypeMapper __typeMapper) throws java.io.IOException { if (actor__is_set) { __out.writeAttribute(actor__typeInfo.getNamespace(), "actor", actor); } if (mustUnderstand__is_set) { String val = mustUnderstand ? "1" : "0"; __out.writeAttribute(mustUnderstand__typeInfo.getNamespace(), "mustUnderstand", val); } }
private String getNamespace(TypeInfo info) { return info.isElementFormQualified() ? info.getNamespace() : null; }
private String getNamespace(TypeInfo info) { return info.isElementFormQualified() ? info.getNamespace() : null; }
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException { actor = __in.getAttributeValue(actor__typeInfo.getNamespace(), "actor"); String val = __in.getAttributeValue(mustUnderstand__typeInfo.getNamespace(), "mustUnderstand"); if (val != null) { if ("0".equals(val)) { setMustUnderstand(false); } else if ("1".equals(val)) { setMustUnderstand(true); } else { throw new ConnectionException("mustUndrestand must be 1 or 0. but found " + val); } } }
protected void loadFields(XmlInputStream __in, TypeMapper __typeMapper) throws IOException, ConnectionException { actor = __in.getAttributeValue(actor__typeInfo.getNamespace(), "actor"); String val = __in.getAttributeValue(mustUnderstand__typeInfo.getNamespace(), "mustUnderstand"); if (val != null) { if ("0".equals(val)) { setMustUnderstand(false); } else if ("1".equals(val)) { setMustUnderstand(true); } else { throw new ConnectionException("mustUndrestand must be 1 or 0. but found " + val); } } }