private static PropertyIsNull parsePropertyIsNullOperator( XMLStreamReader xmlStream ) throws XMLStreamException { nextElement( xmlStream ); ValueReference propName = parsePropertyName( xmlStream ); nextElement( xmlStream ); return new PropertyIsNull( propName, null ); }
private static PropertyIsNull parsePropertyIsNullOperator( XMLStreamReader xmlStream ) throws XMLStreamException { nextElement( xmlStream ); ValueReference propName = parsePropertyName( xmlStream, false ); nextElement( xmlStream ); return new PropertyIsNull( propName, null ); }
private static PropertyIsNull parsePropertyIsNullOperator( XMLStreamReader xmlStream ) throws XMLStreamException { // this is a deegree extension over Filter 2.0.0 spec. (TODO should this be null, if not present?) MatchAction matchAction = null; String s = XMLStreamUtils.getAttributeValue( xmlStream, "matchAction" ); if ( s != null ) { matchAction = parseMatchAction( xmlStream, s ); } nextElement( xmlStream ); Expression value = parseExpression( xmlStream ); nextElement( xmlStream ); return new PropertyIsNull( value, matchAction ); }
return new PropertyIsNotEqualTo( exs[0], exs[1], o.isMatchCase(), o.getMatchAction() ); case PROPERTY_IS_NULL: return new PropertyIsNull( exs[0], o.getMatchAction() );
case PROPERTY_IS_NULL: PropertyIsNull pin = (PropertyIsNull) op; return new PropertyIsNull( copy( pin.getPropertyName() ), pin.getMatchAction() );