org.codehaus.xfire.service.documentation
Class XMLDocumentationBuilder

java.lang.Object
  extended by org.codehaus.xfire.service.documentation.XMLDocumentationBuilder

public class XMLDocumentationBuilder
extends Object

Builds DocumentationProvider based on XML files.

Author:
Tomasz Sztelak

Field Summary
static String ARGUMENTS_NUMBER_ATTR
           
static String CLASS_ATTR
           
static String CONFIG_SUFIX
           
static String DOCUMENTATION_TAG
           
static String EXCEPTION_TAG
           
static String INDEX_ATTR
           
protected static org.apache.commons.logging.Log log
           
static String METHOD_TAG
           
static String NAME_ATTR
           
static String PARAMTER_TAG
           
static String RETURN_TAG
           
 
Constructor Summary
XMLDocumentationBuilder()
           
 
Method Summary
 DocumentationProvider build(ServiceInfo service)
           
protected  org.jdom.Document loadDocument(ServiceInfo service)
           
protected  DocumentationProvider parseDocument(org.jdom.Document doc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static final org.apache.commons.logging.Log log

DOCUMENTATION_TAG

public static final String DOCUMENTATION_TAG
See Also:
Constant Field Values

METHOD_TAG

public static final String METHOD_TAG
See Also:
Constant Field Values

PARAMTER_TAG

public static final String PARAMTER_TAG
See Also:
Constant Field Values

RETURN_TAG

public static final String RETURN_TAG
See Also:
Constant Field Values

EXCEPTION_TAG

public static final String EXCEPTION_TAG
See Also:
Constant Field Values

NAME_ATTR

public static final String NAME_ATTR
See Also:
Constant Field Values

INDEX_ATTR

public static final String INDEX_ATTR
See Also:
Constant Field Values

CLASS_ATTR

public static final String CLASS_ATTR
See Also:
Constant Field Values

ARGUMENTS_NUMBER_ATTR

public static final String ARGUMENTS_NUMBER_ATTR
See Also:
Constant Field Values

CONFIG_SUFIX

public static final String CONFIG_SUFIX
See Also:
Constant Field Values
Constructor Detail

XMLDocumentationBuilder

public XMLDocumentationBuilder()
Method Detail

build

public DocumentationProvider build(ServiceInfo service)
Parameters:
service -
Returns:

parseDocument

protected DocumentationProvider parseDocument(org.jdom.Document doc)
Parameters:
doc -
Returns:

loadDocument

protected org.jdom.Document loadDocument(ServiceInfo service)
Parameters:
service -
Returns:


Copyright © 2004-2013. All Rights Reserved.