org.jboss.security.auth.spi
Class UsersObjectModelFactory
java.lang.Object
org.jboss.security.auth.spi.UsersObjectModelFactory
- All Implemented Interfaces:
- ObjectModelFactory (src)
- public class UsersObjectModelFactory
- extends java.lang.Object
- implements ObjectModelFactory (src)
A JBossXB object factory for parsing the
Method Summary |
void |
addChild(Users.User (src) user,
java.lang.String[] roleInfo,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName)
|
void |
addChild(Users (src) users,
Users.User (src) user,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName)
|
java.lang.Object |
newChild(Users.User (src) user,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
org.xml.sax.Attributes attrs)
|
java.lang.Object |
newChild(Users (src) users,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
org.xml.sax.Attributes attrs)
|
java.lang.Object |
newRoot(java.lang.Object root,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
This method is called by the object model factory and returns the root of the object graph. |
void |
setValue(Users (src) users,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
java.lang.String value)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UsersObjectModelFactory
public UsersObjectModelFactory()
newRoot
public java.lang.Object newRoot(java.lang.Object root,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName,
org.xml.sax.Attributes attrs)
- Description copied from interface:
ObjectModelFactory (src)
- This method is called by the object model factory and returns the root of the object graph.
If the
root
argument is null the factory is supposed to create and return a new one.
If the root
argument is not null (i.e. the user provided the root object through the
org.jboss.xml.binding.Unmarshaller) then the factory should either just return it as is
or extract the real root from the root
argument based on the namespace URI and local name.
- Specified by:
newRoot
in interface ObjectModelFactory (src)
- Parameters:
root
- an object that is the root or which contains the root objectnavigator
- content navigatornamespaceURI
- namespace URI of the rootlocalName
- local name of the rootattrs
- attributes of the root object
- Returns:
- the root of the object graph
setValue
public void setValue(Users (src) users,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
java.lang.String value)
newChild
public java.lang.Object newChild(Users (src) users,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
org.xml.sax.Attributes attrs)
addChild
public void addChild(Users (src) users,
Users.User (src) user,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName)
newChild
public java.lang.Object newChild(Users.User (src) user,
ContentNavigator (src) navigator,
java.lang.String namespaceUri,
java.lang.String localName,
org.xml.sax.Attributes attrs)
addChild
public void addChild(Users.User (src) user,
java.lang.String[] roleInfo,
ContentNavigator (src) navigator,
java.lang.String namespaceURI,
java.lang.String localName)