类 Origin
- java.lang.Object
-
- org.hibernate.boot.jaxb.Origin
-
- 所有已实现的接口:
Serializable
public class Origin extends Object implements Serializable
Describes the origin of an xml document- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 static StringUNKNOWN_FILE_PATH
-
构造器概要
构造器 构造器 说明 Origin(SourceType type, String name)
-
-
-
构造器详细资料
-
Origin
public Origin(SourceType type, String name)
-
-
方法详细资料
-
getType
public SourceType getType()
Retrieve the type of origin.- 返回:
- The origin type.
-
getName
public String getName()
The name of the document origin. Interpretation is relative to the type, but might be the resource name or file URL.- 返回:
- The name.
-
-