de.mindcrimeilab.xsanalyzer
Class UnusedTypeFinderWorker
java.lang.Object
de.mindcrimeilab.xsanalyzer.AbstractXsComponentWorker
de.mindcrimeilab.xsanalyzer.NamespaceFilteredWorker
de.mindcrimeilab.xsanalyzer.UnusedTypeFinderWorker
- All Implemented Interfaces:
- XsComponentWorker
public class UnusedTypeFinderWorker
- extends NamespaceFilteredWorker
- implements XsComponentWorker
- Version:
- $Revision: 165 $
- Author:
- Michael Engelhardt, $Author: agony $
Method Summary |
void |
execute(org.apache.xerces.xs.XSObject object,
org.apache.xerces.xs.XSObject parent)
|
Set<org.apache.xerces.xs.XSTypeDefinition> |
getUnusedTypes()
Returns the list of unused types in given model. |
boolean |
isSupported(org.apache.xerces.xs.XSObject object)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UnusedTypeFinderWorker
public UnusedTypeFinderWorker(Set<? extends org.apache.xerces.xs.XSTypeDefinition> definedTypes)
getUnusedTypes
public Set<org.apache.xerces.xs.XSTypeDefinition> getUnusedTypes()
- Returns the list of unused types in given model.
- Returns:
- the unusedTypes
isSupported
public boolean isSupported(org.apache.xerces.xs.XSObject object)
- Specified by:
isSupported
in interface XsComponentWorker
- Overrides:
isSupported
in class NamespaceFilteredWorker
execute
public void execute(org.apache.xerces.xs.XSObject object,
org.apache.xerces.xs.XSObject parent)
- Specified by:
execute
in interface XsComponentWorker
- Specified by:
execute
in class NamespaceFilteredWorker
Copyright © 2010. All Rights Reserved.