public class OrgChartGenerator extends ServiceableGenerator
| Modifier and Type | Field and Description |
|---|---|
private static String |
__METADATA_SET_NAME |
private OrganisationChartPageHandler |
_organizationChartPageHandler |
private AmetysObjectResolver |
_resolver |
private SourceResolver |
_sourceResolver |
managerobjectModel, parameters, resolver, sourcecontentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer| Constructor and Description |
|---|
OrgChartGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
generate() |
protected void |
saxFirstUserOfOrganizationUnit(Content orgUnit)
SAX the first user with a role in the organization unit content
|
protected void |
saxOrganizationUnit(Content orgUnit)
SAX an organization unit content
|
protected void |
saxOrganizationUnitChildren(Content orgUnit)
SAX children of an organization unit
|
protected void |
saxUser(Content user,
String role)
SAX a user content
|
void |
service(ServiceManager serviceManager) |
disposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprivate static final String __METADATA_SET_NAME
private OrganisationChartPageHandler _organizationChartPageHandler
private AmetysObjectResolver _resolver
private SourceResolver _sourceResolver
public OrgChartGenerator()
public void service(ServiceManager serviceManager) throws ServiceException
service in interface Serviceableservice in class ServiceableGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
protected void saxOrganizationUnit(Content orgUnit) throws SAXException
orgUnit - the organization unit to sax.SAXException - if an error occursprotected void saxFirstUserOfOrganizationUnit(Content orgUnit) throws SAXException
orgUnit - the organization unitSAXException - if an error occurredprotected void saxUser(Content user, String role) throws SAXException
user - the user to sax.role - the user's roleSAXException - if an error occursprotected void saxOrganizationUnitChildren(Content orgUnit) throws SAXException
orgUnit - the organization unitSAXException - if an error occurred