com.altova.mapforce.MFComment Maven / Gradle / Ivy
/**
* MFElement.java
*
* This file was generated by MapForce 2017sp2.
*
* YOU SHOULD NOT MODIFY THIS FILE, BECAUSE IT WILL BE
* OVERWRITTEN WHEN YOU RE-RUN CODE GENERATION.
*
* Refer to the MapForce Documentation for further details.
* http://www.altova.com/mapforce
*/
package com.altova.mapforce;
import javax.xml.namespace.QName;
public class MFComment implements IMFNode
{
private String content;
public MFComment(String content)
{
this.content = content;
}
public int getNodeKind() { return MFNodeKind_Comment; }
public String getLocalName() { return ""; }
public String getNamespaceURI() { return ""; }
public String getPrefix() { return ""; }
public String getNodeName() { return "Comment"; }
public QName getQName() { return new QName("", ""); }
public IEnumerable select(int mfQueryKind, Object query) { return new MFSingletonSequence(content); }
public String value() throws Exception { return content; }
public QName qnameValue() { return null; }
public Object typedValue() throws Exception
{
return MFNode.collectTypedValue(select(IMFNode.MFQueryKind_AllChildren, null));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy