package com.fasterxml.jackson.dataformat.xml.util;
public class XmlInfo
{
protected final String _namespace;
protected final boolean _isAttribute;
protected final boolean _isText;
protected final boolean _isCData;
public XmlInfo(Boolean isAttribute, String ns, Boolean isText, Boolean isCData)
{
_isAttribute = (isAttribute == null) ? false : isAttribute.booleanValue();
_namespace = (ns == null) ? "" : ns;
_isText = (isText == null) ? false : isText.booleanValue();
_isCData = (isCData == null) ? false : isCData.booleanValue();
}
public String getNamespace() { return _namespace; }
public boolean isAttribute() { return _isAttribute; }
public boolean isText() { return _isText; }
public boolean isCData() { return _isCData; }
}