de.mindcrimeilab.xsanalyzer.xsext
Class AnonymousTypeFactory

java.lang.Object
  extended by de.mindcrimeilab.xsanalyzer.xsext.AnonymousTypeFactory

public class AnonymousTypeFactory
extends Object

Factory class to dynamically change behavior of XSTypeDefinition.getName() of anonymous types.

Version:
$Revision:62 $
Author:
Michael Engelhardt, $Author:me $

Method Summary
 Object addType(org.apache.xerces.xs.XSTypeDefinition type, org.apache.xerces.xs.XSTypeDefinition wrappedType)
           
 boolean containsType(org.apache.xerces.xs.XSTypeDefinition type)
           
static
<T extends org.apache.xerces.xs.XSTypeDefinition>
T
getProxy(T instance)
          Factory method - create proxy classes
 org.apache.xerces.xs.XSTypeDefinition getType(org.apache.xerces.xs.XSTypeDefinition type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

containsType

public boolean containsType(org.apache.xerces.xs.XSTypeDefinition type)

addType

public Object addType(org.apache.xerces.xs.XSTypeDefinition type,
                      org.apache.xerces.xs.XSTypeDefinition wrappedType)

getType

public org.apache.xerces.xs.XSTypeDefinition getType(org.apache.xerces.xs.XSTypeDefinition type)

getProxy

public static <T extends org.apache.xerces.xs.XSTypeDefinition> T getProxy(T instance)
Factory method - create proxy classes

Type Parameters:
T - instance of XSTypeDefinition
Parameters:
instance -
Returns:
proxy instance


Copyright © 2010. All Rights Reserved.