public interface

Origin

implements Serializable
org.hibernate.util.xml.Origin
Known Indirect Subclasses

Class Overview

Describes the origin of an xml document

Summary

Public Methods
abstract String getName()
The name of the document origin.
abstract String getType()
Retrieve the type of origin.

Public Methods

public abstract String getName ()

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

Returns
  • The name.

public abstract String getType ()

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

Returns
  • The origin type.