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,所有这些条件都是true
equals在
Object
obj - 可能是null对象来检查。
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.