@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof TransformKey)) { return false; } TransformKey other = (TransformKey) obj; if (parent == null) { if (other.parent != null) { return false; } } else if (!parent.equals(other.parent)) { return false; } if (!key.equals(other.key)) { return false; } if (context == null) { if (other.context != null) { return false; } } else if (!context.equals(other.context)) { return false; } return true; }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof TransformKey)) { return false; } TransformKey other = (TransformKey) obj; if (parent == null) { if (other.parent != null) { return false; } } else if (!parent.equals(other.parent)) { return false; } if (!key.equals(other.key)) { return false; } if (context == null) { if (other.context != null) { return false; } } else if (!context.equals(other.context)) { return false; } return true; }
@Override public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof TransformKey)) { return false; } TransformKey other = (TransformKey) obj; if (parent == null) { if (other.parent != null) { return false; } } else if (!parent.equals(other.parent)) { return false; } if (!key.equals(other.key)) { return false; } if (context == null) { if (other.context != null) { return false; } } else if (!context.equals(other.context)) { return false; } return true; }
if (!key.equals(elementKey)) { try { element = createElement(key, element);
if (!key.equals(elementKey)) { try { element = createElement(key, element);
if (!key.equals(elementKey)) { try { element = createElement(key, element);
public void generate(Element element, ElementMetadata<?, ?> metadata) throws IOException { if (metadata != null && !metadata.getKey().equals(element.getElementKey())) { throw new IllegalStateException( "Element key (" + element.getElementKey() + ") does not match metadata key (" + metadata.getKey() + ")"); } try { element.visit(this, metadata); } catch (StoppedException se) { Throwable cause = se.getCause(); if (cause instanceof IOException) { throw (IOException) cause; } throw se; // unexpected } }
public void generate(Element element, ElementMetadata<?, ?> metadata) throws IOException { if (metadata != null && !metadata.getKey().equals(element.getElementKey())) { throw new IllegalStateException( "Element key (" + element.getElementKey() + ") does not match metadata key (" + metadata.getKey() + ")"); } try { element.visit(this, metadata); } catch (StoppedException se) { Throwable cause = se.getCause(); if (cause instanceof IOException) { throw (IOException) cause; } throw se; // unexpected } }
public void generate(Element element, ElementMetadata<?, ?> metadata) throws IOException { if (metadata != null && !metadata.getKey().equals(element.getElementKey())) { throw new IllegalStateException( "Element key (" + element.getElementKey() + ") does not match metadata key (" + metadata.getKey() + ")"); } try { element.visit(this, metadata); } catch (StoppedException se) { Throwable cause = se.getCause(); if (cause instanceof IOException) { throw (IOException) cause; } throw se; // unexpected } }
&& key.equals(source.getElementKey()) && key.getElementType().isInstance(source)) { return key.getElementType().cast(source);
&& key.equals(source.getElementKey()) && key.getElementType().isInstance(source)) { return key.getElementType().cast(source);
&& key.equals(source.getElementKey()) && key.getElementType().isInstance(source)) { return key.getElementType().cast(source);
if (!elem.getElementKey().equals(outputMetadata.getKey())) { outputMetadata = outputMetadata.getSchema().bind(elem.getElementKey(),
if (!elem.getElementKey().equals(outputMetadata.getKey())) { outputMetadata = outputMetadata.getSchema().bind(elem.getElementKey(),
if (!elem.getElementKey().equals(outputMetadata.getKey())) { outputMetadata = outputMetadata.getSchema().bind(elem.getElementKey(),
key.getElementType()); if (transformSourceKey.equals(elemKey)) { this.sourceKey = elemKey; } else {
key.getElementType()); if (transformSourceKey.equals(elemKey)) { this.sourceKey = elemKey; } else {
key.getElementType()); if (transformSourceKey.equals(elemKey)) { this.sourceKey = elemKey; } else {