com.sun.tools.ws.processor.modeler.annotation.ModelBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jaxws-tools Show documentation
Show all versions of jaxws-tools Show documentation
Open source Reference Implementation of JSR-224: Java API for XML Web Services
The newest version!
/*
* Copyright (c) 1997, 2018 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.tools.ws.processor.modeler.annotation;
import com.sun.tools.ws.processor.modeler.ModelerException;
import com.sun.tools.ws.wscompile.WsgenOptions;
import javax.annotation.processing.ProcessingEnvironment;
import javax.lang.model.element.Element;
import javax.lang.model.element.Name;
import javax.lang.model.element.TypeElement;
import javax.lang.model.type.TypeMirror;
import java.io.File;
/**
* @author WS Development Team
*/
public interface ModelBuilder {
ProcessingEnvironment getProcessingEnvironment();
String getOperationName(Name methodName);
TypeMirror getHolderValueType(TypeMirror type);
boolean checkAndSetProcessed(TypeElement typeElement);
/**
* Checks if type is a service specific exception
*
* @param typeMirror the given element's type
* @return true if is not a service specific exception as defined by JAX-WS specification
*/
boolean isServiceException(TypeMirror typeMirror);
boolean isRemote(TypeElement typeElement);
boolean canOverWriteClass(String className);
WsgenOptions getOptions();
File getSourceDir();
void log(String msg);
void processWarning(String message);
void processError(String message);
void processError(String message, Element element) throws ModelerException;
}