|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.centrasite.registry.revision.RevisionDoctypeQuery
public class RevisionDoctypeQuery
Class responsible for translation of an objectType ( {namespace}type ) into elements used for xquery. For example given the object '{mynamespace}mytype' the values for the corresponsing xquery will be delivered:
- declare namespace dtns = "mynamespace" - dtns:mytype (to be used with: for $i in collection("v.CentraSite")/dtns:mytype)
Constructor Summary | |
---|---|
RevisionDoctypeQuery()
Constructor for finding all doctypes |
|
RevisionDoctypeQuery(com.centrasite.jaxr.CentraSiteRevisionManager revManager,
javax.xml.registry.infomodel.RegistryObject regObj)
Constructor. |
|
RevisionDoctypeQuery(com.centrasite.jaxr.CentraSiteRevisionManager revManager,
java.lang.String objectType)
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getDoctypeName()
Deliver doctype name that can be used for xqueries |
java.lang.String |
getNamespaceDeclaration()
Deliver the namespace declaration for xqueries |
java.lang.String |
getObjectType()
Deliver object type as string |
java.lang.String |
toString()
Just deliver string repr. of class |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RevisionDoctypeQuery(com.centrasite.jaxr.CentraSiteRevisionManager revManager, java.lang.String objectType) throws javax.xml.registry.JAXRException
revManager
- revision managerobjectType
- the object type associated with the doctype
javax.xml.registry.JAXRException
public RevisionDoctypeQuery(com.centrasite.jaxr.CentraSiteRevisionManager revManager, javax.xml.registry.infomodel.RegistryObject regObj) throws javax.xml.registry.JAXRException
revManager
- revision managerregObj
- the registry object associated with the doctype
javax.xml.registry.JAXRException
public RevisionDoctypeQuery() throws javax.xml.registry.JAXRException
javax.xml.registry.JAXRException
Method Detail |
---|
public java.lang.String getObjectType()
public java.lang.String getDoctypeName()
public java.lang.String getNamespaceDeclaration()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |