コード例 #1
0
  /** {@inheritDoc} */
  protected void processAttribute(XMLObject samlObject, Attr attribute)
      throws UnmarshallingException {
    Action action = (Action) samlObject;

    if (attribute.getLocalName().equals(Action.NAMEPSACE_ATTRIB_NAME)) {
      action.setNamespace(attribute.getValue());
    } else {
      super.processAttribute(samlObject, attribute);
    }
  }
コード例 #2
0
 /** {@inheritDoc} */
 protected void processElementContent(XMLObject samlObject, String elementContent) {
   Action action = (Action) samlObject;
   action.setAction(elementContent);
 }