use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class QNameLocalPartValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class QNameTextNodeValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class TextNodeValueBinding method init.
/**
* (non-Javadoc)
*
* @see org.eclipse.sapphire.modeling.PropertyBinding#init(org.eclipse.sapphire.
* modeling.Element, org.eclipse.sapphire.modeling.Property,
* java.lang.String[])
*/
@Override
public void init(Property property) {
super.init(property);
this.params = property.definition().getAnnotation(CustomXmlValueBinding.class).params();
this.path = new XmlPath(params[0], resource().getXmlNamespaceResolver());
}
use of org.eclipse.sapphire.modeling.xml.XmlPath in project liferay-ide by liferay.
the class CDATAValueBinding method init.
@Override
public void init(Property property) {
super.init(property);
final XmlBinding bindingAnnotation = property.definition().getAnnotation(XmlBinding.class);
this.path = new XmlPath(bindingAnnotation.path(), resource().getXmlNamespaceResolver());
}
Aggregations