|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ContentFactory<T extends ContentBase>
Copyright (c) 2005-2006 by BEA Systems, Inc. All Rights Reserved.
| Method Summary | |
|---|---|
T |
createContentWrapper(Node nodeToWrap,
Class<T> typeConstraint)
Creates a thing of Type T that wraps the provided node; |
T |
createContentWrapper(String cmTypeName,
Class<T> typeConstraint)
Creates a thing of Type T corresponding to the cmTypeName provided |
| Method Detail |
|---|
T createContentWrapper(Node nodeToWrap,
Class<T> typeConstraint)
throws InstantiationException,
IllegalAccessException
nodeToWrap - - CM node to be wrapped within a ContentBase objecttypeConstraint - - Class that represents the minimum class supported;
same as T for homogenious, same as class that T must extend for heterogenious
InstantiationException - - from call to constructor via reflection
IllegalAccessException - - from call to constructor via reflection
T createContentWrapper(String cmTypeName,
Class<T> typeConstraint)
throws InstantiationException,
IllegalAccessException
cmTypeName - - type name for which a wrapper is neededtypeConstraint - - Class that represents the minimum class supported;
same as T for homogenious, same as class that T must extend for heterogenious
InstantiationException - - from call to constructor via reflection
IllegalAccessException - - from call to constructor via reflection
|
Copyright © 2006 BEA Systems, Inc. All Rights Reserved | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||