/** * <p> * getAugmentations * </p> * * @param arg0 * @return */ public Augmentations getAugmentations( int arg0 ) { return attrs.getAugmentations(arg0); } /**
/** * <p> * getAugmentations * </p> * * @param arg0 * @return */ public Augmentations getAugmentations( int arg0 ) { return attrs.getAugmentations(arg0); } /**
AttributePSVI getAttributePSVIByName(String uri, String localname) { if (fAttributes != null) { Augmentations augs = fAttributes.getAugmentations(uri, localname); if (augs != null) { return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI); } } return null; } }
/** * <p> * getAugmentations * </p> * * @param arg0 * @return */ public Augmentations getAugmentations( String qName ) { return attrs.getAugmentations(asNekoAttributeName(qName)) ; } /**
AttributePSVI getAttributePSVI(int index) { if (fAttributes != null) { Augmentations augs = fAttributes.getAugmentations(index); if (augs != null) { return (AttributePSVI) augs.getItem(Constants.ATTRIBUTE_PSVI); } } return null; }
public AttributePSVI getAttributePSVIByName(String uri, String localname){ return (AttributePSVI)fAttributesProxy.fAttributes.getAugmentations(uri, localname).getItem(Constants.ATTRIBUTE_PSVI); }
/** * <p> * getAugmentations * </p> * * @param arg0 * @return */ public Augmentations getAugmentations( String qName ) { return attrs.getAugmentations(asNekoAttributeName(qName)) ; } /**
/** * <p> * getAugmentations * </p> * * @param arg0 * @param arg1 * @return */ public Augmentations getAugmentations( String uri, String localPart ) { return attrs.getAugmentations(uri,asNekoAttributeName(localPart)); } /**
public boolean isDeclared(String qName) { int index = getIndex(qName); if (index == -1) { throw new IllegalArgumentException(qName); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
public boolean isDeclared(int index) { if (index < 0 || index >= fAttributes.getLength()) { throw new ArrayIndexOutOfBoundsException(index); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
public boolean isDeclared(int index) { if (index < 0 || index >= fAttributes.getLength()) { throw new ArrayIndexOutOfBoundsException(index); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
public boolean isDeclared(String uri, String localName) { int index = getIndex(uri, localName); if (index == -1) { throw new IllegalArgumentException(localName); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
public boolean isDeclared(String qName) { int index = getIndex(qName); if (index == -1) { throw new IllegalArgumentException(qName); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
public boolean isDeclared(String uri, String localName) { int index = getIndex(uri, localName); if (index == -1) { throw new IllegalArgumentException(localName); } return Boolean.TRUE.equals( fAttributes.getAugmentations(index).getItem( Constants.ATTRIBUTE_DECLARED)); }
private TypeInfo getAttributeType( int index ) { checkStateAttribute(); if (index < 0 || fAttributes.getLength() <= index) { throw new IndexOutOfBoundsException(Integer.toString(index)); } Augmentations augs = fAttributes.getAugmentations(index); if (augs == null) { return null; } AttributePSVI psvi = (AttributePSVI)augs.getItem(Constants.ATTRIBUTE_PSVI); return getTypeInfoFromPSVI(psvi); }
/** Adds location augmentations to the specified attribute. */ protected void addLocationItem(XMLAttributes attributes, int index) { fEndLineNumber = fCurrentEntity.lineNumber; fEndColumnNumber = fCurrentEntity.columnNumber; fEndCharacterOffset = fCurrentEntity.characterOffset; LocationItem locationItem = new LocationItem(); locationItem.setValues(fBeginLineNumber, fBeginColumnNumber, fBeginCharacterOffset, fEndLineNumber, fEndColumnNumber, fEndCharacterOffset); Augmentations augs = attributes.getAugmentations(index); augs.putItem(AUGMENTATIONS, locationItem); } // addLocationItem(XMLAttributes,int)
/** Adds location augmentations to the specified attribute. */ protected void addLocationItem(XMLAttributes attributes, int index) { fEndLineNumber = fCurrentEntity.getLineNumber(); fEndColumnNumber = fCurrentEntity.getColumnNumber(); fEndCharacterOffset = fCurrentEntity.getCharacterOffset(); LocationItem locationItem = new LocationItem(); locationItem.setValues(fBeginLineNumber, fBeginColumnNumber, fBeginCharacterOffset, fEndLineNumber, fEndColumnNumber, fEndCharacterOffset); Augmentations augs = attributes.getAugmentations(index); augs.putItem(AUGMENTATIONS, locationItem); } // addLocationItem(XMLAttributes,int)
/** Adds location augmentations to the specified attribute. */ protected void addLocationItem(XMLAttributes attributes, int index) { fEndLineNumber = fCurrentEntity.getLineNumber(); fEndColumnNumber = fCurrentEntity.getColumnNumber(); fEndCharacterOffset = fCurrentEntity.getCharacterOffset(); final LocationItem locationItem = new LocationItem(); locationItem.setValues(fBeginLineNumber, fBeginColumnNumber, fBeginCharacterOffset, fEndLineNumber, fEndColumnNumber, fEndCharacterOffset); final Augmentations augs = attributes.getAugmentations(index); augs.putItem(AUGMENTATIONS, locationItem); }
/** * Adds location augmentations to the specified attribute. */ protected void addLocationItem(XMLAttributes attributes, int index) { fEndLineNumber = fCurrentEntity.getLineNumber(); fEndColumnNumber = fCurrentEntity.getColumnNumber(); fEndCharacterOffset = fCurrentEntity.getCharacterOffset(); LocationItem locationItem = new LocationItem(); locationItem.setValues(fBeginLineNumber, fBeginColumnNumber, fBeginCharacterOffset, fEndLineNumber, fEndColumnNumber, fEndCharacterOffset); Augmentations augs = attributes.getAugmentations(index); augs.putItem(AUGMENTATIONS, locationItem); } // addLocationItem(XMLAttributes,int)
/** * Adds location augmentations to the specified attribute. */ protected void addLocationItem(XMLAttributes attributes, int index) { fEndLineNumber = fCurrentEntity.getLineNumber(); fEndColumnNumber = fCurrentEntity.getColumnNumber(); fEndCharacterOffset = fCurrentEntity.getCharacterOffset(); LocationItem locationItem = new LocationItem(); locationItem.setValues(fBeginLineNumber, fBeginColumnNumber, fBeginCharacterOffset, fEndLineNumber, fEndColumnNumber, fEndCharacterOffset); Augmentations augs = attributes.getAugmentations(index); augs.putItem(AUGMENTATIONS, locationItem); } // addLocationItem(XMLAttributes,int)