org.hibernate.util.xml
Interface Origin

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
OriginImpl

public interface Origin
extends java.io.Serializable

Describes the origin of an xml document

Author:
Steve Ebersole

Method Summary
 java.lang.String getName()
          The name of the document origin.
 java.lang.String getType()
          Retrieve the type of origin.
 

Method Detail

getType

java.lang.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.

getName

java.lang.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.


Copyright © 2013. All Rights Reserved.