Class XmlExport
java.lang.Object
edu.internet2.middleware.grouper.app.gsh.XmlExport
chaining object to export the registry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionchildrenOnly
(boolean isChildrenOnly) for export of a stem if we should only export the children and not the stem itselfcollectionMessage
(String theMessage) assign a collection message for a groups and strings exportvoid
exportToFile
(File file) export to stringexport to stringexport a group, and chaingrouperSession
(GrouperSession theGrouperSession) assign the grouper session to this exportergroupsAndStems
(Object[] theGroupsAndStems) export this collection of groups and stemsgroupsAndStems
(Collection theGroupsAndStems) export this collection of groups and stemsincludeParent
(boolean isIncludeParent) for export of groups if we should include parentrelative
(boolean isRelative) set that this group or stem export is relativeexport a stem and chainuserProperties
(File theUserProperties) set external properties file
-
Constructor Details
-
XmlExport
public XmlExport()
-
-
Method Details
-
grouperSession
assign the grouper session to this exporter- Parameters:
theGrouperSession
-- Returns:
- this for chaining
-
stem
export a stem and chain- Parameters:
theStem
-- Returns:
- this object for chaining
-
group
export a group, and chain- Parameters:
theGroup
-- Returns:
- this object for chaining
-
collectionMessage
assign a collection message for a groups and strings export- Parameters:
theMessage
-- Returns:
- the collection message
-
groupsAndStems
export this collection of groups and stems- Parameters:
theGroupsAndStems
-- Returns:
- the collection
-
groupsAndStems
export this collection of groups and stems- Parameters:
theGroupsAndStems
-- Returns:
- the collection
-
relative
set that this group or stem export is relative- Parameters:
isRelative
-- Returns:
- this for chaining
-
includeParent
for export of groups if we should include parent- Parameters:
isIncludeParent
-- Returns:
- if we should include parent
-
childrenOnly
for export of a stem if we should only export the children and not the stem itself- Parameters:
isChildrenOnly
-- Returns:
- if we should only export children
-
userProperties
set external properties file- Parameters:
theUserProperties
-- Returns:
- the properties file
-
exportToString
export to string- Returns:
- the string of xml
-
exportToFile
export to string- Parameters:
file
-
-