Package org.hibernate.util.xml
Interface Origin
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
OriginImpl
Describes the origin of an xml document
-
Method Summary
-
Method Details
-
getType
String getType()Retrieve the type of origin. This is not a discrete set, but might be somethign likefilefor file protocol URLs, orresourcefor classpath resource lookups.- Returns:
- The origin type.
-
getName
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.
-