Package org.exolab.castor.util

Examples of org.exolab.castor.util.OrderedHashMap


  public void addAnnotation(JAnnotation annotation) {
    if(isAnnotationPresent(annotation.getAnnotationType()))
      throw new IllegalArgumentException("Annotation for '"+annotation.getAnnotationType().getName()+"' already added.");
    String annotationType = annotation.getAnnotationType().getName();
        if (_annotations == null) {
          _annotations = new OrderedHashMap();
        }
        _annotations.put(annotationType, annotation);
  }
View Full Code Here

TOP

Related Classes of org.exolab.castor.util.OrderedHashMap

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.