solar.service.directory
Class PlainName
java.lang.Object
|
+--solar.impl.AbstractAttributeRecord
|
+--solar.impl.PlainAttributeRecord
|
+--solar.service.directory.PlainName
- All Implemented Interfaces:
- Adu, AttributeRecord, Name, java.io.Serializable, SolarConstants
- public class PlainName
- extends PlainAttributeRecord
- implements Name
A name with strings encoded in square brackets.
- Version:
- $Id: PlainName.java,v 1.2 2003/08/30 15:08:50 glchen Exp $
- Author:
- Guanling Chen
- See Also:
- Serialized Form
Fields inherited from interface solar.SolarConstants |
ADVERTISEMENT_SVID, ATTRIBUTE_RECORD_SVID, ATTRIBUTE_SVID, FILTER_CONFIG_SVID, FILTER_SPEC_SVID, GRAPH_SPEC_SVID, GUID_SVID, HEADER_SVID, ID_SVID, NAME_RECORD_SVID, PACK_POLICY_SVID, PIPE_SPEC_SVID, REQUEST_SVID, RPCACK_SVID |
Constructor Summary |
PlainName(AttributeRecord ar)
Constructs a name with a list of attributes. |
PlainName(java.util.List aList)
Constructs a name with a list of attributes. |
PlainName(Name aName)
Constructs a name by copying from another one. |
PlainName(java.lang.String rec)
Constructs a name by parsing an encoded string. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PlainName
public PlainName(java.lang.String rec)
throws ParsingException
- Constructs a name by parsing an encoded string.
PlainName
public PlainName(java.util.List aList)
- Constructs a name with a list of attributes.
PlainName
public PlainName(AttributeRecord ar)
- Constructs a name with a list of attributes.
PlainName
public PlainName(Name aName)
- Constructs a name by copying from another one.
getStrands
public java.util.List getStrands()
- Return the list of all strands.
- Specified by:
getStrands
in interface Name
fillStrandsFromAR
private void fillStrandsFromAR(AttributeRecord ar,
java.lang.String prefix,
java.util.List ret)