public abstract class RefAddr extends Object implements Serializable
例如,一个地址类型可以是“BSD打印地址”,其中规定,它是用来与BSD打印协议地址。它的内容可以是确定了解此协议的打印机服务器的位置的机器名称。
一个refaddr是包含在一个参考。
refaddr是一个抽象类。它的具体实现决定了它的同步性能。
Reference
,
LinkRef
,
StringRefAddr
,
BinaryRefAddr
,
Serialized Form
Modifier | Constructor and Description |
---|---|
protected |
RefAddr(String addrType)
构建了一个新的实例refaddr使用它的地址类型。
|
protected String addrType
protected RefAddr(String addrType)
addrType
-一个非空字符串描述地址的类型。
public String getType()
public abstract Object getContent()
public boolean equals(Object obj)
obj等于这refaddr所有这些条件都是真实的
equals
方法重写,继承类
Object
obj
可能空目标检查。
getContent()
,
getType()
public int hashCode()
hashCode
方法重写,继承类
Object
Object.hashCode()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.