当前位置: 首页>>代码示例>>Java>>正文


Java XMLHelper.appendTextContent方法代码示例

本文整理汇总了Java中org.opensaml.xml.util.XMLHelper.appendTextContent方法的典型用法代码示例。如果您正苦于以下问题:Java XMLHelper.appendTextContent方法的具体用法?Java XMLHelper.appendTextContent怎么用?Java XMLHelper.appendTextContent使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.opensaml.xml.util.XMLHelper的用法示例。


在下文中一共展示了XMLHelper.appendTextContent方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    RequesterID reqID = (RequesterID) samlObject;

    if (reqID.getRequesterID() != null) {
        XMLHelper.appendTextContent(domElement, reqID.getRequesterID());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:RequesterIDMarshaller.java

示例2: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
    Iteration iteration = (Iteration) xmlObject;
    
    if (iteration.getValue() != null) {
        XMLHelper.appendTextContent(domElement, iteration.getValue().toString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:IterationMarshaller.java

示例3: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    EmailAddress address = (EmailAddress) samlObject;

    if (address.getAddress() != null) {
        XMLHelper.appendTextContent(domElement, address.getAddress());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:EmailAddressMarshaller.java

示例4: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    ServiceName name = (ServiceName) samlObject;

    if (name.getName() != null) {
        XMLHelper.appendTextContent(domElement, name.getName().getLocalString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:ServiceNameMarshaller.java

示例5: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    Keywords words = (Keywords) samlObject;

    if (words.getKeywords() != null) {
        StringBuilder sb = new StringBuilder();
        for (String s : words.getKeywords()) {
            sb.append(s);
            sb.append(' ');
        }
        XMLHelper.appendTextContent(domElement, sb.toString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:14,代码来源:KeywordsMarshaller.java

示例6: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
    X509SerialNumber x509SerialNumber = (X509SerialNumber) xmlObject;
    
    if (x509SerialNumber.getValue() != null) {
        XMLHelper.appendTextContent(domElement, x509SerialNumber.getValue().toString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:X509SerialNumberMarshaller.java

示例7: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    OrganizationDisplayName name = (OrganizationDisplayName) samlObject;

    if (name.getName() != null) {
        XMLHelper.appendTextContent(domElement, name.getName().getLocalString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:OrganizationDisplayNameMarshaller.java

示例8: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    GetComplete gc = (GetComplete) samlObject;

    if (gc.getGetComplete() != null) {
        XMLHelper.appendTextContent(domElement, gc.getGetComplete());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:GetCompleteMarshaller.java

示例9: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    AssertionArtifact assertionArtifact = (AssertionArtifact) samlObject;
    if (assertionArtifact.getAssertionArtifact() != null) {
        XMLHelper.appendTextContent(domElement, assertionArtifact.getAssertionArtifact());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:8,代码来源:AssertionArtifactMarshaller.java

示例10: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    LocalizedName name = (LocalizedName) samlObject;

    if (name.getName() != null) {
        XMLHelper.appendTextContent(domElement, name.getName().getLocalString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:LocalizedNameMarshaller.java

示例11: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
    XSInteger xsiInteger = (XSInteger) xmlObject;

    if (xsiInteger.getValue() != null) {
        XMLHelper.appendTextContent(domElement, xsiInteger.getValue().toString());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:XSIntegerMarshaller.java

示例12: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
    StatusMessageType message = (StatusMessageType)xmlObject;

    if(message.getValue() != null){
        XMLHelper.appendTextContent(domElement, message.getValue());
    }        
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:StatusMessageTypeMarshaller.java

示例13: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    GivenName name = (GivenName) samlObject;

    if (name.getName() != null) {
        XMLHelper.appendTextContent(domElement, name.getName());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:9,代码来源:GivenNameMarshaller.java

示例14: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject samlObject, Element domElement) throws MarshallingException {
    AssertionIDReference assertionIDReference = (AssertionIDReference) samlObject;
    if (assertionIDReference.getReference() != null) {
        XMLHelper.appendTextContent(domElement, assertionIDReference.getReference());
    }
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:8,代码来源:AssertionIDReferenceMarshaller.java

示例15: marshallElementContent

import org.opensaml.xml.util.XMLHelper; //导入方法依赖的package包/类
/** {@inheritDoc} */
protected void marshallElementContent(XMLObject xmlObject, Element domElement) throws MarshallingException {
    AttributedDateTime dateTime = (AttributedDateTime) xmlObject;
    XMLHelper.appendTextContent(domElement, dateTime.getValue());
}
 
开发者ID:lamsfoundation,项目名称:lams,代码行数:6,代码来源:AttributedDateTimeMarshaller.java


注:本文中的org.opensaml.xml.util.XMLHelper.appendTextContent方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。