class: XmlTransformingBean

public class: XmlTransformingBean
Author: Johannes Mueller (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 2125 $ $LastChangedDate: 2009-06-23 09:; Complexity: 1
Dates: Created: 16.07.2009 15:14:34; Modified: 16.07.2009 15:14:34;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {52435722-C917-46aa-B1FA-22BFC6263A75}
EJB implementation of interface {@link XmlTransforming}.
 

Goto: Custom Properties, Fields, Methods, Tagged Values

Implements: XmlTransforming

See also: XmlTransforming, TransformAffiliationTest, TransformContainerTest, TransformContextTest, TransformExportFormatTest, TransformFacesItemTest, TransformGrantsTest, TransformInvalidPubItemTest, TransformLockTest, TransformParamTest, TransformPubItemTest, TransformPubItemVersionListTest, TransformRelationTest, TransformSearchResultTest, TransformStatisticReportTest, TransformTocTest, TransformFileUrlTest, TransformStatisticsTest

Appears in: xmltransforming

Connections
 
Custom Properties
 
XmlTransformingBean Attributes
Attribute Details
private static const Logger
  logger
Initial: Logger.getLogger(XmlTransformingBean.class)
Notes: Logger for this class.
 
XmlTransformingBean Methods
Operation Details
private
convertToVO(
   SearchResultVO searchResultVO):SearchResultElement
Sequential
Tags: throws=TechnicalException
Notes: Converts a {@link SearchResultVO} into an instantiation of {@link SearchResultElement}. May be a - {@link ItemResultVO} - {@link ContainerResultVO} - {@link AffiliationResultVO}
@return The new VO.
public static
getAttributeValue(
   Node node,
   String xPath,
   String attributeName):String
Sequential
Tags: throws=Exception
Notes: Return the text value of the selected attribute.
@return The text value of the selected attribute.
protected static
getDocument(
   String xml,
   boolean namespaceAwareness):Document
Sequential
Tags: throws=Exception
Notes: Parse the given xml String into a Document.
@return The Document.
public static
selectNodeList(
   Node node,
   String xpathExpression):NodeList
Sequential
Tags: throws=TransformerException
Notes: Return the list of children of the node selected by the xPath.
@param xPath The xPath.
@return The list of children of the node selected by the xPath.
private static
selectSingleNode(
   Node node,
   String xpathExpression):Node
Sequential
Tags: throws=TransformerException
Notes: Return the child of the node selected by the xPath.
@param xPath The xPath.
@return The child of the node selected by the xPath.
public
transformToAccountUser(
   String user):AccountUserVO
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToAccountUser(
   AccountUserVO accountUserVO):String
Sequential
Tags: throws=TechnicalException
public const
transformToAccountUserVOList(
   String accountUserListXml):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToAffiliation(
   String organizationalUnit):AffiliationVO
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToAffiliationList(
   String organizationalUnitList):List
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToAffiliationPathList(
   String pathList):List
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToAffiliationResult(
   String affiliationResult):AffiliationResultVO
Sequential
Tags: annotations=@Deprecated
throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContainer(
   ContainerVO containerVO):String
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContainer(
   String container):ContainerVO
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContainerList(
   List containerVOList):String
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContainerList(
   String containerList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContainerListWrapper(
   String containerListXml):ContainerVOListWrapper
Sequential
Tags: throws=TechnicalException
public
transformToContainerResult(
   String containerResult):ContainerResultVO
Sequential
Tags: annotations=@Deprecated
throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContext(
   String context):ContextVO
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToContextList(
   String contextList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToEventVOList(
   String versionList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public const
transformToExportFormatVOList(
   String formatList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToExportParams(
   ExportFormatVO exportFormat):String
Sequential
Tags: throws=TechnicalException,MarshallingException
Notes: {@inheritDoc}
public
transformToFaceItem(
   String itemXml):FaceItemVO
Sequential
Tags: throws=TechnicalException
public
transformToFaceItemList(
   String itemList):List
Sequential
Tags: throws=TechnicalException
public
transformToFileVO(
   String fileXML):FileVO
Sequential
Tags: throws=TechnicalException
public
transformToFilterTaskParam(
   FilterTaskParamVO filterTaskParamVO):String
Sequential
Tags: throws=TechnicalException,MarshallingException
Notes: {@inheritDoc}
public
transformToGrant(
   GrantVO grantVO):String
Sequential
Tags: throws=TechnicalException
public
transformToGrantVO(
   String grantXml):GrantVO
Sequential
Tags: throws=TechnicalException
public const
transformToGrantVOList(
   String formatList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToItem(
   ItemVO itemVO):String
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToItem(
   String item):ItemVO
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToItemList(
   String itemListXml):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToItemList(
   List itemVOList):String
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToItemListWrapper(
   String itemListXml):ItemVOListWrapper
Sequential
Tags: throws=TechnicalException
public
transformToItemResultVO(
   String searchResultItem):ItemResultVO
Sequential
Tags: annotations=@Deprecated
throws=TechnicalException
Notes: {@inheritDoc}
public
transformToLockVO(
   String lockInformation):LockVO
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToMemberList(
   String memberList):List
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToMemberList(
   List memberList):String
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToOrganizationalUnit(
   AffiliationVO affiliationVO):String
Sequential
Tags: throws=TechnicalException,MarshallingException
Notes: {@inheritDoc}
public
transformToParentAffiliationList(
   String parentOrganizationalUnitList):List
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToPidTaskParam(
   PidTaskParamVO pidTaskParamVO):String
Sequential
Tags: throws=TechnicalException,MarshallingException
Notes: {@inheritDoc}
public
transformToPubItem(
   String itemXml):PubItemVO
Sequential
Tags: throws=TechnicalException
public
transformToPubItemList(
   String itemList):List
Sequential
Tags: throws=TechnicalException
public
transformToRelationVOList(
   String relationsXml):List
Sequential
Tags: throws=UnmarshallingException
Notes: {@inheritDoc}
public
transformToResult(
   String resultXml):ResultVO
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToSearchResult(
   String searchResultXml):SearchResultElement
Sequential
Tags: throws=TechnicalException
Notes: {@inheritDoc}
public
transformToStatisticReportDefinition(
   StatisticReportDefinitionVO reportDef):String
Sequential
Tags: throws=TechnicalException
public
transformToStatisticReportDefinition(
   String reportDefXML):StatisticReportDefinitionVO
Sequential
Tags: throws=TechnicalException
public
transformToStatisticReportDefinitionList(
   String reportDefinitionList):List
Sequential
Tags: throws=TechnicalException
public
transformToStatisticReportParameters(
   StatisticReportParamsVO statisticReportParams):String
Sequential
Tags: throws=TechnicalException
public
transformToStatisticReportRecordList(
   String statisticReportXML):List
Sequential
Tags: throws=TechnicalException
public
transformToSuccessorAffiliationList(
   String successorOrganizationalUnitList):List
Sequential
Tags: throws=TechnicalException,UnmarshallingException
Notes: {@inheritDoc}
public
transformToTaskParam(
   TaskParamVO taskParamVO):String
Sequential
Tags: throws=TechnicalException,MarshallingException
Notes: {@inheritDoc}
public
transformToTocItem(
   TocItemVO tocItemVO):String
Sequential
Tags: throws=TechnicalException
public
transformToTocItemVO(
   String tocXML):TocItemVO
Sequential
Tags: throws=TechnicalException
public
transformToTocVO(
   String tocXML):TocVO
Sequential
Tags: throws=TechnicalException
public
transformUploadResponseToFileURL(
   String uploadResponse):URL
Sequential
Tags: throws=TechnicalException,UnmarshallingException,URISyntaxException
Notes: {@inheritDoc}
 
XmlTransformingBean Tagged Values
Tag Value Notes
annotations @Stateless@Remote@RemoteBinding(jndiBinding = XmlTransforming.SERVICE_NAME)@TransactionAttribute(TransactionAttributeType.NOT_SUPPORTED)