public class DipBrowserImp extends Object implements DipBrowser
Constructor and Description |
---|
DipBrowserImp() |
Modifier and Type | Method and Description |
---|---|
void |
finalize() |
String[] |
getPublications(String pattern)
Obtain a list of all publications visable in the DIP namespace.
|
int |
getSize()
Get the cardinality of the default field (where a primitive type is being sent).
|
int |
getSize(String tag)
Get the cardinality of the field who's name is supplied as a parameter.
|
String[] |
getTags(String pub)
Get the fields names within the publication having the supplied publication name.
|
int |
getType()
Get the type of the default field (where a primitive type is being sent).
|
int |
getType(String tag)
Get the type of the field who's name is supplied as a parameter.
|
public String[] getPublications(String pattern)
DipBrowser
getPublications
in interface DipBrowser
pattern
- wildcard string. * @return array of publication names.public String[] getTags(String pub) throws DipException
DipBrowser
getTags
in interface DipBrowser
pub
- name of the publication we want the fields of.DipException
- if the format discription of the publication is incorrectpublic int getType() throws DipException
DipBrowser
getType
in interface DipBrowser
DipException
- if getTags() has not been previous called or the object does not hold a primitive typeDipBrowser.getTags().
,
DipData
public int getSize() throws DipException
DipBrowser
getSize
in interface DipBrowser
DipException
- if getTags() has not been previous called or the object does not hold a primitive typeDipBrowser.getTags().
,
DipData
public int getType(String tag) throws DipException
DipBrowser
getType
in interface DipBrowser
DipException
- if getTags() has not been previous called or the object does not hold a complex typegetTags()
,
DipData
public int getSize(String tag) throws DipException
DipBrowser
getSize
in interface DipBrowser
DipException
- if getTags() has not been previous called or the object does not hold a complex typeDipBrowser.getTags().
,
DipData
Copyright © 2008–2017 CERN. All rights reserved.