Top Description Methods
org.hibernate.internal.util.xml

public Interface Origin

extends Serializable
Known Direct Implementers
org.hibernate.internal.util.xml.OriginImpl
Imports
java.io.Serializable

Describes the origin of an xml document
Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

The name.
getName
()

The name of the document origin.

public String

Returns:

The origin type.
getType
()

Retrieve the type of origin.

Method Detail

getNameback to summary
public String getName()

The name of the document origin. Interpretation is relative to the type, but might be the resource name or file URL.

Returns:String

The name.

getTypeback to summary
public String getType()

Retrieve the type of origin. This is not a discrete set, but might be something like file for file protocol URLs, or resource for classpath resource lookups.

Returns:String

The origin type.