Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.openxri.saml
Class Subject

    java.lang.Object
      org.openxri.saml.Subject

    public class Subject

extends java.lang.Object

This class provides encapsulation of a SAML 2.0 Subject element

Author:
  =chetan

Constructor Summary
`Subject()` Creates an empty SAML Subject element
`Subject(org.w3c.dom.Element oElem)` This method populates the object from DOM.

Method Summary
`java.lang.String` | `dump()` Returns object as a formatted XML string.
`void` | `fromDOM(org.w3c.dom.Element oElem)` This method populates the object from DOM.
`NameID` | `getNameID()` Returns the nameid element
`void` | `reset()` Resets the internal state of this object
`void` | `setNameID(NameID oVal)` Sets the nameid element
`org.w3c.dom.Element` | `toDOM(org.w3c.dom.Document oDoc)` This method will make DOM using the specified document.
`java.lang.String` | `toString()` Returns formatted object.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### Subject

    public Subject(org.w3c.dom.Element oElem)

  This method populates the object from DOM. It does not keep a copy of the DOM around. Whitespace information is lost in this process.

### Subject

    public Subject()

  Creates an empty SAML Subject element

Method Detail

### reset

    public void reset()

  Resets the internal state of this object

### fromDOM

    public void fromDOM(org.w3c.dom.Element oElem)

  This method populates the object from DOM. It does not keep a copy of the DOM around. Whitespace information is lost in this process.

### getNameID

    public NameID getNameID()

  Returns the nameid element

### setNameID

    public void setNameID(NameID oVal)

  Sets the nameid element

### toDOM

    public org.w3c.dom.Element toDOM(org.w3c.dom.Document oDoc)

  This method will make DOM using the specified document. If any DOM state has been stored with the object, it will not be used in this method. This method generates a reference-free copy of new DOM.

  Parameters:
    `oDoc` - - The document to use for generating DOM

### toString

    public java.lang.String toString()

  Returns formatted object. Do not use if signature needs to be preserved.

  Overrides:
    `toString` in class `java.lang.Object`

### dump

    public java.lang.String dump()

  Returns object as a formatted XML string.

  Parameters:
    `sTab` - - The characters to prepend before each new line

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005-2009. All Rights Reserved.